1 /* 2 * PROJECT: ReactOS Kernel - Vista+ APIs 3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) 4 * PURPOSE: Po functions of Vista+ 5 * COPYRIGHT: 2020 Victor Perevertkin (victor.perevertkin@reactos.org) 6 */ 7 8 #include <ntdef.h> 9 #include <ntifs.h> 10 11 NTKRNLVISTAAPI 12 NTSTATUS 13 NTAPI 14 PoRegisterPowerSettingCallback( 15 _In_opt_ PDEVICE_OBJECT DeviceObject, 16 _In_ LPCGUID SettingGuid, 17 _In_ PPOWER_SETTING_CALLBACK Callback, 18 _In_opt_ PVOID Context, 19 _Outptr_opt_ PVOID *Handle) 20 { 21 return STATUS_NOT_IMPLEMENTED; 22 } 23 24 _IRQL_requires_max_(APC_LEVEL) 25 NTKRNLVISTAAPI 26 NTSTATUS 27 NTAPI 28 PoUnregisterPowerSettingCallback( 29 _Inout_ PVOID Handle) 30 { 31 return STATUS_NOT_IMPLEMENTED; 32 } 33 34 _IRQL_requires_max_(DISPATCH_LEVEL) 35 NTKRNLVISTAAPI 36 BOOLEAN 37 NTAPI 38 PoQueryWatchdogTime( 39 _In_ PDEVICE_OBJECT Pdo, 40 _Out_ PULONG SecondsRemaining) 41 { 42 return FALSE; 43 } 44 45 _IRQL_requires_max_(DISPATCH_LEVEL) 46 NTKRNLVISTAAPI 47 VOID 48 NTAPI 49 PoSetSystemWake( 50 _Inout_ struct _IRP *Irp) 51 { 52 53 } 54 55 _IRQL_requires_max_(DISPATCH_LEVEL) 56 NTKRNLVISTAAPI 57 BOOLEAN 58 NTAPI 59 PoGetSystemWake( 60 _In_ struct _IRP *Irp) 61 { 62 return FALSE; 63 } 64