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 ChangerClassCreate routine is called by a changer minidriver to allow the class driver perform device-independent operations needed to create or close a device.
Syntax
NTSTATUS ChangerClassCreate(
[in] PDEVICE_OBJECT DeviceObject,
[in] PIRP Irp
);
Parameters
[in] DeviceObject
Pointer to the device object of the device to be created or closed.
[in] Irp
Pointer to the I/O request packet (IRP) that initiated the create or close operation.
Return value
If the operation succeeds, the ChangerClassCreate 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 device is already open. Only one open at a time is allowed. |
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | mcd.h (include Mcd.h, Ntddchgr.h) |