IDirect3DExecuteBuffer::Initialize

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

HRESULT Initialize(
  LPDIRECT3DDEVICE lpDirect3DDevice,  
  LPD3DEXECUTEBUFFERDESC lpDesc       
);
 

Parameters

lpDirect3DDevice
Address of the device representing the Direct3D object.
lpDesc
Address of a D3DEXECUTEBUFFERDESC structure that describes the Direct3DExecuteBuffer object to be created. The call fails if a buffer of at least the specified size cannot be created.

Return Values

The method returns DDERR_ALREADYINITIALIZED because the Direct3DExecuteBuffer 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.