IDirectDrawPalette::Initialize method (ddraw.h)
Initializes the DirectDrawPalette object.
Syntax
HRESULT Initialize(
[in] LPDIRECTDRAW unnamedParam1,
[in] DWORD unnamedParam2,
[out] LPPALETTEENTRY unnamedParam3
);
Parameters
[in] unnamedParam1
A pointer to the DirectDraw object to associate with the DirectDrawPalette object.
[in] unnamedParam2
Currently not used and must be set to 0.
[out] unnamedParam3
Currently not used and must be set to NULL.
Return value
This method returns DDERR_ALREADYINITIALIZED.
This method is provided for compliance with the Component Object Model (COM). Because the DirectDrawPalette object is initialized when it is created, this method always returns DDERR_ALREADYINITIALIZED.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | ddraw.h |
Library | Ddraw.lib |
DLL | Ddraw.dll |