CHANGER_SET_ACCESS structure (ntddchgr.h)
The CHANGER_SET_ACCESS structure is used in conjunction with theIOCTL_CHANGER_SET_ACCESS request to set the state of the device's import/export port (IEport), door, or keypad.
typedef struct _CHANGER_SET_ACCESS {
CHANGER_ELEMENT Element;
ULONG Control;
} CHANGER_SET_ACCESS, *PCHANGER_SET_ACCESS;
Element
Contains a CHANGER_ELEMENT structure that specifies the element type and the zero-based address of the element to set. The ElementType member of the CHANGER_ELEMENT structure must be assigned one of the following values:
ChangerIEPortChangerDoorChangerKeypad
Control
Specifies the operation to perform on the element. The Features0 member of GET_CHANGER_PARAMETERS indicates whether the changer supports a particular category of operation.
Lock the door, IEport, or keypad. Valid only if CHANGER_LOCK_UNLOCK is set.
Unlock the door, IEport, or keypad. Valid only if CHANGER_LOCK_UNLOCK is set.
Extend the IEport. Valid only if CHANGER_OPEN_IEPORT is set.
Retract the IEport. Valid only if CHANGER_CLOSE_IEPORT is set.
Requirement | Value |
---|---|
Header | ntddchgr.h |