ReactOS  0.4.15-dev-489-g75a0787
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
PVOID DeviceExtension
Definition: env_spec_w32.h:418
#define TRACE_(x)
Definition: compat.h:66
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1569
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
Definition: power.c:737
#define IoSkipCurrentIrpStackLocation(Irp)
Definition: ntifs_ex.h:421
PDEVICE_OBJECT LowerDevice
Definition: serial.h:51