IdmaListOfId

This interface provides methods for handling lists that contain DMA identifiers

This interface offers all the methods of the IdmaList interface, as well as those listed below.

IdmaListOfId::GetId

This method must be supported in every implementation of this interface.

Syntax
DmaRC IdmaListOfId::GetId (
DmaIndex32 iIndex,
pDmaId pValue)

Parameters

Name

Mode

Description

iIndex

input

The ordinal position in the list of the value of interest.

pValue

output

Pointer to client allocated storage which the method will populate with the value at iIndex in the list.

Description

This function will return the value that resides in the iIndex-th position in the list.

Valid values for iIndex are 0 through n-1, where n is the number of elements in the list at the time of the call.

Return Values

Name

Description

DMARC_BAD_INDEX

The index specified does not reference a valid property or list element.

DMARC_BAD_PARAMETER

(E_INVALIDARG) Invalid input parameter.

DMARC_OK

(S_OK) Success.