diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/windows/gina/winlogon/setup.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/windows/gina/winlogon/setup.h')
-rw-r--r-- | private/windows/gina/winlogon/setup.h | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/private/windows/gina/winlogon/setup.h b/private/windows/gina/winlogon/setup.h new file mode 100644 index 000000000..a13379c8d --- /dev/null +++ b/private/windows/gina/winlogon/setup.h @@ -0,0 +1,102 @@ +/*++ + +Copyright (c) 1992 Microsoft Corporation + +Module Name: + + setuplgn.h + +Abstract: + + Private header file for the special version of winlogon for Setup. + +Author: + + Ted Miller (tedm) 4-May-1992 + +Revision History: + +--*/ + +// +// Scalars and functions to test and set the "SetupType" value item +// + +#define SETUPTYPE_NONE 0 +#define SETUPTYPE_FULL 1 +#define SETUPTYPE_NETIDW 2 +#ifdef INIT_REGISTRY +#define SETUPTYPE_NETSRW 3 +#endif +#define SETUPTYPE_UPGRADE 4 + +#define APPNAME_WINLOGON TEXT("Winlogon") +#define VARNAME_SETUPTYPE TEXT("SetupType") +#define VARNAME_SETUPTYPE_A "SetupType" +#define VARNAME_SETUPCMD TEXT("Cmdline") +#define VARNAME_SETUPCMD_A "Cmdline" +#define VARNAME_AUTOLOGON TEXT("AutoAdminLogon") +#define VARNAME_ENABLEQUICKREBOOT TEXT("EnableQuickReboot") +#define VARNAME_ENABLEDESKTOPSWITCHING TEXT("EnableDesktopSwitching") +#define VARNAME_SHELL TEXT("Shell") +#define VARNAME_SETUPINPROGRESS TEXT("SystemSetupInProgress") +#define VARNAME_SETUPINPROGRESS_A "SystemSetupInProgress" +#define KEYNAME_SETUP TEXT("\\Registry\\Machine\\System\\Setup") +#define REGNAME_SETUP TEXT("SYSTEM\\setup") + +DWORD +CheckSetupType ( + VOID + ); + +BOOL +SetSetupType ( + DWORD type + ); + +BOOL +AppendToSetupCommandLine( + LPSTR pszCommandArguments + ); + +// +// Function to execute setup.exe and wait for it to complete. +// + +VOID +ExecuteSetup( + PGLOBALS pGlobals + ); + + +// +// Handle to the event used by lsa to stall security initialization. +// + +HANDLE LsaStallEvent; + + +// +// Function to create an event used by LSA to stall security initialization. +// + +VOID +CreateLsaStallEvent( + VOID + ); + + + +VOID +CheckForIncompleteSetup ( + PGLOBALS pGlobals + ); + + +typedef +VOID (WINAPI * REPAIRSTARTMENUITEMS)( + VOID + ); + +VOID +CheckForRepairRequest (void); |