IDirect3DRMFrame::AddLight

HRESULT AddLight(LPDIRECT3DRMLIGHT lpD3DRMLight);

Adds a light to a frame.

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

lpD3DRMLight

Address of a variable that represents the Direct3DRMLight object to be added to the frame.