IFolderViewOptions::SetFolderViewOptions method (shobjidl.h)

Sets specified options for the view.

Syntax

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

Parameters

[in] fvoMask

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.

[in] fvoFlags

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

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl.h
DLL ExplorerFrame.dll