Device Management Structures

The following structures are used with device management:

In this section

Topic Description
CHANGER_ELEMENT
Represents a changer element.
CHANGER_ELEMENT_LIST
Represents a range of elements of a single type, typically for an operation such as getting or initializing the status of multiple elements.
CHANGER_ELEMENT_STATUS
Represents the status of the specified element.
CHANGER_ELEMENT_STATUS_EX
Represents the status of the specified element.
CHANGER_EXCHANGE_MEDIUM
Contains information the IOCTL_CHANGER_EXCHANGE_MEDIUM control code uses to move a piece of media to a destination, and the piece of media originally in the first destination to a second destination.
CHANGER_INITIALIZE_ELEMENT_STATUS
Represents the status of all media changer elements or the specified elements of a particular type.
CHANGER_MOVE_MEDIUM
Contains information that the IOCTL_CHANGER_MOVE_MEDIUM control code uses to move a piece of media to a destination.
CHANGER_PRODUCT_DATA
Represents product data for a changer device. It is used by the IOCTL_CHANGER_GET_PRODUCT_DATA control code.
CHANGER_READ_ELEMENT_STATUS
Contains information that the IOCTL_CHANGER_GET_ELEMENT_STATUS control code needs to determine the elements whose status is to be retrieved.
CHANGER_SEND_VOLUME_TAG_INFORMATION
Contains information that the IOCTL_CHANGER_QUERY_VOLUME_TAGS control code uses to determine the volume information to be retrieved.
CHANGER_SET_ACCESS
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.
CHANGER_SET_POSITION
Contains information needed by the IOCTL_CHANGER_SET_POSITION control code to set the changer's robotic transport mechanism to the specified element address.
CLASS_MEDIA_CHANGE_CONTEXT
Contains information associated with a media change event.
_DEV_BROADCAST_USERDEFINED
Contains the user-defined event and optional data associated with the DBT_USERDEFINED device event.
DEV_BROADCAST_DEVICEINTERFACE
Contains information about a class of devices.
DEV_BROADCAST_HANDLE
Contains information about a file system handle.
DEV_BROADCAST_HDR
Serves as a standard header for information related to a device event reported through the WM_DEVICECHANGE message.
DEV_BROADCAST_OEM
Contains information about a OEM-defined device type.
DEV_BROADCAST_PORT
Contains information about a modem, serial, or parallel port.
DEV_BROADCAST_VOLUME
Contains information about a logical volume.
DEVICE_DATA_SET_LB_PROVISIONING_STATE
Output structure for the DeviceDsmAction_Allocation action of the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
DEVICE_DATA_SET_RANGE
Provides data set range information for use with the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
DEVICE_DATA_SET_REPAIR_PARAMETERS
Specifies parameters for the repair operation.
DEVICE_DSM_NOTIFICATION_PARAMETERS
Contains parameters for the DeviceDsmAction_Notification action for the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
DEVICE_DSM_OFFLOAD_READ_PARAMETERS
Contains parameters for the DeviceDsmAction_OffloadRead action for the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS
Specifies parameters for the offload write operation.
DEVICE_MANAGE_DATA_SET_ATTRIBUTES
Input structure for the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT
Output structure for the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
DEVICE_MEDIA_INFO
Provides information about the media supported by a device.
GET_CHANGER_PARAMETERS
Represents the parameters of a changer.
GET_MEDIA_TYPES
Contains information about the media types supported by a device.
MEDIA_SERIAL_NUMBER_DATA
Contains the serial number of a USB device. It is used by the IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER control code.
PREVENT_MEDIA_REMOVAL
Provides removable media locking data. It is used by the IOCTL_STORAGE_MEDIA_REMOVAL control code.
READ_ELEMENT_ADDRESS_INFO
Represents the volume tag information. It is used by the IOCTL_CHANGER_QUERY_VOLUME_TAGS control code.
STORAGE_DEVICE_NUMBER
Contains information about a device. This structure is used by the IOCTL_STORAGE_GET_DEVICE_NUMBER control code.
STORAGE_HOTPLUG_INFO
Provides information about the hotplug information of a device.
STORAGE_OFFLOAD_READ_OUTPUT
Output structure for the DeviceDsmAction_OffloadRead action of the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
STORAGE_OFFLOAD_TOKEN
The token used to represent a portion of a file used in by offload read and write operations.
STORAGE_OFFLOAD_WRITE_OUTPUT
Output structure for the DeviceDsmAction_OffloadWrite action of the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
STORAGE_READ_CAPACITY
Contains information about the size of a device. This is returned from the IOCTL_STORAGE_READ_CAPACITY control code.