Zebediah Figura : ntoskrnl.exe: Stub PoStartNextPowerIrp().

Alexandre Julliard julliard at winehq.org
Wed Jun 26 16:15:40 CDT 2019


Module: wine
Branch: master
Commit: 656035da855a9b1042b5f12f58ed0b832bfa83fc
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=656035da855a9b1042b5f12f58ed0b832bfa83fc

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Jun 25 21:35:17 2019 -0500

ntoskrnl.exe: Stub PoStartNextPowerIrp().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
 dlls/ntoskrnl.exe/pnp.c             | 8 ++++++++
 include/ddk/wdm.h                   | 2 ++
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index d119f37..99594c8 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -853,7 +853,7 @@
 @ stdcall PoSetPowerState(ptr long long)
 @ stub PoSetSystemState
 @ stub PoShutdownBugCheck
-@ stub PoStartNextPowerIrp
+@ stdcall PoStartNextPowerIrp(ptr)
 @ stub PoUnregisterSystemState
 @ stdcall ProbeForRead(ptr long long)
 @ stdcall ProbeForWrite(ptr long long)
diff --git a/dlls/ntoskrnl.exe/pnp.c b/dlls/ntoskrnl.exe/pnp.c
index f531527..491f016 100644
--- a/dlls/ntoskrnl.exe/pnp.c
+++ b/dlls/ntoskrnl.exe/pnp.c
@@ -760,6 +760,14 @@ POWER_STATE WINAPI PoSetPowerState( DEVICE_OBJECT *device, POWER_STATE_TYPE type
     return state;
 }
 
+/*****************************************************
+ *           PoStartNextPowerIrp   (NTOSKRNL.EXE.@)
+ */
+void WINAPI PoStartNextPowerIrp( IRP *irp )
+{
+    FIXME("irp %p, stub!\n", irp);
+}
+
 static DRIVER_OBJECT *pnp_manager;
 
 struct root_pnp_device
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index e3333e9..0adfac0 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -1671,6 +1671,8 @@ NTSTATUS  WINAPI ObReferenceObjectByPointer(void*,ACCESS_MASK,POBJECT_TYPE,KPROC
 void      WINAPI ObUnRegisterCallbacks(void*);
 
 POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT,POWER_STATE_TYPE,POWER_STATE);
+void      WINAPI PoStartNextPowerIrp(IRP*);
+
 NTSTATUS  WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID);
 #define          PsGetCurrentProcess() IoGetCurrentProcess()
 #define          PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())




More information about the wine-cvs mailing list