Bewerken

Delen via


IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL (ntddstor.h)

Retrieves the hotplug configuration of the specified device.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None.

Input buffer length

None.

Output buffer

The driver returns the hotplug configuration data in a STORAGE_HOTPLUG_INFO structure in the buffer at Irp->AssociatedIrp.SystemBuffer.

Output buffer length

Parameters.DeviceIoControl.OutputBufferLength in the I/O stack location indicates the size, in bytes, of the parameter buffer, which must be greater than or equal to sizeof(STORAGE_HOTPLUG_INFO).

Status block

The Information field is set to sizeof(STORAGE_HOTPLUG_INFO). The Status field is set to STATUS_SUCCESS, or possibly to STATUS_BUFFER_TOO_SMALL if the output buffer is too small.

Requirements

Requirement Value
Header ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_SET_HOTPLUG_INFO

STORAGE_HOTPLUG_INFO