core.sys.windows.winioctl

Windows API header module

Translated from MinGW Windows headers

Authors

Stewart Gordon

License

Types 93

aliasDEVICE_TYPE = DWORD
aliasBAD_TRACK_NUMBER = WORD
aliasPBAD_TRACK_NUMBER = WORD *
RequestSize
RequestLocation
structBIN_RANGE
Fields
LARGE_INTEGER StartValue
structBIN_COUNT
Fields
BIN_RANGE BinRange
DWORD BinCount
Fields
DWORD NumberOfBins
BIN_COUNT _BinCounts
Methods
BIN_COUNT * BinCounts() return
PARTITION_STYLE_MBR
PARTITION_STYLE_GPT
PARTITION_STYLE_RAW
Fields
GUID DiskId
DWORD MaxPartitionCount
Fields
DWORD Signature
Fields
PARTITION_STYLE PartitionStyle
EqualPriority
KeepPrefetchedData
KeepReadData
Fields
BOOLEAN ParametersSavable
BOOLEAN ReadCacheEnabled
BOOLEAN WriteCacheEnabled
DISK_CACHE_RETENTION_PRIORITY ReadRetentionPriority
DISK_CACHE_RETENTION_PRIORITY WriteRetentionPriority
WORD DisablePrefetchTransferLength
BOOLEAN PrefetchScalar
DetectNone
DetectInt13
DetectExInt13
Fields
WORD DriveSelect
DWORD MaxCylinders
WORD SectorsPerTrack
WORD MaxHeads
WORD NumberDrives
Fields
WORD ExBufferSize
WORD ExFlags
DWORD ExCylinders
DWORD ExHeads
DWORD ExSectorsPerTrack
DWORD64 ExSectorsPerDrive
WORD ExSectorSize
WORD ExReserved
Fields
DWORD SizeOfDetectInfo
DETECTION_TYPE DetectionType
Unknown
F5_1Pt2_512
F3_1Pt44_512
F3_2Pt88_512
F3_20Pt8_512
F3_720_512
F5_360_512
F5_320_512
F5_320_1024
F5_180_512
F5_160_512
RemovableMedia
FixedMedia
F3_120M_512
F3_640_512
F5_640_512
F5_720_512
F3_1Pt2_512
F3_1Pt23_1024
F5_1Pt23_1024
F3_128Mb_512
F3_230Mb_512
F8_256_128
F3_200Mb_512
F3_240M_512
F3_32M_512
Fields
LARGE_INTEGER Cylinders
MEDIA_TYPE MediaType
DWORD TracksPerCylinder
DWORD SectorsPerTrack
DWORD BytesPerSector
Fields
DISK_GEOMETRY Geometry
LARGE_INTEGER DiskSize
BYTE _Data
Methods
BYTE * Data() return
Fields
DWORD PartitionNumber
LARGE_INTEGER BytesToGrow
Fields
DWORD SizeOfPartitionInfo
PARTITION_STYLE PartitionStyle
Fields
LARGE_INTEGER BytesRead
LARGE_INTEGER BytesWritten
LARGE_INTEGER ReadTime
LARGE_INTEGER WriteTime
DWORD ReadCount
DWORD WriteCount
DWORD QueueDepth
Fields
LARGE_INTEGER ByteOffset
LARGE_INTEGER StartTime
PVOID VirtualAddress
DWORD NumberOfBytes
BYTE DeviceNumber
BOOLEAN ReadRequest
Fields
BYTE Function
PVOID BufferAddress
DWORD BufferSize
Fields
LONGLONG QuotaUsed
LONGLONG QuotaThreshold
LONGLONG QuotaLimit
Fields
MEDIA_TYPE MediaType
DWORD StartCylinderNumber
DWORD EndCylinderNumber
DWORD StartHeadNumber
DWORD EndHeadNumber
Fields
MEDIA_TYPE MediaType
DWORD StartCylinderNumber
DWORD EndCylinderNumber
DWORD StartHeadNumber
DWORD EndHeadNumber
WORD FormatGapLength
WORD SectorsPerTrack
WORD _SectorNumber
Methods
WORD * SectorNumber() return
Fields
DWORD Reads
DWORD Writes
Fields
LARGE_INTEGER DiskSize
LARGE_INTEGER AverageRead
LARGE_INTEGER AverageWrite
DWORD Granularity
DWORD Size
DWORD ReadCount
DWORD WriteCount
Fields
DWORD DiskNumber
LARGE_INTEGER StartingOffset
LARGE_INTEGER ExtentLength
Fields
DWORD NumberOfDiskExtents
DISK_EXTENT _Extents
Methods
DISK_EXTENT * Extents() return
Fields
LARGE_INTEGER StartingOffset
LARGE_INTEGER PartitionLength
DWORD HiddenSectors
DWORD PartitionNumber
BYTE PartitionType
BOOLEAN BootIndicator
BOOLEAN RecognizedPartition
BOOLEAN RewritePartition
Fields
DWORD PartitionCount
DWORD Signature
PARTITION_INFORMATION _PartitionEntry
Fields
GUID DiskId
LARGE_INTEGER StartingUsableOffset
LARGE_INTEGER UsableLength
ULONG MaxPartitionCount
Fields
ULONG Signature
Fields
BYTE PartitionType
BOOLEAN BootIndicator
BOOLEAN RecognizedPartition
DWORD HiddenSectors
Fields
GUID PartitionType
GUID PartitionId
DWORD64 Attributes
WCHAR[36] Name
Fields
PARTITION_STYLE PartitionStyle
LARGE_INTEGER StartingOffset
LARGE_INTEGER PartitionLength
DWORD PartitionNumber
BOOLEAN RewritePartition
Fields
DWORD PartitionStyle
DWORD PartitionCount
PARTITION_INFORMATION_EX _PartitionEntry
Fields
HANDLE FileHandle
LARGE_INTEGER StartingVcn
LARGE_INTEGER StartingLcn
DWORD ClusterCount
structPERF_BIN
Fields
DWORD NumberOfBins
DWORD TypeOfBin
BIN_RANGE _BinsRanges
Methods
Fields
BOOLEAN PreventMediaRemoval
Fields
DWORD ExtentCount
LARGE_INTEGER StartingVcn
Extent _Extents
Methods
Extent * Extents() return
Nested Templates
Extent
Fields
WORD Reserved
WORD Count
DWORD _BlockNumber
Methods
DWORD * BlockNumber() return
Fields
BYTE PartitionType
Fields
LARGE_INTEGER StartingOffset
DWORD Length
Fields
LARGE_INTEGER StartingLcn
LARGE_INTEGER BitmapSize
BYTE _Buffer
Methods
BYTE * Buffer() return
Fields
LARGE_INTEGER VolumeSerialNumber
LARGE_INTEGER NumberSectors
LARGE_INTEGER TotalClusters
LARGE_INTEGER FreeClusters
LARGE_INTEGER TotalReserved
DWORD BytesPerSector
DWORD BytesPerCluster
DWORD BytesPerFileRecordSegment
DWORD ClustersPerFileRecordSegment
LARGE_INTEGER MftValidDataLength
LARGE_INTEGER MftStartLcn
LARGE_INTEGER Mft2StartLcn
LARGE_INTEGER MftZoneStart
LARGE_INTEGER MftZoneEnd

Variables 3

enumvarHIST_NO_OF_BUCKETS = 24
enumvarIOCTL_STORAGE_BASE = FILE_DEVICE_MASS_STORAGE
enumvarPARTITION_NTFT = 0x80

Templates 1

tmplCTL_CODE_T(DEVICE_TYPE t, uint f, uint m, uint a)