ReactOS 0.4.15-dev-7931-gfd331f1
power.c File Reference
#include "serial.h"
#include <debug.h>
Include dependency graph for power.c:

Go to the source code of this file.

Functions

NTSTATUS NTAPI SerialPower (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 

Function Documentation

◆ SerialPower()

NTSTATUS NTAPI SerialPower ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 15 of file power.c.

18{
19 PSERIAL_DEVICE_EXTENSION DeviceExtension;
20
21 TRACE_(SERIAL, "IRP_MJ_POWER dispatch\n");
22
23 DeviceExtension = DeviceObject->DeviceExtension;
26 return PoCallDriver(DeviceExtension->LowerDevice, Irp);
27}
_In_ PIRP Irp
Definition: csq.h:116
#define TRACE_(x)
Definition: compat.h:76
#define IoSkipCurrentIrpStackLocation(Irp)
Definition: ntifs_ex.h:421
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
Definition: power.c:758
PDEVICE_OBJECT LowerDevice
Definition: serial.h:51
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055