Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets and applies specified folder flags.
HRESULT SetCurrentFolderFlags(
[in] DWORD dwMask,
[in] DWORD dwFlags
);
[in] dwMask
Type: DWORD
The value of type DWORD that specifies the bitmask indicating which items in the structure are desired or valid.
[in] dwFlags
Type: DWORD
The value of type DWORD that contains one or more FOLDERFLAGS.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
For Windows 7 or later: This method must be used in combination with the FVO_CUSTOMPOSITION flag from the FOLDERVIEWOPTIONS enumeration.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |