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(
  LPSHELLSTATE lpss,
  DWORD        dwMask,
  BOOL         bSet
);

Parameters

lpss

Type: LPSHELLSTATE

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

dwMask

Type: DWORD

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

bSet

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]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 5.0 or later)

See Also

SHGetSettings