Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 16 of file createclose.c.
Referenced by DriverEntry().
{ PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp); ASSERT(DeviceObject == GlobalDeviceObject); DPRINT("Created file object 0x%x\n", IrpSp->FileObject); /* This is associated with an adapter during IOCTL_NDISUIO_OPEN_(WRITE_)DEVICE */ IrpSp->FileObject->FsContext = NULL; IrpSp->FileObject->FsContext2 = NULL; /* Completed successfully */ Irp->IoStatus.Status = STATUS_SUCCESS; Irp->IoStatus.Information = FILE_OPENED; IoCompleteRequest(Irp, IO_NO_INCREMENT); /* Return success */ return STATUS_SUCCESS; }