Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IEnumPIDMap::Next method

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

Syntax


HRESULT Next(
  [in]       ULONG cRequest,
  [in, out]  PID_MAP *pPIDMap,
  [out]      ULONG *pcReceived
);

Parameters

cRequest [in]

The number of elements to retrieve.

pPIDMap [in, out]

Address of an array allocated by the caller, containing cRequest elements. The array is filled with PID_MAP structures that describe the PID mapping.

pcReceived [out]

Pointer to a variable that receives the number of elements actually retrieved. This parameter cannot be NULL. If cRequest equals zero, this parameter receives the total number of items in the collection.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
E_INVALIDARG

Invalid argument; pPidMap and pcReceived cannot be NULL.

S_FALSE

Reached the end of the collection.

S_OK

Success.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Bdaiface.h

Library

Strmiids.lib

See also

Error and Success Codes
IEnumPIDMap Interface

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.