CHANGER_SET_ACCESS structure (winioctl.h)

Contains information that the IOCTL_CHANGER_SET_ACCESS control code needs to set the state of the device's insert/eject port, door, or keypad.

Syntax

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

Members

Element

A CHANGER_ELEMENT structure that represents the changer element. The ElementType member can be one of the following values: ChangerDoor, ChangerIEPort, or ChangerKeypad.

Control

The operation to be performed.

Value Meaning
EXTEND_IEPORT
2
The element is to be extended.

Requires that Features0 is CHANGER_OPEN_IEPORT.

LOCK_ELEMENT
0
The element is to be locked.

Requires that Features0 is CHANGER_LOCK_UNLOCK.

RETRACT_IEPORT
3
The element is to be retracted.

Requires that Features0 is CHANGER_CLOSE_IEPORT.

UNLOCK_ELEMENT
1
The element is to be unlocked.

Requires that Features0 is CHANGER_LOCK_UNLOCK.

Requirements

Requirement Value
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Header winioctl.h (include Windows.h)

See also

CHANGER_ELEMENT

IOCTL_CHANGER_SET_ACCESS