IDirect3DLight::Initialize

The IDirect3DLight::Initialize method is provided for compliance with the COM protocol.

HRESULT Initialize(
  LPDIRECT3D lpDirect3D  
);
 

Parameters

lpDirect3D
Address of the Direct3D structure representing the Direct3D object.

Return Values

The method returns DDERR_ALREADYINITIALIZED because the Direct3DLight object is initialized when it is created.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in ddraw.h.
  Import Library: Use ddraw.lib.