Microsoft DirectX 9.0

IDirectDrawPalette::Initialize

The Initialize method is provided for compliance with COM. Because the DirectDrawPalette object is initialized when it is created, this method always returns DDERR_ALREADYINITIALIZED.

Syntax

HRESULT Initialize(
  LPDIRECTDRAW lpDD
  DWORD dwFlags,
  LPPALETTEENTRY lpDDColorTable
  );

Parameters

lpDD

Points to the IDirectDraw interface of the DirectDraw object.

dwFlags

Not used.

lpDDColorTable

Not used.

Return Values

Value Description
DD_OK The method succeeded.
DDERR_ALREADYINITIALIZED This object is already initialized.

See Also