IBrowserFrameOptions::GetFrameOptions method (shobjidl_core.h)

Retrieves the available browser frame view options.

Syntax

HRESULT GetFrameOptions(
  [in]  BROWSERFRAMEOPTIONS dwMask,
  [out] BROWSERFRAMEOPTIONS *pdwOptions
);

Parameters

[in] dwMask

Type: BROWSERFRAMEOPTIONS

Specifies the options requested as a bitwise combination of one or more of the constants of enumeration type BROWSERFRAMEOPTIONS.

[out] pdwOptions

Type: BROWSERFRAMEOPTIONS*

When this method returns, contains the options that the view can enable (for example, IShellView ). This value is not optional and is always equal to, or a subset of, the options specified by dwMask.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If the method succeeds, the return value is S_OK and pdwOptions contains the subset of available view options. If the method fails, pdwOptions is set to BFO_NONE.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)