Microsoft DirectX 9.0

IEnumGuideDataProperties::Next

The Next method retrieves the specified number of items in the enumeration sequence.

Syntax

HRESULT Next(
  unsigned long celt,
  IGuideDataProperty **ppProp,
  unsigned long *pcelt
);

Parameters

celt

[in]  Specifies the number of items to retrieve.

ppProp

[out]  Address of an array of size celt, allocated by the caller. The array is filled with IGuideDataProperty interface pointers.

pcelt

[out]  Pointer to a variable that receives the number of items received.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Return code Description
S_OK The method succeeded.
S_FALSE The collection is at the end of the enumeration sequence.
E_POINTER NULL pointer argument.

See Also