64 if (ShutDownWaitEntry ==
NULL)
182 DPRINT(
"It's the final countdown...%lx\n", SystemAction);
189 switch (SystemAction)
255 DPRINT(
"HAL shutting down\n");
262 DPRINT(
"I/O manager shutting down in phase 0\n");
266 DPRINT(
"Configuration Manager shutting down\n");
270 DPRINT(
"Executive shutting down\n");
281 DPRINT(
"I/O manager shutting down in phase 1\n");
293 DPRINT(
"Disabling wake timers\n");
297 DPRINT(
"Taking the system down\n");
315 L"\\Registry\\Machine\\Software\\Policies\\Microsoft\\Windows NT");
VOID NTAPI DisplayShutdownBitmap(VOID)
VOID NTAPI DisplayShutdownText(VOID)
VOID NTAPI CcShutdownSystem(VOID)
VOID NTAPI CmShutdownSystem(VOID)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define NT_SUCCESS(StatCode)
#define InsertTailList(ListHead, Entry)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define IsListEmpty(ListHead)
#define PsGetCurrentThread()
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
#define KeSetEvent(pEvt, foo, foo2)
#define RemoveHeadList(ListHead)
#define InitializeListHead(ListHead)
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
VOID FASTCALL KeInitializeGuardedMutex(OUT PKGUARDED_MUTEX GuardedMutex)
VOID FASTCALL KeReleaseGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
VOID FASTCALL KeAcquireGuardedMutex(IN PKGUARDED_MUTEX GuardedMutex)
VOID NTAPI HalReturnToFirmware(_In_ FIRMWARE_REENTRY Action)
VOID NTAPI InbvAcquireDisplayOwnership(VOID)
BOOLEAN NTAPI InbvCheckDisplayOwnership(VOID)
BOOLEAN NTAPI InbvResetDisplay(VOID)
BOOLEAN NTAPI InbvIsBootDriverInstalled(VOID)
#define OBJ_KERNEL_HANDLE
#define OBJ_CASE_INSENSITIVE
void __cdecl _disable(void)
NTSTATUS NTAPI CcWaitForCurrentLazyWriterActivity(VOID)
#define ExFreePoolWithTag(_P, _T)
#define InitializeObjectAttributes(p, n, a, r, s)
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
NTSYSAPI NTSTATUS NTAPI ZwClose(_In_ HANDLE Handle)
VOID NTAPI DbgUnLoadImageSymbols(_In_ PSTRING Name, _In_ PVOID Base, _In_ ULONG_PTR ProcessId)
@ KeyValuePartialInformation
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
struct _KEY_VALUE_PARTIAL_INFORMATION KEY_VALUE_PARTIAL_INFORMATION
_In_ ULONG _In_ ULONG _In_ ULONG Length
VOID NTAPI ExShutdownSystem(VOID)
VOID NTAPI IoShutdownSystem(IN ULONG Phase)
VOID MmShutdownSystem(IN ULONG Phase)
@ PowerActionShutdownReset
#define STATUS_SYSTEM_SHUTDOWN
NTSTATUS NTAPI PopSetSystemPowerState(SYSTEM_POWER_STATE PowerState, POWER_ACTION PowerAction)
POP_POWER_ACTION PopAction
VOID NTAPI PopInitShutdownList(VOID)
VOID NTAPI PopReadShutdownPolicy(VOID)
VOID NTAPI PopProcessShutDownLists(VOID)
NTSTATUS NTAPI PoQueueShutdownWorkItem(_In_ PWORK_QUEUE_ITEM WorkItem)
ULONG PopShutdownPowerOffPolicy
VOID NTAPI PopShutdownSystem(IN POWER_ACTION SystemAction)
VOID NTAPI PopShutdownHandler(VOID)
NTSTATUS NTAPI PoRequestShutdownEvent(OUT PVOID *Event)
NTSTATUS NTAPI PoRequestShutdownWait(_In_ PETHREAD Thread)
KGUARDED_MUTEX PopShutdownListMutex
BOOLEAN PopShutdownListAvailable
LIST_ENTRY PopShutdownQueue
PPOP_SHUTDOWN_WAIT_ENTRY PopShutdownThreadList
VOID NTAPI PopGracefulShutdown(IN PVOID Context)
VOID NTAPI ApphelpCacheShutdown(VOID)
PEPROCESS NTAPI PsGetNextProcess(IN PEPROCESS OldProcess OPTIONAL)
PEPROCESS PsInitialSystemProcess
VOID NTAPI KeBugCheckEx(_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
struct _POP_SHUTDOWN_WAIT_ENTRY * NextEntry
VOID NTAPI KeSetSystemAffinityThread(IN KAFFINITY Affinity)
#define CONTAINING_RECORD(address, type, field)
#define STATUS_UNSUCCESSFUL
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_Must_inspect_result_ _In_ WDFCMRESLIST List
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem
#define ObDereferenceObject
#define ObReferenceObject