IDirect3DRMDevice::GetViewports

HRESULT GetViewports(LPDIRECT3DRMVIEWPORTARRAY* lplpViewports);

Constructs a Direct3DRMViewportArray object that represents the viewports currently constructed from the device.

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

lplpViewports

Address of a pointer that is initialized with a valid Direct3DRMViewportArray object if the call succeeds.