ICommDlgBrowser2::GetViewFlags method
Called when the view must determine if special customization needs to be made for the common dialog browser.
Syntax
HRESULT GetViewFlags( DWORD *pdwFlags );
Parameters
- pdwFlags
-
Type: DWORD*
A pointer to a DWORD value that controls the behavior of the view when in common dialog mode.
-
0x00000001. All files, including hidden and system files, should be shown. In Windows XP, this is the only recognized flag.
-
0x00000002. This browser is designated to choose a file to save.
-
0x00000004. Not used.
-
0x00000008. Do not show a "
select" verb on an item's context menu. -
0x00000010. IncludeObject should not be called.
-
0x00000020. This browser is designated to pick folders.
-
0x00000040. Windows 7 and later. Displays a UAC shield on the selected item when CDB2GVF_NOSELECTVERB is not specified.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also