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.

Syntax

typedef struct _CHANGER_SET_ACCESS {
  CHANGER_ELEMENT Element;
  ULONG           Control;
} CHANGER_SET_ACCESS, *PCHANGER_SET_ACCESS;

Members

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_ELEMENT

Lock the door, IEport, or keypad. Valid only if CHANGER_LOCK_UNLOCK is set.

UNLOCK_ELEMENT

Unlock the door, IEport, or keypad. Valid only if CHANGER_LOCK_UNLOCK is set.

EXTEND_IEPORT

Extend the IEport. Valid only if CHANGER_OPEN_IEPORT is set.

RETRACT_IEPORT

Retract the IEport. Valid only if CHANGER_CLOSE_IEPORT is set.

Requirements

Requirement Value
Header ntddchgr.h

See also

CHANGER_ELEMENT

ChangerSetAccess

GET_CHANGER_PARAMETERS

IOCTL_CHANGER_SET_ACCESS