Commit 4ecbc3a0 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntoskrnl.exe: Implement PoCallDriver().

parent 656035da
......@@ -841,7 +841,7 @@
@ stub PfxInitialize
@ stub PfxInsertPrefix
@ stub PfxRemovePrefix
@ stub PoCallDriver
@ stdcall PoCallDriver(ptr ptr)
@ stub PoCancelDeviceNotify
@ stub PoQueueShutdownWorkItem
@ stub PoRegisterDeviceForIdleDetection
......
......@@ -768,6 +768,15 @@ void WINAPI PoStartNextPowerIrp( IRP *irp )
FIXME("irp %p, stub!\n", irp);
}
/*****************************************************
* PoCallDriver (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI PoCallDriver( DEVICE_OBJECT *device, IRP *irp )
{
TRACE("device %p, irp %p.\n", device, irp);
return IoCallDriver( device, irp );
}
static DRIVER_OBJECT *pnp_manager;
struct root_pnp_device
......
......@@ -1670,6 +1670,7 @@ NTSTATUS WINAPI ObReferenceObjectByName(UNICODE_STRING*,ULONG,ACCESS_STATE*,ACC
NTSTATUS WINAPI ObReferenceObjectByPointer(void*,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE);
void WINAPI ObUnRegisterCallbacks(void*);
NTSTATUS WINAPI PoCallDriver(DEVICE_OBJECT*,IRP*);
POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT,POWER_STATE_TYPE,POWER_STATE);
void WINAPI PoStartNextPowerIrp(IRP*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment