ReactOS  0.4.15-dev-1201-gb2cf5a4
po.c
Go to the documentation of this file.
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 
13 NTAPI
20 {
22 }
23 
27 NTAPI
28 PoUnregisterPowerSettingCallback(
30 {
32 }
33 
36 BOOLEAN
37 NTAPI
38 PoQueryWatchdogTime(
41 {
42  return FALSE;
43 }
44 
47 VOID
48 NTAPI
49 PoSetSystemWake(
50  _Inout_ struct _IRP *Irp)
51 {
52 
53 }
54 
57 BOOLEAN
58 NTAPI
59 PoGetSystemWake(
60  _In_ struct _IRP *Irp)
61 {
62  return FALSE;
63 }
_In_ PDEVICE_OBJECT Pdo
Definition: classpnp.h:318
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
_In_ PIRP Irp
Definition: csq.h:116
LONG NTSTATUS
Definition: precomp.h:26
#define NTKRNLVISTAAPI
#define _In_opt_
Definition: no_sal2.h:213
POWER_SETTING_CALLBACK * PPOWER_SETTING_CALLBACK
Definition: potypes.h:479
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_IRQL_requires_max_(APC_LEVEL)
Definition: po.c:24
#define FALSE
Definition: types.h:117
unsigned char BOOLEAN
#define _Out_
Definition: no_sal2.h:323
_In_ LPCGUID SettingGuid
Definition: pofuncs.h:120
_In_ HANDLE Handle
Definition: extypes.h:390
#define _Inout_
Definition: no_sal2.h:244
_Out_ PULONG SecondsRemaining
Definition: pofuncs.h:162
#define _Outptr_opt_
Definition: no_sal2.h:397
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
#define _In_
Definition: no_sal2.h:204
_In_ PDEVICE_OBJECT DeviceObject
Definition: iotypes.h:2464
unsigned int * PULONG
Definition: retypes.h:1
LPFNPSPCALLBACK Callback
Definition: desk.c:112
#define APC_LEVEL
Definition: env_spec_w32.h:695
NTKRNLVISTAAPI NTSTATUS NTAPI PoRegisterPowerSettingCallback(_In_opt_ PDEVICE_OBJECT DeviceObject, _In_ LPCGUID SettingGuid, _In_ PPOWER_SETTING_CALLBACK Callback, _In_opt_ PVOID Context, _Outptr_opt_ PVOID *Handle)
Definition: po.c:14