Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ChangerClassDeviceControl routine is called by a changer minidriver to allow the class driver perform device-independent aspects of a device control operation.
Syntax
NTSTATUS ChangerClassDeviceControl(
[in] PDEVICE_OBJECT DeviceObject,
[in] PIRP Irp
);
Parameters
[in] DeviceObject
Pointer to the device object of the device.
[in] Irp
Pointer to the I/O request packet (IRP) that initiated the device control operation.
Return value
If the operation succeeds, the ChangerClassDeviceControl routine returns STATUS_SUCCESS. Otherwise the routine returns one of the following status values.
| Return code | Description |
|---|---|
|
The device object does not have a properly initialized device extension. |
|
The length of the output buffer indicated in the IRP is too small to hold the return data. |
|
The length of the input buffer indicated in the IRP is too small to hold the input data that is necessary to complete the operation. |
|
The length of the input buffer is zero. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | mcd.h (include Mcd.h, Ntddchgr.h) |