Microsoft DirectX 9.0

IDirectDraw::Initialize

The Initialize method initializes the DirectDraw object. This method is provided for compliance with the Common Object Model (COM) protocol. Since the DirectDraw object is initialized when it is created, calling this method will always result in the ALREADYINITIALIZED return value.

Syntax

HRESULT Initialize(
  GUID FAR *lpGUID
  );

Parameters

lpGUID

Points to the GUID used as the interface identifier.

Return Values

Value Description
DDERR_ALREADYINITIALIZED This object is already initialized.

See Also