ReactOS  0.4.14-dev-815-ge410a12
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 }
NTSTATUS NTAPI PoCallDriver(IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp)
Definition: power.c:485
_In_ PIRP Irp
Definition: csq.h:116
PVOID DeviceExtension
Definition: env_spec_w32.h:418
#define TRACE_(x)
Definition: compat.h:66
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
Definition: power.c:626
#define IoSkipCurrentIrpStackLocation(Irp)
Definition: ntifs_ex.h:421
PDEVICE_OBJECT LowerDevice
Definition: serial.h:51