IOCTL_STORAGE_GET_HOTPLUG_INFO control code

Retrieves the hotplug configuration of the specified device.

Input Parameters

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).

Output Parameters

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

I/O 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

Header

Ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_SET_HOTPLUG_INFO
STORAGE_HOTPLUG_INFO

 

 

Send comments about this topic to Microsoft

Show: