Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves palette entries.
Syntax
HRESULT GetPaletteEntries(
[in] UINT PaletteNumber,
[in, out] PALETTEENTRY *pEntries
);
Parameters
[in] PaletteNumber
Type: UINT
An ordinal value identifying the particular palette to retrieve.
[in, out] pEntries
Type: PALETTEENTRY*
Pointer to a PALETTEENTRY structure, representing the returned palette entries.
Return value
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Remarks
For more information about PALETTEENTRY, see the Platform SDK.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9helper.h (include D3D9.h) |
Library | D3D9.lib |
See also
IDirect3DDevice9::GetCurrentTexturePalette
IDirect3DDevice9::SetCurrentTexturePalette