Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SHGetSetSettings
Collapse the table of content
Expand the table of content

SHGetSetSettings function

[SHGetSetSettings is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Sets or retrieves Shell state settings.

Syntax


void SHGetSetSettings(
  _Inout_ LPSHELLSTATE lpss,
  _In_    DWORD        dwMask,
  _In_    BOOL         bSet
);

Parameters

lpss [in, out]

Type: LPSHELLSTATE

A pointer to a SHELLSTATE structure that provides or receives the Shell state settings.

dwMask [in]

Type: DWORD

One or more of the SSF flags that indicate which settings should be set or retrieved.

bSet [in]

Type: BOOL

TRUE to indicate that the contents of lpss should be used to set the Shell settings, FALSE to indicate that the Shell settings should be retrieved to lpss.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

See also

SHGetSettings

 

 

Community Additions

ADD
Show:
© 2015 Microsoft