IBrowserService::GetPalette method (shdeprecated.h)

Deprecated. Retrieves the browser's palette.

Syntax

HRESULT GetPalette(
  HPALETTE *hpal
);

Parameters

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

   
Target Platform Windows
Header shdeprecated.h