Shell32SHGetSetSettings Method
Sets or retrieves Shell state settings.
This function may be altered or unavailable in subsequent Windows versions.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", SetLastError = true)]
public static void SHGetSetSettings(
out ShellState refState,
ShellStateFlags mask,
bool applyState
)
<DllImportAttribute("Shell32.dll", SetLastError := true>]
Public Shared Sub SHGetSetSettings (
<OutAttribute> ByRef refState As ShellState,
mask As ShellStateFlags,
applyState As Boolean
)
Dim refState As ShellState
Dim mask As ShellStateFlags
Dim applyState As Boolean
Shell32.SHGetSetSettings(refState,
mask, applyState)
public:
[DllImportAttribute(L"Shell32.dll", SetLastError = true)]
static void SHGetSetSettings(
[InAttribute] [OutAttribute] ShellState% refState,
ShellStateFlags mask,
bool applyState
)
[<DllImportAttribute("Shell32.dll", SetLastError = true)>]
static member SHGetSetSettings :
refState : ShellState byref *
mask : ShellStateFlags *
applyState : bool -> unit
No code example is currently available or this language may not be supported.
Parameters
- refState ShellState
-
A pointer to a ShellState structure that provides or receives the Shell state settings.
- mask ShellStateFlags
-
One or more of the SSF flags that indicate which settings should be set or retrieved.
- applyState Boolean
- to indicate that the contents of lpss should be used to set the Shell settings,
to indicate that the Shell settings should be retrieved to lpss.