Microsoft DirectX 8.1 (C++)

IEnumPIDMap::Next

The Next method retrieves the next n elements in the collection.

Syntax

HRESULT Next(
  ULONG cRequest,
  PID_MAP* pPIDMap,
  ULONG* pcReceived
);

Parameters

cRequest

[in] The number of elements to retrieve.

pPIDMap

[in, out, size_is (cRequest)] Address of a caller-allocated array containing cRequest elements that will receive the retrieved PID_MAP structures.

pcReceived

[out] Pointer to a variable of type ULONG that receives the number of elements actually retrieved.

Return Value

Returns S_OK if successful. If the method fails,an HRESULT error code is returned.

Return Value

If cRequest> = 0 and pcReceived is not NULL, upon return pcReceived contains the number of PID maps remaining in the collection.

See Also