Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.