IDirect3DRMLight::SetEnableFrame

HRESULT SetEnableFrame(LPDIRECT3DRMFRAME lpEnableFrame);

Sets the enable frame for a light. The enable frame is the frame to which a light applies.

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

lpEnableFrame

Address of the light's enable frame. Child frames of this frame are also enabled for this light source.