IDirect3DRMViewportArray::GetElement

HRESULT GetElement(DWORD index, LPDIRECT3DRMVIEWPORT * lplpD3DRMViewport);

Retrieves a specified element in a Direct3DRMViewportArray object.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

index

Element in the array.

lplpD3DRMViewport

Address that will be filled with a pointer to an IDirect3DRMViewport interface.