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: 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.