IOCTL_CHANGER_SET_ACCESS IOCTL (ntddchgr.h)
Sets the state of the device's import/export port (IEport), door, or keypad.
Major code
Input buffer
The buffer at Irp->AssociatedIrp.SystemBuffer contains a CHANGER_SET_ACCESS structure indicating the element and the operation to perform.
Input buffer length
Parameters.DeviceIoControl.InputBufferLength in the I/O stack location indicates the size, in bytes, of the parameter buffer, which must be >= sizeof(CHANGER_SET_ACCESS).
Output buffer
None.
Output buffer length
None.
Status block
The Information field is set to the number of bytes set. The Status field is set to STATUS_SUCCESS, or possibly to STATUS_INFO_LENGTH_MISMATCH, STATUS_INSUFFICIENT_RESOURCES, STATUS_INVALID_DEVICE_REQUEST, or STATUS_INVALID_PARAMETER.
Requirements
Requirement | Value |
---|---|
Header | ntddchgr.h (include Ntddchgr.h) |