Windows Dev Center

IBrowserFrameOptions::GetFrameOptions method

Retrieves the available browser frame view options.

Syntax


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

Parameters

dwMask [in]

Type: BROWSERFRAMEOPTIONS

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

pdwOptions [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft