IOCTL_DISK_SET_PARTITION_INFO_EX IOCTL (winioctl.h)
Imposta le informazioni di partizione per la partizione del disco specificata, incluse le informazioni sul layout per le partizioni AT e EFI (Extensible Firmware Interface).
Per eseguire questa operazione, chiamare la funzione DeviceIoControl con i parametri seguenti.
BOOL DeviceIoControl(
(HANDLE) hDevice, // handle to device
IOCTL_DISK_SET_PARTITION_INFO_EX, // 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
);
Se la partizione si trova in un disco formattato come record di avvio master di tipo (MBR), le dimensioni della partizione sono limitate. Per altre informazioni, vedere la sezione Osservazioni di IOCTL_DISK_SET_DRIVE_LAYOUT.
Requisito | Valore |
---|---|
Client minimo supportato | Windows XP [solo app desktop] |
Server minimo supportato | Windows Server 2003 [solo app desktop] |
Intestazione | winioctl.h (include Windows.h) |