Condividi tramite


IOCTL_STORAGE_SET_HOTPLUG_INFO IOCTL (winioctl.h)

Imposta la configurazione hotplug del dispositivo specificato.

Per eseguire questa operazione, chiamare la funzione DeviceIoControl con i parametri seguenti.

BOOL DeviceIoControl(
  (HANDLE) hDevice,                 // handle to device
  IOCTL_STORAGE_SET_HOTPLUG_INFO,   // dwIoControlCode
  (LPVOID) lpInBuffer,              // input buffer
  (DWORD) nInBufferSize,            // size of input buffer
  NULL,                             // lpOutBuffer
  0,                                // nOutBufferSize
  (LPDWORD) lpBytesReturned,        // number of bytes returned
  (LPOVERLAPPED) lpOverlapped       // OVERLAPPED structure
);

Commenti

Per altre informazioni sui dispositivi hotplug, vedere la sezione Osservazioni nella pagina di riferimento per STORAGE_HOTPLUG_INFO .

Questa operazione imposta solo il membro DeviceHotplug della struttura STORAGE_HOTPLUG_INFO passata.

Requisiti

Requisito Valore
Client minimo supportato Windows XP
Server minimo supportato Windows Server 2003
Intestazione winioctl.h (include Windows.h)

Vedi anche