Expand Minimize

SHGetSettings function

Retrieves the current Shell option settings.

Syntax


void SHGetSettings(
  LPSHELLFLAGSTATE lpsfs,
  DWORD dwMask
);

Parameters

lpsfs

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

This function does not return a value.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 4.71 or later)

See also

SHGetSetSettings

 

 

Community Additions

ADD
Show:
© 2014 Microsoft