HRESULT GetLights(LPDIRECT3DRMLIGHTARRAY* lplpLights);
Retrieves a list of lights in the frame in the form of a Direct3DRMLightArray object.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lplpLights
Address of a pointer to be initialized with a valid Direct3DRMLightArray pointer if the call succeeds.