Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.3 KB

ni-ntddstor-ioctl_storage_get_media_types.md

File metadata and controls

80 lines (60 loc) · 2.3 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NI:ntddstor.IOCTL_STORAGE_GET_MEDIA_TYPES
IOCTL_STORAGE_GET_MEDIA_TYPES (ntddstor.h)
Returns information about the geometry of floppy drives.
storage\ioctl_storage_get_media_types.htm
storage
03/29/2018
IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL
IOCTL_STORAGE_GET_MEDIA_TYPES, IOCTL_STORAGE_GET_MEDIA_TYPES control, IOCTL_STORAGE_GET_MEDIA_TYPES control code [Storage Devices], k307_9e0698c0-04ff-48b5-ba02-903c59bf6f58.xml, ntddstor/IOCTL_STORAGE_GET_MEDIA_TYPES, storage.ioctl_storage_get_media_types
ntddstor.h
Ntddstor.h
Windows
Windows
IOCTL_STORAGE_GET_MEDIA_TYPES
ntddstor/IOCTL_STORAGE_GET_MEDIA_TYPES
APIRef
kbSyntax
HeaderDef
Ntddstor.h
IOCTL_STORAGE_GET_MEDIA_TYPES

IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL

-description

Returns information about the geometry of floppy drives.

-ioctlparameters

-ioctl-major-code

-input-buffer

None.

-input-buffer-length

None.

-output-buffer

The driver returns an array of DISK_GEOMETRY records for the types of media it supports 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, which must be at least (NumberOfSupportedMediaTypes * sizeof(DISK_GEOMETRY)).

-in-out-buffer

-inout-buffer-length

-status-block

The Information field is set to the size, in bytes, of the returned data. The Status field can be set to STATUS_SUCCESS, or possibly to STATUS_INVALID_DEVICE_REQUEST, STATUS_BUFFER_TOO_SMALL, or STATUS_BUFFER_OVERFLOW.

-see-also

DISK_GEOMETRY