IDirect3DLight::Initialize

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

HRESULT Initialize(
  LPDIRECT3D lpDirect3D  
);
 

Parameters

lpDirect3D
Address of the IDirect3D interface for the Direct3D object.

Return Values

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

QuickInfo

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in ddraw.h.
  Import Library: Use ddraw.lib.