IFolderViewOptions::SetFolderViewOptions method

Sets specified options for the view.

Syntax


HRESULT SetFolderViewOptions(
  [in] FOLDERVIEWOPTIONS fvoMask,
  [in] FOLDERVIEWOPTIONS fvoFlags
);

Parameters

fvoMask [in]

Type: FOLDERVIEWOPTIONS

A bitmask made up of one or more of the FOLDERVIEWOPTIONS flags to indicate which options' are being changed. Values in fvoFlags not included in this mask are ignored.

fvoFlags [in]

Type: FOLDERVIEWOPTIONS

A bitmask that contains the new values for the options specified in fvoMask. To enable an option, the bitmask should include the FOLDERVIEWOPTIONS flag for that option. To disable an option, the bit used for that FOLDERVIEWOPTIONS flag should be 0.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

ExplorerFrame.dll

 

 

Show: