IRP_MJ_DEVICE_CONTROL (Parallel Device)
The IRP_MJ_DEVICE_CONTROL request operates a parallel device.
When Sent
A client uses device control requests for the following types of operations:
Obtain information about a device
Set the operating mode of the device
See Device Control Requests for Parallel Devices.
Input Parameters
Request-specific.
Output Parameters
Request-specific.
I/O Status Block
The Information member is request-specific.
The Status member is set to a request-specific value or to one of following generic status values:
STATUS_SUCCESS
The request completed successfully.STATUS_CANCELLED
The request was canceled.STATUS_DELETE_PENDING
The device is in the process of being removed.STATUS_DEVICE_REMOVED
The device has been removed.STATUS_INVALID_PARAMETER
The system-supplied bus driver for parallel ports does not support the request.STATUS_PENDING
The request is pending.STATUS_UNSUCCESSFUL
The request did not complete successfully.
Operation
The operation is request-specific.
Requirements
Header |
Wdm.h (include Wdm.h or Ntddk.h) |
See also
IRP_MJ_INTERNAL_DEVICE_CONTROL (Parallel Device)