The IOCTL_STORAGE_GET_LB_PROVISIONING_MAP_RESOURCES request is sent to the storage class driver to determine available and used mapping resources on a storage device.
Input Buffer Length
The buffer at Irp->AssociatedIrp.SystemBuffer contains a STORAGE_LB_PROVISIONING_MAP_RESOURCES structure.
Output Buffer Length
Parameters.DeviceIoControl.OutputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer, which must be at least sizeof(STORAGE_LB_PROVISIONING_MAP_RESOURCES).
Input / Output Buffer
Input / Output Buffer Length
The Status field can be set to STATUS_SUCCESS, or possibly to STATUS_INVALID_DEVICE_REQUEST, STATUS_BUFFER_TOO_SMALL, STATUS_BUFFER_OVERFLOW, or some other error status.
If logical block provisioning is enabled on a LUN, resource mapping counts may be reported from the storage device. Resource mapping information is obtained by using the IOCTL_STORAGE_GET_LB_PROVISIONING_MAP_RESOURCES request. A storage monitoring application can use this IOCTL to query resource mapping conditions before a resource threshold or exhaustion event is logged.
|Windows version||Available in Windows 8 and later versions of Windows. Available in Windows 8 and later versions of Windows.|
|Header||ntddstor.h (include Ntddstor.h)|