Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IOCTL_DISK_SET_PARTITION_INFO

IOCTL_DISK_SET_PARTITION_INFO control code

Changes the partition type of the specified disk partition. (Floppy drivers need not handle this request.)

Input Parameters

The buffer at Irp->AssociatedIrp.SystemBuffer contains the SET_PARTITION_INFORMATION to be set. Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer, which must be >= sizeof(SET_PARTITION_INFORMATION).

Output Parameters

None

I/O Status Block

The Information field is set to zero. The Status field can be set to STATUS_SUCCESS, or possibly to STATUS_INVALID_PARAMETER, STATUS_INVALID_DEVICE_REQUEST, STATUS_UNSUCCESSFUL, STATUS_INFO_LENGTH_MISMATCH, STATUS_INSUFFICIENT_RESOURCES, or STATUS_BUFFER_TOO_SMALL.

Requirements

Header

Ntdddisk.h (include Ntdddisk.h)

See also

SET_PARTITION_INFORMATION

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft