ntoskrnl.exe: Stub PoStartNextPowerIrp().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-06-25 21:35:17 -05:00 committed by Alexandre Julliard
parent 816e25c194
commit 656035da85
3 changed files with 11 additions and 1 deletions

View File

@ -853,7 +853,7 @@
@ stdcall PoSetPowerState(ptr long long) @ stdcall PoSetPowerState(ptr long long)
@ stub PoSetSystemState @ stub PoSetSystemState
@ stub PoShutdownBugCheck @ stub PoShutdownBugCheck
@ stub PoStartNextPowerIrp @ stdcall PoStartNextPowerIrp(ptr)
@ stub PoUnregisterSystemState @ stub PoUnregisterSystemState
@ stdcall ProbeForRead(ptr long long) @ stdcall ProbeForRead(ptr long long)
@ stdcall ProbeForWrite(ptr long long) @ stdcall ProbeForWrite(ptr long long)

View File

@ -760,6 +760,14 @@ POWER_STATE WINAPI PoSetPowerState( DEVICE_OBJECT *device, POWER_STATE_TYPE type
return state; return state;
} }
/*****************************************************
* PoStartNextPowerIrp (NTOSKRNL.EXE.@)
*/
void WINAPI PoStartNextPowerIrp( IRP *irp )
{
FIXME("irp %p, stub!\n", irp);
}
static DRIVER_OBJECT *pnp_manager; static DRIVER_OBJECT *pnp_manager;
struct root_pnp_device struct root_pnp_device

View File

@ -1671,6 +1671,8 @@ NTSTATUS WINAPI ObReferenceObjectByPointer(void*,ACCESS_MASK,POBJECT_TYPE,KPROC
void WINAPI ObUnRegisterCallbacks(void*); void WINAPI ObUnRegisterCallbacks(void*);
POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT,POWER_STATE_TYPE,POWER_STATE); 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); NTSTATUS WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID);
#define PsGetCurrentProcess() IoGetCurrentProcess() #define PsGetCurrentProcess() IoGetCurrentProcess()
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread()) #define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())