436{
437#if 0
444#endif
445 ULONG HardErrorResponse;
447
451
453
454
457
458
460
462 {
463 ERR(
"WL: Could not register logon process\n");
466 }
467
470 {
471 ERR(
"WL: Could not allocate memory for winlogon instance\n");
474 }
475
478
479
481
483 {
484 ERR(
"WL: Could not create window station and desktops\n");
487 }
488
490
491
493 {
494 ERR(
"WL: Could not preload keyboard layouts\n");
497 }
498
500 {
501 ERR(
"WL: Could not start the RPC server\n");
504 }
505
507 {
508 ERR(
"WL: Could not start services.exe\n");
511 }
512
514 {
515 ERR(
"WL: Failed to start lsass.exe service (error %lu)\n",
GetLastError());
518 }
519
520
522
523
525
526
528 {
529 ERR(
"WL: Failed to initialize Gina\n");
530
531
535 }
536
538
539#if 0
540
541
545 {
546
549 {
551 return 1;
552 }
553
555 }
556
558 {
560 return 1;
561 }
562
566 {
569 return 1;
570 }
571#endif
572
574
575
577 {
578 ERR(
"WL: Failed to initialize SAS\n");
580 }
581
582
583
584
585
588
589
591 {
592
593 TRACE(
"WL: Setup mode detected\n");
595 }
596 else
597 {
599 }
600
602
603
604
606
607
609 {
612 }
613
615
616
617
618 return 0;
619}
DWORD StartRpcServer(VOID)
BOOL InitNotifications(VOID)
VOID CallNotificationDlls(PWLSESSION pSession, NOTIFICATION_TYPE Type)
VOID CleanupNotifications(VOID)
#define IDD_GINALOADFAILED
#define IDS_REACTOSISSTARTINGUP
#define NT_SUCCESS(StatCode)
ULONG AuthenticationPackage
ULONG WINAPI LsaNtStatusToWinError(IN NTSTATUS Status)
VOID WINAPI ExitProcess(IN UINT uExitCode)
NTSTATUS NTAPI NtRaiseHardError(IN NTSTATUS ErrorStatus, IN ULONG NumberOfParameters, IN ULONG UnicodeStringParameterMask, IN PULONG_PTR Parameters, IN ULONG ValidResponseOptions, OUT PULONG Response)
#define CM_BOOT_FLAG_ACCEPTED
NTSYSAPI NTSTATUS __cdecl RtlSetThreadIsCritical(_In_ BOOLEAN NewValue, _Out_opt_ PBOOLEAN OldValue, _In_ BOOLEAN NeedBreaks)
NTSYSAPI NTSTATUS NTAPI RtlAdjustPrivilege(_In_ ULONG Privilege, _In_ BOOLEAN NewValue, _In_ BOOLEAN ForThread, _Out_ PBOOLEAN OldValue)
NTSYSAPI NTSTATUS __cdecl RtlSetProcessIsCritical(_In_ BOOLEAN NewValue, _Out_opt_ PBOOLEAN OldValue, _In_ BOOLEAN NeedBreaks)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSTATUS NTAPI NtInitializeRegistry(IN USHORT Flag)
#define UNREFERENCED_PARAMETER(P)
#define MICROSOFT_KERBEROS_NAME_W
NTSTATUS NTAPI LsaLookupAuthenticationPackage(HANDLE, PLSA_STRING, PULONG)
ULONG LSA_OPERATIONAL_MODE
NTSTATUS NTAPI LsaDeregisterLogonProcess(HANDLE)
NTSTATUS NTAPI LsaRegisterLogonProcess(PLSA_STRING, PHANDLE, PLSA_OPERATIONAL_MODE)
#define STATUS_PORT_CONNECTION_REFUSED
#define STATUS_SYSTEM_PROCESS_TERMINATED
NTSTATUS HandleShutdown(IN OUT PWLSESSION Session, IN DWORD wlxAction)
BOOL InitializeSAS(IN OUT PWLSESSION Session)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetCurrentProcessId(void)
BOOL DisplayStatusMessage(IN PWLSESSION Session, IN HDESK hDesktop, IN UINT ResourceId)
static BOOL InitKeyboardLayouts(VOID)
static BOOL StartLsass(VOID)
static INT_PTR CALLBACK GinaLoadFailedWindowProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)
static BOOL StartServicesManager(VOID)
static VOID UpdateTcpIpInformation(VOID)
BOOL RemoveStatusMessage(IN PWLSESSION Session)
static VOID WaitForLsass(VOID)
#define LockWorkstation(Session)
BOOL GinaInit(IN OUT PWLSESSION Session)
struct _WLSESSION * PWLSESSION
VOID InitDialogListHead(VOID)
struct _WLSESSION WLSESSION
BOOL CreateWindowStationAndDesktops(_Inout_ PWLSESSION Session)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetDesktopWindow(void)
BOOL WINAPI RegisterLogonProcess(DWORD, BOOL)
LRESULT WINAPI DispatchMessageW(_In_ const MSG *)
#define WLX_SAS_TYPE_CTRL_ALT_DEL
#define WLX_SAS_ACTION_SHUTDOWN_REBOOT