Funktionreferenz


_WinAPI_ShellGetSettings


Retrieves Shell state settings

#include <WinAPIShellEx.au3>
_WinAPI_ShellGetSettings ( $iFlags )

Parameter

$iFlags The flags that indicate which settings should be retrieved. This parameter can be one or
more of the following values (use ONLY this flags).
$SSF_DESKTOPHTML
$SSF_DONTPRETTYPATH
$SSF_DOUBLECLICKINWEBVIEW
$SSF_HIDEICONS
$SSF_MAPNETDRVBUTTON
$SSF_NOCONFIRMRECYCLE
$SSF_NONETCRAWLING
$SSF_SEPPROCESS
$SSF_SHOWALLOBJECTS
$SSF_SHOWCOMPCOLOR
$SSF_SHOWEXTENSIONS
$SSF_SHOWINFOTIP
$SSF_SHOWSUPERHIDDEN
$SSF_SHOWSYSFILES
$SSF_STARTPANELON
$SSF_WIN95CLASSIC
$SSF_WEBVIEW

Windows Vista or later
$SSF_AUTOCHECKSELECT
$SSF_ICONSONLY
$SSF_SHOWTYPEOVERLAY

Rückgabewert

Returns the value that contains a combination of flags specified in the $iFlags parameter. If flag is set,
    appropriate setting is enabled, otherwise disabled. The function checks only flags that were
    specified in the $iFlags parameter.

Bemerkungen

None.

Siehe auch

Suche nach SHGetSetSettings in der MSDN Bibliothek.

Beispiel

#include <APIShellExConstants.au3>
#include <WinAPIShellEx.au3>

_WinAPI_ShellSetSettings($SSF_SHOWEXTENSIONS, Not _WinAPI_ShellGetSettings($SSF_SHOWEXTENSIONS))

ConsoleWrite('Dateierweiterung für bekannte Dateitypen nicht anzeigen: ' & (Not _WinAPI_ShellGetSettings($SSF_SHOWEXTENSIONS)) & @CRLF)