CHANGER_SET_ACCESS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddchgr.h

typedef struct _CHANGER_SET_ACCESS {
  CHANGER_ELEMENT Element;
  ULONG           Control;
} CHANGER_SET_ACCESS, *PCHANGER_SET_ACCESS;
View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _CHANGER_SET_ACCESS {
  CHANGER_ELEMENT Element;
  DWORD           Control;
} CHANGER_SET_ACCESS, *PCHANGER_SET_ACCESS;
View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddchgr-_changer_set_access)

_CHANGER_SET_ACCESS structure

Description

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.

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.

See also

CHANGER_ELEMENT

ChangerSetAccess

GET_CHANGER_PARAMETERS

IOCTL_CHANGER_SET_ACCESS


Win32 API reference (ns-winioctl-changer_set_access)

CHANGER_SET_ACCESS structure

Description

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.

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.

See also

CHANGER_ELEMENT

IOCTL_CHANGER_SET_ACCESS