SHGetSettings function

Retrieves the current Shell option settings.

Syntax

void SHGetSettings(
  SHELLFLAGSTATE *psfs,
  DWORD          dwMask
);

Parameters

psfs

TBD

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

This function does not return a value.

Requirements

   
Windows version Windows 2000 Professional, Windows XP [desktop apps only] 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)

See Also

SHGetSetSettings