Updates device extension with drive size information for current media.
Input Buffer Length
Otherwise, the driver returns with an error status of STATUS_BUFFER_TOO_SMALL.
The device driver returns the DISK_GEOMETRY structure in the buffer at Irp->AssociatedIrp.SystemBuffer.
Output Buffer Length
Parameters.DeviceIoControl.OutputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer made available to the driver, which must be >= sizeof(DISK_GEOMETRY).
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
|Header||ntdddisk.h (include Ntdddisk.h)|