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.
Retrieves the current Shell option settings.
Syntax
void SHGetSettings(
SHELLFLAGSTATE *psfs,
DWORD dwMask
);
Parameters
psfs
Type: LPSHELLFLAGSTATE
The address of a SHELLFLAGSTATE structure that receives the Shell option settings.
dwMask
Type: DWORD
A set of flags that determine which members of lpsfs are being requested. This can be one or more of the following values.
SSF_DESKTOPHTML
The fDesktopHTML member is being requested.
SSF_DONTPRETTYPATH
The fDontPrettyPath member is being requested.
SSF_DOUBLECLICKINWEBVIEW
The fDoubleClickInWebView member is being requested.
SSF_HIDEICONS
The fHideIcons member is being requested.
SSF_MAPNETDRVBUTTON
The fMapNetDrvBtn member is being requested.
SSF_NOCONFIRMRECYCLE
The fNoConfirmRecycle member is being requested.
SSF_SHOWALLOBJECTS
The fShowAllObjects member is being requested.
SSF_SHOWATTRIBCOL
The fShowAttribCol member is being requested.
Windows Vista: Not used.
SSF_SHOWCOMPCOLOR
The fShowCompColor member is being requested.
SSF_SHOWEXTENSIONS
The fShowExtensions member is being requested.
SSF_SHOWINFOTIP
The fShowInfoTip member is being requested.
SSF_SHOWSYSFILES
The fShowSysFiles member is being requested.
SSF_WIN95CLASSIC
The fWin95Classic member is being requested.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h (include Shlobj.h) |
Library | Shell32.lib |
DLL | Shell32.dll (version 4.71 or later) |