23 TRACE_(SERIAL,
"IRP_MJ_CREATE\n");
29 INFO_(SERIAL,
"Not a directory\n");
36 WARN_(SERIAL,
"COM%lu is already opened\n", DeviceExtension->
ComPort);
41 INFO_(SERIAL,
"Open COM%lu: successfull\n", DeviceExtension->
ComPort);
47 Irp->IoStatus.Information = 0;
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define FILE_DIRECTORY_FILE
struct _SERIAL_DEVICE_EXTENSION * PSERIAL_DEVICE_EXTENSION
DRIVER_DISPATCH SerialCreate
#define IoCompleteRequest
#define STATUS_NOT_A_DIRECTORY
#define STATUS_ACCESS_DENIED
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack