IBrowserService::GetPalette method (shdeprecated.h)

Deprecated. Retrieves the browser's palette.

Syntax

HRESULT GetPalette(
  [out] HPALETTE *hpal
);

Parameters

[out] hpal

Type: HPALETTE*

A pointer to the browser's palette handle, if one exists.

Return value

Type: HRESULT

Returns S_OK if successful, or E_FAIL if there is no palette.

Remarks

The calling application should not call DeleteObject on the palette handle retrieved in hpal.

Requirements

Requirement Value
Target Platform Windows
Header shdeprecated.h