IDirectDrawPalette::Initialize
HRESULT Initialize(LPDIRECTDRAW lpDD, DWORD dwFlags,
LPPALETTEENTRY lpDDColorTable);
Initializes the DirectDrawPalette object.
·Returns DDERR_ALREADYINITIALIZED.
lpDD
Address of the DirectDraw structure that represents the DirectDraw object.
dwFlags
This parameter is not used at this time and must be set to 0.
lpDDColorTable
This parameter is not used at this time and must be set to 0.
This method is provided for compliance with the Component Object Model (COM) protocol. Since the DirectDrawPalette object is initialized when it is created, calling this method will always result in the DDERR_ALREADYINITIALIZED return value.