IFolderView2::SetCurrentFolderFlags method
Sets and applies specified folder flags.
Syntax
HRESULT SetCurrentFolderFlags( [in] DWORD dwMask, [in] DWORD dwFlags );
Parameters
- dwMask [in]
-
Type: DWORD
The value of type DWORD that specifies the bitmask indicating which items in the structure are desired or valid.
- dwFlags [in]
-
Type: DWORD
The value of type DWORD that contains one or more FOLDERFLAGS.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
For Windows 7 or later: This method must be used in combinaton with the FVO_CUSTOMPOSITION flag from the FOLDERVIEWOPTIONS enumeration.
Requirements
|
Minimum supported client |
Windows Vista, Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: