Documentation
¶
Index ¶
- Constants
- Variables
- func CtlCode(DeviceType DeviceType, Function uint32, Method Method, Access Access) uint32
- type Access
- type ApplySnapshotVhdSetFlag
- type ApplySnapshotVhdSetParametersV1
- type AttachVirtualDiskFlag
- type AttachVirtualDiskParametersV1
- type AttachVirtualDiskParametersV2
- type CompactVirtualDiskFlag
- type CompactVirtualDiskParametersV1
- type CreateDiskGpt
- type CreateDiskMbr
- type CreateVirtualDiskFlag
- type CreateVirtualDiskParametersV1
- type CreateVirtualDiskParametersV2
- type CreateVirtualDiskParametersV3
- type DeleteSnapshotVhdSetFlag
- type DeleteSnapshotVhdSetParametersV1
- type DependentDiskFlag
- type DetachVirtualDiskFlag
- type DeviceType
- type DiskExtent
- type DiskPartitionInfoGpt
- type DiskPartitionInfoH
- type DiskPartitionInfoMbr
- type DriveLayoutInformationEx
- type DriveLayoutInformationExGpt
- type DriveLayoutInformationExMbr
- type DriveLayoutInformationGpt
- type DriveLayoutInformationMbr
- type ExpandVirtualDiskFlag
- type ExpandVirtualDiskParametersV1
- type GetStorageDependencyFlag
- type GetVirtualDiskInfo
- type GetVirtualDiskInfoV1
- type GetVirtualDiskInfoV10
- type GetVirtualDiskInfoV11
- type GetVirtualDiskInfoV12
- type GetVirtualDiskInfoV13
- type GetVirtualDiskInfoV14
- type GetVirtualDiskInfoV15
- type GetVirtualDiskInfoV2
- type GetVirtualDiskInfoV3
- type GetVirtualDiskInfoV3H
- type GetVirtualDiskInfoV4
- type GetVirtualDiskInfoV5
- type GetVirtualDiskInfoV6
- type GetVirtualDiskInfoV7
- type GetVirtualDiskInfoV8
- type GetVirtualDiskInfoV9
- type MergeVirtualDiskFlag
- type MergeVirtualDiskParametersV1
- type MergeVirtualDiskParametersV2
- type Method
- type MirrorVirtualDiskFlag
- type MirrorVirtualDiskParametersV1
- type ModifyVhdSetFlag
- type ModifyVhdSetParametersV1
- type OpenVirtualDiskFlag
- type OpenVirtualDiskParametersV1
- type OpenVirtualDiskParametersV2
- type PartitionInformationEx
- type PartitionInformationExGpt
- type PartitionInformationExMbr
- type PartitionInformationGpt
- type PartitionInformationMbr
- type PartitionStyle
- type QueryChangesVirtualDiskRange
- type RawScsiVirtualDiskFlag
- type RawScsiVirtualDiskParametersV1
- type RawScsiVirtualDiskResponseV1
- type ResizeVirtualDiskFlag
- type ResizeVirtualDiskParametersV1
- type SPDeviceInterfaceData
- type SPDeviceInterfaceDetailDataA
- type SPDeviceInterfaceDetailDataH
- type SPDeviceInterfaceDetailDataW
- type SetVirtualDiskInfoV1
- type SetVirtualDiskInfoV2
- type SetVirtualDiskInfoV3
- type SetVirtualDiskInfoV4
- type SetVirtualDiskInfoV5
- type SetVirtualDiskInfoV6
- type SetVirtualDiskInfoV7
- type StorageDependencyInfo
- type StorageDependencyInfoH
- type StorageDependencyInfoType1
- type StorageDependencyInfoType2
- type StorageDeviceDescriptorH
- type StorageDeviceNumber
- type StoragePropertyId
- type StoragePropertyQuery
- type StoragePropertyQueryH
- type StorageQueryType
- type TakeSnapshotVhdSetParametersV1
- type Version
- type VirtualDiskAccessMask
- type VirtualDiskInfoProviderSubtype
- type VirtualDiskProgress
- type VirtualStorageType
- type VirtualStorageTypeDeviceType
- type VolumeDiskExtents
- type VolumeDiskExtentsH
Constants ¶
const MaxPath = 255
Variables ¶
var ( Ioctl1394Class = uint32(0x22021d) Ioctl1394ToggleEnumTestOff = uint32(0x220224) Ioctl1394ToggleEnumTestOn = uint32(0x220220) Ioctl61883Class = uint32(0x220245) IoctlAacsEndSession = uint32(0x3350cc) IoctlAacsGenerateBindingNonce = uint32(0x33d0f0) IoctlAacsGetCertificate = uint32(0x3350d4) IoctlAacsGetChallengeKey = uint32(0x3350d8) IoctlAacsReadBindingNonce = uint32(0x3350ec) IoctlAacsReadMediaId = uint32(0x3350e8) IoctlAacsReadMediaKeyBlock = uint32(0x3350c4) IoctlAacsReadMediaKeyBlockSize = uint32(0x3350c0) IoctlAacsReadSerialNumber = uint32(0x3350e4) IoctlAacsReadVolumeId = uint32(0x3350e0) IoctlAacsSendCertificate = uint32(0x3350d0) IoctlAacsSendChallengeKey = uint32(0x3350dc) IoctlAacsStartSession = uint32(0x3350c8) IoctlAbortPipe = uint32(0x80002004) IoctlAcpiAcquireGlobalLock = uint32(0x32c010) IoctlAcpiAsyncEvalMethod = uint32(0x32c000) IoctlAcpiAsyncEvalMethodEx = uint32(0x32c01c) IoctlAcpiEnumChildren = uint32(0x32c020) IoctlAcpiEvalMethod = uint32(0x32c004) IoctlAcpiEvalMethodEx = uint32(0x32c018) IoctlAcpiReleaseGlobalLock = uint32(0x32c014) IoctlArpSendRequest = uint32(0x67) IoctlAtaMiniport = uint32(0x4d034) IoctlAtaPassThrough = uint32(0x4d02c) IoctlAtaPassThroughDirect = uint32(0x4d030) IoctlAvcstrmClass = uint32(0x22024d) IoctlAvcBusReset = uint32(0x2a0008) IoctlAvcClass = uint32(0x220248) IoctlAvcRemoveVirtualSubunitInfo = uint32(0x2a0004) IoctlAvcUpdateVirtualSubunitInfo = uint32(0x2a0000) IoctlAvioAllocateStream = uint32(0xff0004) IoctlAvioFreeStream = uint32(0xff0008) IoctlAvioModifyStream = uint32(0xff000c) IoctlBatteryQueryInformation = uint32(0x294044) IoctlBatteryQueryStatus = uint32(0x29404c) IoctlBatteryQueryTag = uint32(0x294040) IoctlBatterySetInformation = uint32(0x298048) IoctlBeepSet = uint32(0x10000) IoctlBiometricCalibrate = uint32(0x44000c) IoctlBiometricCaptureData = uint32(0x440014) IoctlBiometricGetAttributes = uint32(0x440004) IoctlBiometricGetIndicator = uint32(0x440020) IoctlBiometricGetSensorStatus = uint32(0x440010) IoctlBiometricGetSupportedAlgorithms = uint32(0x44001c) IoctlBiometricReset = uint32(0x440008) IoctlBiometricSetIndicator = uint32(0x440024) IoctlBiometricUpdateFirmware = uint32(0x440018) IoctlBiometricVendor = uint32(0x442000) IoctlBthDisconnectDevice = uint32(0x41000c) IoctlBthEirGetRecords = uint32(0x410040) IoctlBthEirRemoveRecord = uint32(0x41004c) IoctlBthEirSubmitRecord = uint32(0x410044) IoctlBthEirUpdateRecord = uint32(0x410048) IoctlBthGetDeviceInfo = uint32(0x410008) IoctlBthGetDeviceRssi = uint32(0x410014) IoctlBthGetLocalInfo = uint32(0x410000) IoctlBthGetRadioInfo = uint32(0x410004) IoctlBthHciVendorCommand = uint32(0x410050) IoctlBthSdpAttributeSearch = uint32(0x41020c) IoctlBthSdpConnect = uint32(0x410200) IoctlBthSdpDisconnect = uint32(0x410204) IoctlBthSdpRemoveRecord = uint32(0x410218) IoctlBthSdpServiceAttributeSearch = uint32(0x410210) IoctlBthSdpServiceSearch = uint32(0x410208) IoctlBthSdpSubmitRecord = uint32(0x410214) IoctlBthSdpSubmitRecordWithInfo = uint32(0x41021c) IoctlCancelDeviceWake = uint32(0x298008) IoctlCancelGetSendMessage = uint32(0x2b0038) IoctlCancelIo = uint32(0x80002004) IoctlCdromCheckVerify = uint32(0x24800) IoctlCdromCurrentPosition = uint32(0x1) IoctlCdromDiskType = uint32(0x20040) IoctlCdromEjectMedia = uint32(0x24808) IoctlCdromEnableStreaming = uint32(0x24068) IoctlCdromExclusiveAccess = uint32(0x2c05c) IoctlCdromFindNewDevices = uint32(0x24818) IoctlCdromGetConfiguration = uint32(0x24058) IoctlCdromGetControl = uint32(0x24034) IoctlCdromGetDriveGeometry = uint32(0x2404c) IoctlCdromGetDriveGeometryEx = uint32(0x24050) IoctlCdromGetInquiryData = uint32(0x24064) IoctlCdromGetLastSession = uint32(0x24038) IoctlCdromGetPerformance = uint32(0x24070) IoctlCdromGetVolume = uint32(0x24014) IoctlCdromLoadMedia = uint32(0x2480c) IoctlCdromMediaCatalog = uint32(0x2) IoctlCdromMediaRemoval = uint32(0x24804) IoctlCdromPauseAudio = uint32(0x2400c) IoctlCdromPlayAudioMsf = uint32(0x24018) IoctlCdromRawRead = uint32(0x2403e) IoctlCdromReadQChannel = uint32(0x2402c) IoctlCdromReadToc = uint32(0x24000) IoctlCdromReadTocEx = uint32(0x24054) IoctlCdromRelease = uint32(0x24814) IoctlCdromReserve = uint32(0x24810) IoctlCdromResumeAudio = uint32(0x24010) IoctlCdromSeekAudioMsf = uint32(0x24004) IoctlCdromSendOpcInformation = uint32(0x2c06c) IoctlCdromSetSpeed = uint32(0x24060) IoctlCdromSetVolume = uint32(0x24028) IoctlCdromSimbad = uint32(0x2400c) IoctlCdromStopAudio = uint32(0x24008) IoctlCdromSubQChannel = uint32(0x0) IoctlCdromTrackIsrc = uint32(0x3) IoctlCdromUnloadDriver = uint32(0x25008) IoctlChangerExchangeMedium = uint32(0x304020) IoctlChangerGetElementStatus = uint32(0x30c014) IoctlChangerGetParameters = uint32(0x304000) IoctlChangerGetProductData = uint32(0x304008) IoctlChangerGetStatus = uint32(0x304004) IoctlChangerInitializeElementStatus = uint32(0x304018) IoctlChangerMoveMedium = uint32(0x304024) IoctlChangerQueryVolumeTags = uint32(0x30c02c) IoctlChangerReinitializeTransport = uint32(0x304028) IoctlChangerSetAccess = uint32(0x30c010) IoctlChangerSetPosition = uint32(0x30401c) IoctlDiskCheckVerify = uint32(0x74800) IoctlDiskControllerNumber = uint32(0x70044) IoctlDiskCopyData = uint32(0x7c064) IoctlDiskCreateDisk = uint32(0x7c058) IoctlDiskDeleteDriveLayout = uint32(0x7c100) IoctlDiskEjectMedia = uint32(0x74808) IoctlDiskFindNewDevices = uint32(0x74818) IoctlDiskFormatDrive = uint32(0x7c3cc) IoctlDiskFormatTracks = uint32(0x7c018) IoctlDiskFormatTracksEx = uint32(0x7c02c) IoctlDiskGetCacheInformation = uint32(0x740d4) IoctlDiskGetCacheSetting = uint32(0x740e0) IoctlDiskGetDiskAttributes = uint32(0x700f0) IoctlDiskGetDriveGeometry = uint32(0x70000) IoctlDiskGetDriveGeometryEx = uint32(0x700a0) IoctlDiskGetDriveLayout = uint32(0x7400c) IoctlDiskGetDriveLayoutEx = uint32(0x70050) IoctlDiskGetLengthInfo = uint32(0x7405c) IoctlDiskGetMediaTypes = uint32(0x70c00) IoctlDiskGetPartitionAttributes = uint32(0x700e8) IoctlDiskGetPartitionInfo = uint32(0x74004) IoctlDiskGetPartitionInfoEx = uint32(0x70048) IoctlDiskGetSanSettings = uint32(0x74200) IoctlDiskGetSnapshotInfo = uint32(0x74208) IoctlDiskGetWriteCacheState = uint32(0x740dc) IoctlDiskGrowPartition = uint32(0x7c0d0) IoctlDiskHistogramData = uint32(0x70034) IoctlDiskHistogramReset = uint32(0x70038) IoctlDiskHistogramStructure = uint32(0x70030) IoctlDiskInternalClearVerify = uint32(0x70407) IoctlDiskInternalSetNotify = uint32(0x70408) IoctlDiskInternalSetVerify = uint32(0x70403) IoctlDiskIsClustered = uint32(0x700f8) IoctlDiskIsWritable = uint32(0x70024) IoctlDiskLoadMedia = uint32(0x7480c) IoctlDiskLogging = uint32(0x70028) IoctlDiskMediaRemoval = uint32(0x74804) IoctlDiskPerformance = uint32(0x70020) IoctlDiskPerformanceOff = uint32(0x70060) IoctlDiskReassignBlocks = uint32(0x7c01c) IoctlDiskReassignBlocksEx = uint32(0x7c0a4) IoctlDiskRelease = uint32(0x74814) IoctlDiskRequestData = uint32(0x70040) IoctlDiskRequestStructure = uint32(0x7003c) IoctlDiskReserve = uint32(0x74810) IoctlDiskResetSnapshotInfo = uint32(0x7c210) IoctlDiskSenseDevice = uint32(0x703e0) IoctlDiskSetCacheInformation = uint32(0x7c0d8) IoctlDiskSetCacheSetting = uint32(0x7c0e4) IoctlDiskSetDiskAttributes = uint32(0x7c0f4) IoctlDiskSetDriveLayout = uint32(0x7c010) IoctlDiskSetDriveLayoutEx = uint32(0x7c054) IoctlDiskSetPartitionAttributes = uint32(0x7c0ec) IoctlDiskSetPartitionInfo = uint32(0x7c008) IoctlDiskSetPartitionInfoEx = uint32(0x7c04c) IoctlDiskSetSanSettings = uint32(0x7c204) IoctlDiskSetSnapshotInfo = uint32(0x7c20c) IoctlDiskSimbad = uint32(0x7d000) IoctlDiskUpdateDriveSize = uint32(0x7c0c8) IoctlDiskUpdateProperties = uint32(0x70140) IoctlDiskVerify = uint32(0x70014) IoctlDot4AddActivityBroadcast = uint32(0x3a2014) IoctlDot4CloseChannel = uint32(0x3a2008) IoctlDot4CreateSocket = uint32(0x3a2022) IoctlDot4DestroySocket = uint32(0x3a202a) IoctlDot4Last = uint32(0x80a) IoctlDot4OpenChannel = uint32(0x3a2006) IoctlDot4Read = uint32(0x3a200e) IoctlDot4RemoveActivityBroadcast = uint32(0x3a2018) IoctlDot4WaitActivityBroadcast = uint32(0x3a201e) IoctlDot4WaitForChannel = uint32(0x3a2026) IoctlDot4Write = uint32(0x3a2011) IoctlDvdEndSession = uint32(0x33500c) IoctlDvdGetRegion = uint32(0x335014) IoctlDvdReadKey = uint32(0x335004) IoctlDvdReadStructure = uint32(0x335140) IoctlDvdSendKey = uint32(0x335008) IoctlDvdSendKey2 = uint32(0x33d018) IoctlDvdSetReadAhead = uint32(0x335010) IoctlDvdStartSession = uint32(0x335000) IoctlEhstorDeviceEnumeratePdos = uint32(0x2d1410) IoctlEhstorDeviceGetAuthzState = uint32(0x2d1408) IoctlEhstorDeviceSetAuthzState = uint32(0x2d1404) IoctlEhstorDeviceSiloCommand = uint32(0x2d140c) IoctlEnterPriorityReceive = uint32(0x0000) IoctlFsvideoCopyFrameBuffer = uint32(0x340800) IoctlFsvideoReverseMousePointer = uint32(0x340808) IoctlFsvideoSetCurrentMode = uint32(0x34080c) IoctlFsvideoSetCursorPosition = uint32(0x340814) IoctlFsvideoSetScreenInformation = uint32(0x340810) IoctlFsvideoWriteToFrameBuffer = uint32(0x340804) IoctlGetChannelAlignRqst = uint32(0x80002014) IoctlGetDeviceDescriptor = uint32(0x80002018) IoctlGetHcdDriverkeyName = uint32(0x220424) IoctlGetNumDeviceInputBuffers = uint32(0xb01a0) IoctlGetPhysicalDescriptor = uint32(0xb019a) IoctlGetPipeConfiguration = uint32(0x80002028) IoctlGetProcessorObjInfo = uint32(0x294180) IoctlGetSysButtonCaps = uint32(0x294140) IoctlGetSysButtonEvent = uint32(0x294144) IoctlGetTupleData = uint32(0x42ee0) IoctlGetUsbDescriptor = uint32(0x80002020) IoctlGetVersion = uint32(0x80002000) IoctlHidActivateDevice = uint32(0xb001f) IoctlHidDeactivateDevice = uint32(0xb0023) IoctlHidDisableSecureRead = uint32(0xb020f) IoctlHidEnableSecureRead = uint32(0xb020b) IoctlHidFlushQueue = uint32(0xb0197) IoctlHidGetCollectionDescriptor = uint32(0xb0193) IoctlHidGetCollectionInformation = uint32(0xb01a8) IoctlHidGetDeviceAttributes = uint32(0xb0027) IoctlHidGetDeviceDescriptor = uint32(0xb0003) IoctlHidGetDriverConfig = uint32(0xb0190) IoctlHidGetFeature = uint32(0xb0192) IoctlHidGetFriendlyName = uint32(0x0000) IoctlHidGetHardwareId = uint32(0xb019e) IoctlHidGetIndexedString = uint32(0xb01e2) IoctlHidGetInputReport = uint32(0xb01a2) IoctlHidGetManufacturerString = uint32(0xb01ba) IoctlHidGetMsGenreDescriptor = uint32(0xb01e6) IoctlHidGetPollFrequencyMsec = uint32(0xb0198) IoctlHidGetProductString = uint32(0xb01be) IoctlHidGetReportDescriptor = uint32(0xb0007) IoctlHidGetSerialnumberString = uint32(0xb01c2) IoctlHidGetString = uint32(0xb0013) IoctlHidReadReport = uint32(0xb000b) IoctlHidSendIdleNotificationRequest = uint32(0xb002b) IoctlHidSetDriverConfig = uint32(0xb0194) IoctlHidSetFeature = uint32(0xb0191) IoctlHidSetOutputReport = uint32(0xb0195) IoctlHidSetPollFrequencyMsec = uint32(0xb019c) IoctlHidWriteReport = uint32(0xb000f) IoctlIdePassThrough = uint32(0x4d028) IoctlIeee1284GetMode = uint32(0x160014) IoctlIeee1284Negotiate = uint32(0x160018) IoctlIeee1394ApiRequest = uint32(0x220400) IoctlInternalBthenumGetDevinfo = uint32(0x41000b) IoctlInternalBthenumGetEnuminfo = uint32(0x410007) IoctlInternalBthSubmitBrb = uint32(0x410003) IoctlInternalDeselectDevice = uint32(0x160060) IoctlInternalDisableEndOfChainBusRescan = uint32(0x1600d8) IoctlInternalDisconnectIdle = uint32(0x160080) IoctlInternalEnableEndOfChainBusRescan = uint32(0x1600dc) IoctlInternalGetMoreParallelPortInfo = uint32(0x160044) IoctlInternalGetParallelPnpInfo = uint32(0x160054) IoctlInternalGetParallelPortInfo = uint32(0x160030) IoctlInternalGetParportFdo = uint32(0x160074) IoctlInternalI8042ControllerWriteBuffer = uint32(0xb3fcb) IoctlInternalI8042HookKeyboard = uint32(0xb3fc3) IoctlInternalI8042HookMouse = uint32(0xf3fc3) IoctlInternalI8042KeyboardStartInformation = uint32(0xb3fcf) IoctlInternalI8042KeyboardWriteBuffer = uint32(0xb3fc7) IoctlInternalI8042MouseStartInformation = uint32(0xf3fcf) IoctlInternalI8042MouseWriteBuffer = uint32(0xf3fc7) IoctlInternalInit12843Bus = uint32(0x160058) IoctlInternalKeyboardConnect = uint32(0xb0203) IoctlInternalKeyboardDisable = uint32(0xb1003) IoctlInternalKeyboardDisconnect = uint32(0xb0403) IoctlInternalKeyboardEnable = uint32(0xb0803) IoctlInternalLockPort = uint32(0x160094) IoctlInternalLockPortNoSelect = uint32(0x1600d0) IoctlInternalMouseConnect = uint32(0xf0203) IoctlInternalMouseDisable = uint32(0xf1003) IoctlInternalMouseDisconnect = uint32(0xf0403) IoctlInternalMouseEnable = uint32(0xf0803) IoctlInternalParallelClearChipMode = uint32(0x160050) IoctlInternalParallelConnectInterrupt = uint32(0x160034) IoctlInternalParallelDisconnectInterrupt = uint32(0x160038) IoctlInternalParallelPortAllocate = uint32(0x16002c) IoctlInternalParallelPortFree = uint32(0x1600a0) IoctlInternalParallelSetChipMode = uint32(0x16004c) IoctlInternalParchipConnect = uint32(0x160048) IoctlInternalParclassConnect = uint32(0x160078) IoctlInternalParclassDisconnect = uint32(0x16007c) IoctlInternalPardot3Connect = uint32(0x1600a4) IoctlInternalPardot3Disconnect = uint32(0x1600a8) IoctlInternalPardot3Reset = uint32(0x1600ac) IoctlInternalPardot3Signal = uint32(0x1600b0) IoctlInternalRegisterForRemovalRelations = uint32(0x1600c8) IoctlInternalReleaseParallelPortInfo = uint32(0x16003c) IoctlInternalSelectDevice = uint32(0x16005c) IoctlInternalSerenumRemoveSelf = uint32(0x370207) IoctlInternalUnlockPort = uint32(0x160098) IoctlInternalUnlockPortNoDeselect = uint32(0x1600d4) IoctlInternalUnregisterForRemovalRelations = uint32(0x1600cc) IoctlInternalUsbCyclePort = uint32(0x22001f) IoctlInternalUsbEnablePort = uint32(0x220017) IoctlInternalUsbGetBusguidInfo = uint32(0x220428) IoctlInternalUsbGetBusInfo = uint32(0x220420) IoctlInternalUsbGetControllerName = uint32(0x220424) IoctlInternalUsbGetDeviceConfigInfo = uint32(0x22044f) IoctlInternalUsbGetDeviceHandle = uint32(0x220433) IoctlInternalUsbGetDeviceHandleEx = uint32(0x220437) IoctlInternalUsbGetHubCount = uint32(0x22001b) IoctlInternalUsbGetHubName = uint32(0x220020) IoctlInternalUsbGetParentHubInfo = uint32(0x22042c) IoctlInternalUsbGetPortStatus = uint32(0x220013) IoctlInternalUsbGetRoothubPdo = uint32(0x22000f) IoctlInternalUsbGetTopologyAddress = uint32(0x22043f) IoctlInternalUsbGetTtDeviceHandle = uint32(0x22043b) IoctlInternalUsbNotifyIdleReady = uint32(0x220443) IoctlInternalUsbRecordFailure = uint32(0x22002b) IoctlInternalUsbReqGlobalResume = uint32(0x22044b) IoctlInternalUsbReqGlobalSuspend = uint32(0x220447) IoctlInternalUsbResetPort = uint32(0x220007) IoctlInternalUsbSubmitIdleNotification = uint32(0x220027) IoctlInternalUsbSubmitUrb = uint32(0x220003) IoctlIpAddchangeNotifyRequest = uint32(0x66) IoctlIpGetBestInterface = uint32(0x69) IoctlIpInterfaceInfo = uint32(0x68) IoctlIpRtchangeNotifyRequest = uint32(0x65) IoctlIpSetFirewallHook = uint32(0x128030) IoctlIpUnidirectionalAdapterAddress = uint32(0x6a) IoctlIrEnterPriorityReceive = uint32(0xf608028) IoctlIrEnterPriorityReceiveParams = uint32(0x0000) IoctlIrExitPriorityReceive = uint32(0xf60802c) IoctlIrFlashReceiver = uint32(0xf60800c) IoctlIrGetDevcaps = uint32(0x0000) IoctlIrGetDevCaps = uint32(0xf604004) IoctlIrGetEmitters = uint32(0xf604008) IoctlIrHandshake = uint32(0xf600024) IoctlIrPriorityReceive = uint32(0xf604022) IoctlIrReceive = uint32(0xf60401a) IoctlIrResetDevice = uint32(0xf608010) IoctlIrSetWakePattern = uint32(0xf608038) IoctlIrTransmit = uint32(0xf608015) IoctlIrUserClose = uint32(0xf608034) IoctlIrUserOpen = uint32(0xf608030) IoctlKeyboardInsertData = uint32(0xb0100) IoctlKeyboardQueryAttributes = uint32(0xb0000) IoctlKeyboardQueryImeStatus = uint32(0xb1000) IoctlKeyboardQueryIndicators = uint32(0xb0040) IoctlKeyboardQueryIndicatorTranslation = uint32(0xb0080) IoctlKeyboardQueryTypematic = uint32(0xb0020) IoctlKeyboardSetImeStatus = uint32(0xb1004) IoctlKeyboardSetIndicators = uint32(0xb0008) IoctlKeyboardSetTypematic = uint32(0xb0004) IoctlKsDisableEvent = uint32(0x2f000b) IoctlKsEnableEvent = uint32(0x2f0007) IoctlKsHandshake = uint32(0x2f001f) IoctlKsMethod = uint32(0x2f000f) IoctlKsProperty = uint32(0x2f0003) IoctlKsReadStream = uint32(0x2f4017) IoctlKsResetState = uint32(0x2f001b) IoctlKsWriteStream = uint32(0x2f8013) IoctlLmrAreFileObjectsOnSameServer = uint32(0x1400f0) IoctlMiniportProcessServiceIrp = uint32(0x4d038) IoctlModemCheckForModem = uint32(0x2b002c) IoctlModemGetDle = uint32(0x2b0010) IoctlModemGetMessage = uint32(0x2b0020) IoctlModemGetPassthrough = uint32(0x2b0004) IoctlModemSendGetMessage = uint32(0x2b0024) IoctlModemSendLoopbackMessage = uint32(0x2b0028) IoctlModemSendMessage = uint32(0x2b001c) IoctlModemSetDleMonitoring = uint32(0x2b000c) IoctlModemSetDleShielding = uint32(0x2b0014) IoctlModemSetMinPower = uint32(0x2b0030) IoctlModemSetPassthrough = uint32(0x2b0008) IoctlModemStopWaveReceive = uint32(0x2b0018) IoctlModemWatchForResume = uint32(0x2b0034) IoctlMountdevLinkCreated = uint32(0x4dc010) IoctlMountdevLinkDeleted = uint32(0x4dc014) IoctlMountdevQueryDeviceName = uint32(0x4d0008) IoctlMountdevQueryStableGuid = uint32(0x4d0018) IoctlMountdevQuerySuggestedLinkName = uint32(0x4d000c) IoctlMountdevQueryUniqueId = uint32(0x4d0000) IoctlMountmgrAutoDlAssignments = uint32(0x6dc014) IoctlMountmgrBootDlAssignment = uint32(0x6dc044) IoctlMountmgrChangeNotify = uint32(0x6d4020) IoctlMountmgrCheckUnprocessedVolumes = uint32(0x6d4028) IoctlMountmgrCreatePoint = uint32(0x6dc000) IoctlMountmgrDeletePoints = uint32(0x6dc004) IoctlMountmgrDeletePointsDbonly = uint32(0x6dc00c) IoctlMountmgrKeepLinksWhenOffline = uint32(0x6dc024) IoctlMountmgrNextDriveLetter = uint32(0x6dc010) IoctlMountmgrQueryAutoMount = uint32(0x6d003c) IoctlMountmgrQueryDosVolumePath = uint32(0x6d0030) IoctlMountmgrQueryDosVolumePaths = uint32(0x6d0034) IoctlMountmgrQueryPoints = uint32(0x6d0008) IoctlMountmgrScrubRegistry = uint32(0x6dc038) IoctlMountmgrSetAutoMount = uint32(0x6dc040) IoctlMountmgrTracelogCache = uint32(0x6d4048) IoctlMountmgrVolumeArrivalNotification = uint32(0x6d402c) IoctlMountmgrVolumeMountPointCreated = uint32(0x6dc018) IoctlMountmgrVolumeMountPointDeleted = uint32(0x6dc01c) IoctlMouseInsertData = uint32(0xf0004) IoctlMouseQueryAttributes = uint32(0xf0000) IoctlMpdsmDeregister = uint32(0x736dc008) IoctlMpdsmRegister = uint32(0x736dc004) IoctlMpioPassThroughPath = uint32(0x4d03c) IoctlMpioPassThroughPathDirect = uint32(0x4d040) IoctlMtpCustomCommand = uint32(0x3150544d) IoctlNdisAddTdiDevice = uint32(0x170014) IoctlNdisDoPnpOperation = uint32(0x170008) IoctlNdisEnumerateInterfaces = uint32(0x170010) IoctlNdisGetLogData = uint32(0x17001e) IoctlNdisGetVersion = uint32(0x170020) IoctlNdisQueryAllStats = uint32(0x170006) IoctlNdisQueryGlobalStats = uint32(0x170002) IoctlNdisQuerySelectedStats = uint32(0x17000e) IoctlNdisReserved1 = uint32(0x170024) IoctlNdisReserved10 = uint32(0x170048) IoctlNdisReserved11 = uint32(0x17004c) IoctlNdisReserved12 = uint32(0x170050) IoctlNdisReserved13 = uint32(0x170054) IoctlNdisReserved14 = uint32(0x170058) IoctlNdisReserved15 = uint32(0x17005c) IoctlNdisReserved16 = uint32(0x170060) IoctlNdisReserved17 = uint32(0x170064) IoctlNdisReserved18 = uint32(0x170068) IoctlNdisReserved19 = uint32(0x17006c) IoctlNdisReserved2 = uint32(0x170028) IoctlNdisReserved20 = uint32(0x170070) IoctlNdisReserved21 = uint32(0x170074) IoctlNdisReserved22 = uint32(0x170078) IoctlNdisReserved3 = uint32(0x17002c) IoctlNdisReserved4 = uint32(0x170030) IoctlNdisReserved5 = uint32(0x170034) IoctlNdisReserved6 = uint32(0x178038) IoctlNdisReserved7 = uint32(0x17003e) IoctlNdisReserved8 = uint32(0x170040) IoctlNdisReserved9 = uint32(0x170044) IoctlNotifySwitchEvent = uint32(0x294100) IoctlParEcpHostRecovery = uint32(0x160034) IoctlParGetDefaultModes = uint32(0x160028) IoctlParGetDeviceCaps = uint32(0x160024) IoctlParGetReadAddress = uint32(0x160038) IoctlParGetWriteAddress = uint32(0x16003c) IoctlParIsPortFree = uint32(0x160054) IoctlParPing = uint32(0x16002c) IoctlParQueryDeviceId = uint32(0x16000c) IoctlParQueryDeviceIdSize = uint32(0x160010) IoctlParQueryInformation = uint32(0x160004) IoctlParQueryLocation = uint32(0x160058) IoctlParQueryRawDeviceId = uint32(0x160030) IoctlParSetInformation = uint32(0x160008) IoctlParSetReadAddress = uint32(0x160020) IoctlParSetWriteAddress = uint32(0x16001c) IoctlParTest = uint32(0x160050) IoctlPcmciaHideDevice = uint32(0x4af08) IoctlPcmciaRevealDevice = uint32(0x4af0c) IoctlPfSetExtensionPointer = uint32(0x128058) IoctlPmiGetCapabilities = uint32(0x454000) IoctlPmiGetConfiguration = uint32(0x454004) IoctlPmiGetMeasurement = uint32(0x45400c) IoctlPmiRegisterEventNotify = uint32(0x45c010) IoctlPmiSetConfiguration = uint32(0x458008) IoctlQueryDevicePowerState = uint32(0x294000) IoctlQueryLid = uint32(0x2940c0) IoctlReadRegisters = uint32(0x8000200c) IoctlRedirQueryPath = uint32(0x14018f) IoctlRedirQueryPathEx = uint32(0x140193) IoctlResetPipe = uint32(0x8000201c) IoctlRunActiveCoolingMethod = uint32(0x298088) IoctlScsiscanCmd = uint32(0x190012) IoctlScsiscanGetInfo = uint32(0x190022) IoctlScsiscanLockdevice = uint32(0x190016) IoctlScsiscanSetTimeout = uint32(0x19001c) IoctlScsiscanUnlockdevice = uint32(0x19001a) IoctlScsiExecuteIn = uint32(0x1b0011) IoctlScsiExecuteNone = uint32(0x1b0013) IoctlScsiExecuteOut = uint32(0x1b0012) IoctlScsiFreeDumpPointers = uint32(0x41024) IoctlScsiGetAddress = uint32(0x41018) IoctlScsiGetCapabilities = uint32(0x41010) IoctlScsiGetDumpPointers = uint32(0x41020) IoctlScsiGetInquiryData = uint32(0x4100c) IoctlScsiMiniport = uint32(0x4d008) IoctlScsiMiniportDisableSmart = uint32(0x1b0505) IoctlScsiMiniportEnableDisableAutosave = uint32(0x1b0507) IoctlScsiMiniportEnableDisableAutoOffline = uint32(0x1b050a) IoctlScsiMiniportEnableSmart = uint32(0x1b0504) IoctlScsiMiniportExecuteOfflineDiags = uint32(0x1b0509) IoctlScsiMiniportIdentify = uint32(0x1b0501) IoctlScsiMiniportNotClusterCapable = uint32(0x1b0521) IoctlScsiMiniportNotQuorumCapable = uint32(0x1b0520) IoctlScsiMiniportNvcache = uint32(0x1b0600) IoctlScsiMiniportReadSmartAttribs = uint32(0x1b0502) IoctlScsiMiniportReadSmartLog = uint32(0x1b050b) IoctlScsiMiniportReadSmartThresholds = uint32(0x1b0503) IoctlScsiMiniportReturnStatus = uint32(0x1b0506) IoctlScsiMiniportSaveAttributeValues = uint32(0x1b0508) IoctlScsiMiniportSmartVersion = uint32(0x1b0500) IoctlScsiMiniportWriteSmartLog = uint32(0x1b050c) IoctlScsiPassThrough = uint32(0x4d004) IoctlScsiPassThroughDirect = uint32(0x4d014) IoctlScsiRescanBus = uint32(0x4101c) IoctlSdSubmitRequest = uint32(0x43073) IoctlSendUsbRequest = uint32(0x80002024) IoctlSerenumExposeHardware = uint32(0x370200) IoctlSerenumGetPortName = uint32(0x37020c) IoctlSerenumPortDesc = uint32(0x370208) IoctlSerenumRemoveHardware = uint32(0x370204) IoctlSerialClearStats = uint32(0x1b0090) IoctlSerialClrDtr = uint32(0x1b0028) IoctlSerialClrRts = uint32(0x1b0034) IoctlSerialConfigSize = uint32(0x1b0080) IoctlSerialGetBaudRate = uint32(0x1b0050) IoctlSerialGetChars = uint32(0x1b0058) IoctlSerialGetCommconfig = uint32(0x1b0084) IoctlSerialGetCommstatus = uint32(0x1b006c) IoctlSerialGetDtrrts = uint32(0x1b0078) IoctlSerialGetHandflow = uint32(0x1b0060) IoctlSerialGetLineControl = uint32(0x1b0054) IoctlSerialGetModemstatus = uint32(0x1b0068) IoctlSerialGetModemControl = uint32(0x1b0094) IoctlSerialGetProperties = uint32(0x1b0074) IoctlSerialGetStats = uint32(0x1b008c) IoctlSerialGetTimeouts = uint32(0x1b0020) IoctlSerialGetWaitMask = uint32(0x1b0040) IoctlSerialImmediateChar = uint32(0x1b0018) IoctlSerialInternalBasicSettings = uint32(0x1b000c) IoctlSerialInternalCancelWaitWake = uint32(0x1b0008) IoctlSerialInternalDoWaitWake = uint32(0x1b0004) IoctlSerialInternalRestoreSettings = uint32(0x1b0010) IoctlSerialLsrmstInsert = uint32(0x1b007c) IoctlSerialPurge = uint32(0x1b004c) IoctlSerialResetDevice = uint32(0x1b002c) IoctlSerialSetBaudRate = uint32(0x1b0004) IoctlSerialSetBreakOff = uint32(0x1b0014) IoctlSerialSetBreakOn = uint32(0x1b0010) IoctlSerialSetChars = uint32(0x1b005c) IoctlSerialSetCommconfig = uint32(0x1b0088) IoctlSerialSetDtr = uint32(0x1b0024) IoctlSerialSetFifoControl = uint32(0x1b009c) IoctlSerialSetHandflow = uint32(0x1b0064) IoctlSerialSetLineControl = uint32(0x1b000c) IoctlSerialSetModemControl = uint32(0x1b0098) IoctlSerialSetQueueSize = uint32(0x1b0008) IoctlSerialSetRts = uint32(0x1b0030) IoctlSerialSetTimeouts = uint32(0x1b001c) IoctlSerialSetWaitMask = uint32(0x1b0044) IoctlSerialSetXoff = uint32(0x1b0038) IoctlSerialSetXon = uint32(0x1b003c) IoctlSerialWaitOnMask = uint32(0x1b0048) IoctlSerialXoffCounter = uint32(0x1b0070) IoctlSetDeviceWake = uint32(0x298004) IoctlSetNumDeviceInputBuffers = uint32(0xb01a4) IoctlSetServerState = uint32(0x2b003c) IoctlSetSysMessageIndicator = uint32(0x2981c0) IoctlSetTimeout = uint32(0x8000202c) IoctlSffdiskDeviceCommand = uint32(0x79e84) IoctlSffdiskDevicePassword = uint32(0x79e88) IoctlSffdiskQueryDeviceProtocol = uint32(0x71e80) IoctlSmartcardConfiscate = uint32(0x310010) IoctlSmartcardEject = uint32(0x310018) IoctlSmartcardGetAttribute = uint32(0x310008) IoctlSmartcardGetLastError = uint32(0x31003c) IoctlSmartcardGetPerfCntr = uint32(0x310040) IoctlSmartcardGetState = uint32(0x310038) IoctlSmartcardIsAbsent = uint32(0x31002c) IoctlSmartcardIsPresent = uint32(0x310028) IoctlSmartcardPower = uint32(0x310004) IoctlSmartcardSetAttribute = uint32(0x31000c) IoctlSmartcardSetProtocol = uint32(0x310030) IoctlSmartcardSwallow = uint32(0x31001c) IoctlSmartcardTransmit = uint32(0x310014) IoctlSocketInformation = uint32(0x42ef0) IoctlStorageAllocateBcStream = uint32(0x2dd804) IoctlStorageBcVersion = uint32(0x1) IoctlStorageBreakReservation = uint32(0x2d5014) IoctlStorageCheckPriorityHintSupport = uint32(0x2d1880) IoctlStorageCheckVerify = uint32(0x2d4800) IoctlStorageCheckVerify2 = uint32(0x2d0800) IoctlStorageEjectionControl = uint32(0x2d0940) IoctlStorageEjectMedia = uint32(0x2d4808) IoctlStorageFindNewDevices = uint32(0x2d4818) IoctlStorageFreeBcStream = uint32(0x2dd808) IoctlStorageGetBcProperties = uint32(0x2d5800) IoctlStorageGetDeviceNumber = uint32(0x2d1080) IoctlStorageGetHotplugInfo = uint32(0x2d0c14) IoctlStorageGetMediaSerialNumber = uint32(0x2d0c10) IoctlStorageGetMediaTypes = uint32(0x2d0c00) IoctlStorageGetMediaTypesEx = uint32(0x2d0c04) IoctlStorageLoadMedia = uint32(0x2d480c) IoctlStorageLoadMedia2 = uint32(0x2d080c) IoctlStorageManageDataSetAttributes = uint32(0x2d9404) IoctlStorageMcnControl = uint32(0x2d0944) IoctlStorageMediaRemoval = uint32(0x2d4804) IoctlStoragePersistentReserveIn = uint32(0x2d5018) IoctlStoragePersistentReserveOut = uint32(0x2dd01c) IoctlStoragePredictFailure = uint32(0x2d1100) IoctlStorageQueryProperty = uint32(0x2d1400) IoctlStorageReadCapacity = uint32(0x2d5140) IoctlStorageRelease = uint32(0x2d4814) IoctlStorageReserve = uint32(0x2d4810) IoctlStorageResetBus = uint32(0x2d5000) IoctlStorageResetDevice = uint32(0x2d5004) IoctlStorageSetHotplugInfo = uint32(0x2dcc18) IoctlStorageSetReadAhead = uint32(0x2d4400) IoctlSwenumGetBusId = uint32(0x2a400b) IoctlSwenumInstallInterface = uint32(0x2a0000) IoctlSwenumRemoveInterface = uint32(0x2a0004) IoctlTapeCheckVerify = uint32(0x1f4800) IoctlTapeCreatePartition = uint32(0x1fc028) IoctlTapeEjectMedia = uint32(0x1f4808) IoctlTapeErase = uint32(0x1fc000) IoctlTapeFindNewDevices = uint32(0x74818) IoctlTapeGetDriveParams = uint32(0x1f4014) IoctlTapeGetMediaParams = uint32(0x1f401c) IoctlTapeGetPosition = uint32(0x1f400c) IoctlTapeGetStatus = uint32(0x1f4024) IoctlTapeLoadMedia = uint32(0x1f480c) IoctlTapeMediaRemoval = uint32(0x1f4804) IoctlTapePrepare = uint32(0x1f4004) IoctlTapeRelease = uint32(0x1f4814) IoctlTapeReserve = uint32(0x1f4810) IoctlTapeSetDriveParams = uint32(0x1fc018) IoctlTapeSetMediaParams = uint32(0x1f4020) IoctlTapeSetPosition = uint32(0x1f4010) IoctlTapeWriteMarks = uint32(0x1fc008) IoctlTcpQueryInformationEx = uint32(0x120003) IoctlTdiAccept = uint32(0x210000) IoctlTdiAction = uint32(0x210036) IoctlTdiAssociateAddress = uint32(0x21002c) IoctlTdiConnect = uint32(0x210004) IoctlTdiDisassociateAddress = uint32(0x210030) IoctlTdiDisconnect = uint32(0x210008) IoctlTdiListen = uint32(0x21000c) IoctlTdiMagicBullet = uint32(0x2101ff) IoctlTdiQueryDirectSenddgHandler = uint32(0x210207) IoctlTdiQueryDirectSendHandler = uint32(0x210203) IoctlTdiQueryInformation = uint32(0x210012) IoctlTdiReceive = uint32(0x210016) IoctlTdiReceiveDatagram = uint32(0x21001a) IoctlTdiSend = uint32(0x21001d) IoctlTdiSendDatagram = uint32(0x210021) IoctlTdiSetEventHandler = uint32(0x210024) IoctlTdiSetInformation = uint32(0x210029) IoctlTdiTlIoControlEndpoint = uint32(0x210038) IoctlThermalQueryInformation = uint32(0x294080) IoctlThermalSetCoolingPolicy = uint32(0x298084) IoctlUsbprintGet1284Id = uint32(0x220034) IoctlUsbprintGetLptStatus = uint32(0x220030) IoctlUsbprintSoftReset = uint32(0x220040) IoctlUsbprintVendorGetCommand = uint32(0x22003c) IoctlUsbprintVendorSetCommand = uint32(0x220038) IoctlUsbDiagnosticModeOff = uint32(0x220404) IoctlUsbDiagnosticModeOn = uint32(0x220400) IoctlUsbDiagIgnoreHubsOff = uint32(0x22041c) IoctlUsbDiagIgnoreHubsOn = uint32(0x220418) IoctlUsbGetDescriptorFromNodeConnection = uint32(0x220410) IoctlUsbGetHubCapabilities = uint32(0x22043c) IoctlUsbGetHubCapabilitiesEx = uint32(0x220450) IoctlUsbGetNodeConnectionAttributes = uint32(0x220440) IoctlUsbGetNodeConnectionDriverkeyName = uint32(0x220420) IoctlUsbGetNodeConnectionInformation = uint32(0x22040c) IoctlUsbGetNodeConnectionInformationEx = uint32(0x220448) IoctlUsbGetNodeConnectionName = uint32(0x220414) IoctlUsbGetNodeInformation = uint32(0x220408) IoctlUsbGetRootHubName = uint32(0x220408) IoctlUsbHcdDisablePort = uint32(0x220430) IoctlUsbHcdEnablePort = uint32(0x220434) IoctlUsbHcdGetStats1 = uint32(0x2203fc) IoctlUsbHcdGetStats2 = uint32(0x220428) IoctlUsbHubCyclePort = uint32(0x220444) IoctlUsbResetHub = uint32(0x22044c) IoctlUsbUserRequest = uint32(0x220438) IoctlVideoDisableCursor = uint32(0x230424) IoctlVideoDisablePointer = uint32(0x23043c) IoctlVideoDisableVdm = uint32(0x230004) IoctlVideoEnableCursor = uint32(0x230420) IoctlVideoEnablePointer = uint32(0x230438) IoctlVideoEnableVdm = uint32(0x230000) IoctlVideoEnumMonitorPdo = uint32(0x230018) IoctlVideoFreePublicAccessRanges = uint32(0x230464) IoctlVideoGetBankSelectCode = uint32(0x230454) IoctlVideoGetChildState = uint32(0x230480) IoctlVideoGetOutputDevicePowerState = uint32(0x230010) IoctlVideoGetPowerManagement = uint32(0x230470) IoctlVideoHandleVideoparameters = uint32(0x230020) IoctlVideoInitWin32kCallbacks = uint32(0x23001c) IoctlVideoIsVgaDevice = uint32(0x230024) IoctlVideoLoadAndSetFont = uint32(0x230414) IoctlVideoMapVideoMemory = uint32(0x230458) IoctlVideoMonitorDevice = uint32(0x230014) IoctlVideoPrepareForEarecovery = uint32(0x23002c) IoctlVideoQueryAvailModes = uint32(0x230400) IoctlVideoQueryColorCapabilities = uint32(0x230468) IoctlVideoQueryCurrentMode = uint32(0x230408) IoctlVideoQueryCursorAttr = uint32(0x23042c) IoctlVideoQueryCursorPosition = uint32(0x230434) IoctlVideoQueryDisplayBrightness = uint32(0x230498) IoctlVideoQueryNumAvailModes = uint32(0x230404) IoctlVideoQueryPointerAttr = uint32(0x230444) IoctlVideoQueryPointerCapabilities = uint32(0x230450) IoctlVideoQueryPointerPosition = uint32(0x23044c) IoctlVideoQueryPublicAccessRanges = uint32(0x230460) IoctlVideoQuerySupportedBrightness = uint32(0x230494) IoctlVideoRegisterVdm = uint32(0x230008) IoctlVideoResetDevice = uint32(0x230410) IoctlVideoRestoreHardwareState = uint32(0x230204) IoctlVideoSaveHardwareState = uint32(0x230200) IoctlVideoSetBankPosition = uint32(0x230490) IoctlVideoSetChildStateConfiguration = uint32(0x230488) IoctlVideoSetColorLutData = uint32(0x23047c) IoctlVideoSetColorRegisters = uint32(0x23041c) IoctlVideoSetCurrentMode = uint32(0x23040c) IoctlVideoSetCursorAttr = uint32(0x230428) IoctlVideoSetCursorPosition = uint32(0x230430) IoctlVideoSetDisplayBrightness = uint32(0x23049c) IoctlVideoSetOutputDevicePowerState = uint32(0x23000c) IoctlVideoSetPaletteRegisters = uint32(0x230418) IoctlVideoSetPointerAttr = uint32(0x230440) IoctlVideoSetPointerPosition = uint32(0x230448) IoctlVideoSetPowerManagement = uint32(0x23046c) IoctlVideoSwitchDualview = uint32(0x23048c) IoctlVideoUnmapVideoMemory = uint32(0x23045c) IoctlVideoUseDeviceInSession = uint32(0x230028) IoctlVideoValidateChildStateConfiguration = uint32(0x230484) IoctlVolsnapFlushAndHoldWrites = uint32(0x53c000) IoctlVolumeAllocateBcStream = uint32(0x56c040) IoctlVolumeBcVersion = uint32(0x1) IoctlVolumeFreeBcStream = uint32(0x56c044) IoctlVolumeGetBcProperties = uint32(0x56403c) IoctlVolumeGetGptAttributes = uint32(0x560038) IoctlVolumeGetVolumeDiskExtents = uint32(0x560000) IoctlVolumeIsClustered = uint32(0x560030) IoctlVolumeIsDynamic = uint32(0x560048) IoctlVolumeIsIoCapable = uint32(0x560014) IoctlVolumeIsOffline = uint32(0x560010) IoctlVolumeIsPartition = uint32(0x560028) IoctlVolumeLogicalToPhysical = uint32(0x560020) IoctlVolumeOffline = uint32(0x56c00c) IoctlVolumeOnline = uint32(0x56c008) IoctlVolumePhysicalToLogical = uint32(0x560024) IoctlVolumePrepareForCriticalIo = uint32(0x56c04c) IoctlVolumePrepareForShrink = uint32(0x56c05c) IoctlVolumeQueryAllocationHint = uint32(0x564052) IoctlVolumeQueryFailoverSet = uint32(0x560018) IoctlVolumeQueryMinimumShrinkSize = uint32(0x564058) IoctlVolumeQueryVolumeNumber = uint32(0x56001c) IoctlVolumeReadPlex = uint32(0x56402e) IoctlVolumeSetGptAttributes = uint32(0x560034) IoctlVolumeSupportsOnlineOffline = uint32(0x560004) IoctlVolumeUpdateProperties = uint32(0x560054) IoctlWaitOnDeviceEvent = uint32(0x80002008) IoctlWmpDeviceCanSync = uint32(0x32504d57) IoctlWmpMetadataRoundTrip = uint32(0x31504d57) IoctlWpdMessageReadwriteAccess = uint32(0x40c108) IoctlWpdMessageReadAccess = uint32(0x404108) IoctlWriteRegisters = uint32(0x80002010) )
Reference: http://www.ioctls.net/ codegen:
function c(str) { var i, frags = str.split('_'); for (i=0; i<frags.length; i++) {frags[i] = frags[i].charAt(0).toUpperCase() + frags[i].slice(1).toLowerCase();} return frags.join(”);} s = ""; document.querySelector("table#main_table>tbody").querySelectorAll("tr").forEach((elem) => {s += (`${c(elem.children[0].innerText)} = uint32(${elem.children[1].innerText})\n`)}); console.log(s)
var ( VirtualStorageTypeVendorUnknown = uuid.Nil VirtualStorageTypeVendorMicrosoft = uuid.Must(uuid.FromBytes([]byte{ 0xEC, 0x98, 0x4A, 0xEC, 0xA0, 0xF9, 0x47, 0xE9, 0x90, 0x1F, 0x71, 0x41, 0x5A, 0x66, 0x34, 0x5B, })) )
UUID
var GuidDevInterfaceDisk = &windows.GUID{ Data1: 0x53F56307, Data2: 0xB6BF, Data3: 0x11D0, Data4: [8]byte{0x94, 0xF2, 0x00, 0xA0, 0xC9, 0x1E, 0xFB, 0x8B}, }
var Kernel32 kernel32
var Setupapi setupapi
var Virtdisk virtdisk
Functions ¶
Types ¶
type Access ¶
type Access uint32
const ( FileAnyAccess Access = 0 FileSpecialAccess Access = FileAnyAccess FileReadAccess Access = 0x0001 FileWriteAccess Access = 0x0002 )
type ApplySnapshotVhdSetFlag ¶
type ApplySnapshotVhdSetFlag uint16
const ( ApplySnapshotVhdSetFlagNone ApplySnapshotVhdSetFlag = 0x00000000 ApplySnapshotVhdSetFlagWritable ApplySnapshotVhdSetFlag = 0x00000001 )
type AttachVirtualDiskFlag ¶
type AttachVirtualDiskFlag uint16
const ( AttachVirtualDiskFlagNone AttachVirtualDiskFlag = 0x00000000 AttachVirtualDiskFlagReadOnly AttachVirtualDiskFlag = 0x00000001 AttachVirtualDiskFlagNoDriveLetter AttachVirtualDiskFlag = 0x00000002 AttachVirtualDiskFlagPermanentLifetime AttachVirtualDiskFlag = 0x00000004 AttachVirtualDiskFlagNoLocalHost AttachVirtualDiskFlag = 0x00000008 AttachVirtualDiskFlagNoSecurityDescriptor AttachVirtualDiskFlag = 0x00000010 AttachVirtualDiskFlagBypassDefaultEncryptionPolicy AttachVirtualDiskFlag = 0x00000020 AttachVirtualDiskFlagNonPnp AttachVirtualDiskFlag = 0x00000040 AttachVirtualDiskFlagRestrictedRange AttachVirtualDiskFlag = 0x0000080 AttachVirtualDiskFlagSinglePartition AttachVirtualDiskFlag = 0x00000100 AttachVirtualDiskFlagRegisterVolume AttachVirtualDiskFlag = 0x00000200 )
type CompactVirtualDiskFlag ¶
type CompactVirtualDiskFlag uint16
const ( CompactVirtualDiskFlagNone CompactVirtualDiskFlag = 0x00000000 CompactVirtualDiskFlagNoZeroScan CompactVirtualDiskFlag = 0x00000001 CompactVirtualDiskFlagNoBlockMoves CompactVirtualDiskFlag = 0x00000002 )
type CreateDiskGpt ¶
type CreateDiskGpt struct { PartitionStyle PartitionStyle DiskId uuid.UUID MaxPartitionCount uint32 }
type CreateDiskMbr ¶
type CreateDiskMbr struct { PartitionStyle PartitionStyle Signature uint32 // contains filtered or unexported fields }
type CreateVirtualDiskFlag ¶
type CreateVirtualDiskFlag uint16
const ( CreateVirtualDiskFlagNone CreateVirtualDiskFlag = 0x0 CreateVirtualDiskFlagFullPhysicalAllocation CreateVirtualDiskFlag = 0x1 CreateVirtualDiskFlagPreventWritesToSourceDisk CreateVirtualDiskFlag = 0x2 CreateVirtualDiskFlagDoNotCopyMetadataFromParent CreateVirtualDiskFlag = 0x4 CreateVirtualDiskFlagCreateBackingStorage CreateVirtualDiskFlag = 0x8 CreateVirtualDiskFlagUseChangeTrackingSourceLimit CreateVirtualDiskFlag = 0x10 CreateVirtualDiskFlagUseRctSourceLimit CreateVirtualDiskFlag = 0x10 CreateVirtualDiskFlagPreserveParentChangeTrackingState CreateVirtualDiskFlag = 0x20 CreateVirtualDiskFlagVhdSetUseOriginalBackingStorage CreateVirtualDiskFlag = 0x40 CreateVirtualDiskFlagSparseFile CreateVirtualDiskFlag = 0x80 CreateVirtualDiskFlagPmemCompatible = 0x100 )
type CreateVirtualDiskParametersV2 ¶
type CreateVirtualDiskParametersV2 struct { Version UniqueId uuid.UUID MaximumSize uint64 BlockSizeInBytes uint32 SectorSizeInBytes uint32 PhysicalSectorSizeInBytes uint32 ParentPath *uint16 SourcePath *uint16 OpenFlags OpenVirtualDiskFlag ParentVirtualStorageType VirtualStorageType SourceVirtualStorageType VirtualStorageType ResiliencyGuid uuid.UUID }
type CreateVirtualDiskParametersV3 ¶
type CreateVirtualDiskParametersV3 struct { Version UniqueId uuid.UUID MaximumSize uint64 BlockSizeInBytes uint32 SectorSizeInBytes uint32 PhysicalSectorSizeInBytes uint32 ParentPath *uint16 SourcePath *uint16 OpenFlags OpenVirtualDiskFlag ParentVirtualStorageType VirtualStorageType SourceVirtualStorageType VirtualStorageType ResiliencyGuid uuid.UUID SourceLimitPath *uint16 BackingStorageType VirtualStorageType }
type DeleteSnapshotVhdSetFlag ¶
type DeleteSnapshotVhdSetFlag uint16
const ( DeleteSnapshotVhdSetFlagNone DeleteSnapshotVhdSetFlag = 0x00000000 DeleteSnapshotVhdSetFlagPersistRct DeleteSnapshotVhdSetFlag = 0x00000001 )
type DependentDiskFlag ¶
type DependentDiskFlag uint16
const ( DependentDiskFlagNone DependentDiskFlag = 0x00000000 DependentDiskFlagMultiBackingFiles DependentDiskFlag = 0x00000001 DependentDiskFlagFullyAllocated DependentDiskFlag = 0x00000002 DependentDiskFlagReadOnly DependentDiskFlag = 0x00000004 DependentDiskFlagRemote DependentDiskFlag = 0x00000008 DependentDiskFlagSystemVolume DependentDiskFlag = 0x00000010 DependentDiskFlagSystemVolumeParent DependentDiskFlag = 0x00000020 DependentDiskFlagRemovable DependentDiskFlag = 0x00000040 DependentDiskFlagNoDriveLetter DependentDiskFlag = 0x00000080 DependentDiskFlagParent DependentDiskFlag = 0x00000100 DependentDiskFlagNoHostDisk DependentDiskFlag = 0x00000200 DependentDiskFlagPermanentLifetime DependentDiskFlag = 0x00000400 DependentDiskFlagSupportCompressedVolumes DependentDiskFlag = 0x00000800 )
type DetachVirtualDiskFlag ¶
type DetachVirtualDiskFlag uint16
const (
DetachVirtualDiskFlagNone DetachVirtualDiskFlag = 0x00000000
)
type DeviceType ¶
type DeviceType uint32
const ( FileDeviceBeep DeviceType = 0x00000001 FileDeviceCdRom DeviceType = 0x00000002 FileDeviceCdRomFileSystem DeviceType = 0x00000003 FileDeviceController DeviceType = 0x00000004 FileDeviceDatalink DeviceType = 0x00000005 FileDeviceDfs DeviceType = 0x00000006 FileDeviceDisk DeviceType = 0x00000007 FileDeviceDiskFileSystem DeviceType = 0x00000008 FileDeviceFileSystem DeviceType = 0x00000009 FileDeviceInportPort DeviceType = 0x0000000a FileDeviceKeyboard DeviceType = 0x0000000b FileDeviceMailslot DeviceType = 0x0000000c FileDeviceMidiIn DeviceType = 0x0000000d FileDeviceMidiOut DeviceType = 0x0000000e FileDeviceMouse DeviceType = 0x0000000f FileDeviceMultiUncProvider DeviceType = 0x00000010 FileDeviceNamedPipe DeviceType = 0x00000011 FileDeviceNetwork DeviceType = 0x00000012 FileDeviceNetworkBrowser DeviceType = 0x00000013 FileDeviceNetworkFileSystem DeviceType = 0x00000014 FileDeviceNull DeviceType = 0x00000015 FileDeviceParallelPort DeviceType = 0x00000016 FileDevicePhysicalNetcard DeviceType = 0x00000017 FileDevicePrinter DeviceType = 0x00000018 FileDeviceScanner DeviceType = 0x00000019 FileDeviceSerialMousePort DeviceType = 0x0000001a FileDeviceSerialPort DeviceType = 0x0000001b FileDeviceScreen DeviceType = 0x0000001c FileDeviceSound DeviceType = 0x0000001d FileDeviceStreams DeviceType = 0x0000001e FileDeviceTape DeviceType = 0x0000001f FileDeviceTapeFileSystem DeviceType = 0x00000020 FileDeviceTransport DeviceType = 0x00000021 FileDeviceUnknown DeviceType = 0x00000022 FileDeviceVideo DeviceType = 0x00000023 FileDeviceVirtualDisk DeviceType = 0x00000024 FileDeviceWaveIn DeviceType = 0x00000025 FileDeviceWaveOut DeviceType = 0x00000026 FileDevice8042Port DeviceType = 0x00000027 FileDeviceNetworkRedirector DeviceType = 0x00000028 FileDeviceBattery DeviceType = 0x00000029 FileDeviceBusExtender DeviceType = 0x0000002a FileDeviceModem DeviceType = 0x0000002b FileDeviceVdm DeviceType = 0x0000002c FileDeviceMassStorage DeviceType = 0x0000002d FileDeviceSmb DeviceType = 0x0000002e FileDeviceKs DeviceType = 0x0000002f FileDeviceChanger DeviceType = 0x00000030 FileDeviceSmartcard DeviceType = 0x00000031 FileDeviceAcpi DeviceType = 0x00000032 FileDeviceDvd DeviceType = 0x00000033 FileDeviceFullscreenVideo DeviceType = 0x00000034 FileDeviceDfsFileSystem DeviceType = 0x00000035 FileDeviceDfsVolume DeviceType = 0x00000036 FileDeviceSerenum DeviceType = 0x00000037 FileDeviceTermsrv DeviceType = 0x00000038 FileDeviceKsec DeviceType = 0x00000039 FileDeviceFips DeviceType = 0x0000003A FileDeviceInfiniband DeviceType = 0x0000003B FileDeviceVmbus DeviceType = 0x0000003E FileDeviceCryptProvider DeviceType = 0x0000003F FileDeviceWpd DeviceType = 0x00000040 FileDeviceBluetooth DeviceType = 0x00000041 FileDeviceMtComposite DeviceType = 0x00000042 FileDeviceMtTransport DeviceType = 0x00000043 FileDeviceBiometric DeviceType = 0x00000044 FileDevicePmi DeviceType = 0x00000045 FileDeviceEhstor DeviceType = 0x00000046 FileDeviceDevapi DeviceType = 0x00000047 FileDeviceGpio DeviceType = 0x00000048 FileDeviceUsbex DeviceType = 0x00000049 FileDeviceConsole DeviceType = 0x00000050 FileDeviceNfp DeviceType = 0x00000051 FileDeviceSysenv DeviceType = 0x00000052 FileDeviceVirtualBlock DeviceType = 0x00000053 FileDevicePointOfService DeviceType = 0x00000054 FileDeviceStorageReplication DeviceType = 0x00000055 FileDeviceTrustEnv DeviceType = 0x00000056 FileDeviceUcm DeviceType = 0x00000057 FileDeviceUcmtcpci DeviceType = 0x00000058 FileDevicePersistentMemory DeviceType = 0x00000059 FileDeviceNvdimm DeviceType = 0x0000005a FileDeviceHolographic DeviceType = 0x0000005b FileDeviceSdfxhci DeviceType = 0x0000005c )
type DiskExtent ¶
https://learn.microsoft.com/zh-cn/windows/win32/api/winioctl/ns-winioctl-disk_extent
type DiskPartitionInfoGpt ¶
type DiskPartitionInfoH ¶
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-disk_partition_info
type DiskPartitionInfoMbr ¶
type DriveLayoutInformationEx ¶
type DriveLayoutInformationEx struct { PartitionStyle PartitionStyle PartitionCount uint32 // contains filtered or unexported fields }
type DriveLayoutInformationExGpt ¶
type DriveLayoutInformationExGpt struct { DriveLayoutInformationEx DriveLayoutInformationGpt }
type DriveLayoutInformationExMbr ¶
type DriveLayoutInformationExMbr struct { DriveLayoutInformationEx DriveLayoutInformationMbr }
type ExpandVirtualDiskFlag ¶
type ExpandVirtualDiskFlag uint16
const (
ExpandVirtualDiskFlagNone ExpandVirtualDiskFlag = 0x00000000
)
type GetStorageDependencyFlag ¶
type GetStorageDependencyFlag uint16
const ( GetStorageDependencyFlagNone GetStorageDependencyFlag = 0x00000000 GetStorageDependencyFlagHostVolumes GetStorageDependencyFlag = 0x00000001 GetStorageDependencyFlagDiskHandle GetStorageDependencyFlag = 0x00000002 )
type GetVirtualDiskInfo ¶
type GetVirtualDiskInfo struct { Version // contains filtered or unexported fields }
type GetVirtualDiskInfoV1 ¶
type GetVirtualDiskInfoV10 ¶
type GetVirtualDiskInfoV11 ¶
type GetVirtualDiskInfoV12 ¶
type GetVirtualDiskInfoV13 ¶
type GetVirtualDiskInfoV14 ¶
type GetVirtualDiskInfoV15 ¶
type GetVirtualDiskInfoV2 ¶
type GetVirtualDiskInfoV3 ¶
type GetVirtualDiskInfoV3 struct { GetVirtualDiskInfoV3H ParentLocationBuffer uint16 }
type GetVirtualDiskInfoV3H ¶
type GetVirtualDiskInfoV4 ¶
type GetVirtualDiskInfoV5 ¶
type GetVirtualDiskInfoV6 ¶
type GetVirtualDiskInfoV6 struct { Version VirtualStorageType VirtualStorageType }
type GetVirtualDiskInfoV7 ¶
type GetVirtualDiskInfoV7 struct { Version ProviderSubtype VirtualDiskInfoProviderSubtype }
type GetVirtualDiskInfoV8 ¶
type GetVirtualDiskInfoV9 ¶
type MergeVirtualDiskFlag ¶
type MergeVirtualDiskFlag uint16
const (
MergeVirtualDiskFlagNone MergeVirtualDiskFlag = 0x00000000
)
type MirrorVirtualDiskFlag ¶
type MirrorVirtualDiskFlag uint16
const ( MirrorVirtualDiskFlagNone MirrorVirtualDiskFlag = 0x00000000 MirrorVirtualDiskFlagExistingFile MirrorVirtualDiskFlag = 0x00000001 MirrorVirtualDiskFlagSkipMirrorActivation MirrorVirtualDiskFlag = 0x00000002 )
type ModifyVhdSetFlag ¶
type ModifyVhdSetFlag uint16
const ( ModifyVhdSetFlagNone ModifyVhdSetFlag = 0x00000000 ModifyVhdSetFlagWriteableSnapshot ModifyVhdSetFlag = 0x00000001 )
type OpenVirtualDiskFlag ¶
type OpenVirtualDiskFlag uint16
const ( OpenVirtualDiskFlagNone OpenVirtualDiskFlag = 0x00000000 OpenVirtualDiskFlagNoParents OpenVirtualDiskFlag = 0x00000001 OpenVirtualDiskFlagBlankFile OpenVirtualDiskFlag = 0x00000002 OpenVirtualDiskFlagBootDrive OpenVirtualDiskFlag = 0x00000004 OpenVirtualDiskFlagCachedIo OpenVirtualDiskFlag = 0x00000008 OpenVirtualDiskFlagCustomDiffChain OpenVirtualDiskFlag = 0x00000010 OpenVirtualDiskFlagParentCachedIo OpenVirtualDiskFlag = 0x00000020 OpenVirtualDiskFlagVhdSetFileOnly OpenVirtualDiskFlag = 0x00000040 OpenVirtualDiskFlagIgnoreRelativeParentLocator OpenVirtualDiskFlag = 0x00000080 OpenVirtualDiskFlagNoWriteHardening OpenVirtualDiskFlag = 0x00000100 OpenVirtualDiskFlagSupportCompressedVolumes OpenVirtualDiskFlag = 0x00000200 )
type PartitionInformationEx ¶
type PartitionInformationExGpt ¶
type PartitionInformationExGpt struct { PartitionInformationEx PartitionInformationGpt }
type PartitionInformationExMbr ¶
type PartitionInformationExMbr struct { PartitionInformationEx PartitionInformationMbr }
type PartitionInformationGpt ¶
type PartitionInformationMbr ¶
type PartitionStyle ¶
type PartitionStyle uint16
const ( PartitionStyleMBR PartitionStyle = 0 PartitionStyleGPT PartitionStyle = 1 PartitionStyleRAW PartitionStyle = 2 )
type RawScsiVirtualDiskFlag ¶
type RawScsiVirtualDiskFlag uint16
const (
RawScsiVirtualDiskFlagNone RawScsiVirtualDiskFlag = 0x00000000
)
type ResizeVirtualDiskFlag ¶
type ResizeVirtualDiskFlag uint16
const ( ResizeVirtualDiskFlagNone ResizeVirtualDiskFlag = 0x0 ResizeVirtualDiskFlagAllowUnsafeVirtualSize ResizeVirtualDiskFlag = 0x1 ResizeVirtualDiskFlagResizeToSmallestSafeVirtualSize ResizeVirtualDiskFlag = 0x2 )
type SPDeviceInterfaceData ¶
type SPDeviceInterfaceDetailDataA ¶
type SPDeviceInterfaceDetailDataA struct { SPDeviceInterfaceDetailDataH // contains filtered or unexported fields }
type SPDeviceInterfaceDetailDataH ¶
type SPDeviceInterfaceDetailDataH struct {
Size uint32
}
type SPDeviceInterfaceDetailDataW ¶
type SPDeviceInterfaceDetailDataW struct { SPDeviceInterfaceDetailDataH // contains filtered or unexported fields }
type SetVirtualDiskInfoV1 ¶
type SetVirtualDiskInfoV2 ¶
type SetVirtualDiskInfoV3 ¶
type SetVirtualDiskInfoV4 ¶
type SetVirtualDiskInfoV5 ¶
type SetVirtualDiskInfoV6 ¶
type SetVirtualDiskInfoV7 ¶
type StorageDependencyInfo ¶
type StorageDependencyInfo struct { StorageDependencyInfoH // contains filtered or unexported fields }
type StorageDependencyInfoH ¶
type StorageDependencyInfoType1 ¶
type StorageDependencyInfoType1 struct { DependencyTypeFlags DependentDiskFlag ProviderSpecificFlags uint32 VirtualStorageType VirtualStorageType }
type StorageDeviceDescriptorH ¶
type StorageDeviceDescriptorH struct { Version uint32 Size uint32 DeviceType byte DeviceTypeModifier byte RemovableMedia bool CommandQueueing bool VendorIdOffset uint32 ProductIdOffset uint32 ProductRevisionOffset uint32 SerialNumberOffset uint32 BusType uint32 RawPropertiesLength uint32 }
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-storage_device_descriptor
type StorageDeviceNumber ¶
type StorageDeviceNumber struct { DeviceType DeviceType DeviceNumber uint32 PartitionNumber uint32 }
type StoragePropertyId ¶
type StoragePropertyId uint32
const ( StorageDeviceProperty StoragePropertyId = 0 StorageAdapterProperty StoragePropertyId = 1 StorageDeviceIdProperty StoragePropertyId = 2 StorageDeviceUniqueIdProperty StoragePropertyId = 3 StorageDeviceWriteCacheProperty StoragePropertyId = 4 StorageMiniportProperty StoragePropertyId = 5 StorageAccessAlignmentProperty StoragePropertyId = 6 StorageDeviceSeekPenaltyProperty StoragePropertyId = 7 StorageDeviceTrimProperty StoragePropertyId = 8 StorageDeviceWriteAggregationPropertyStoragePropertyId = 9 StorageDeviceDeviceTelemetryProperty StoragePropertyId = 10 // 0xA StorageDeviceLBProvisioningProperty StoragePropertyId = 11 // 0xB StorageDevicePowerProperty StoragePropertyId = 12 // 0xC StorageDeviceCopyOffloadProperty StoragePropertyId = 13 // 0xD StorageDeviceResiliencyProperty StoragePropertyId = 14 // 0xE StorageDeviceMediumProductType StoragePropertyId = 15 StorageAdapterRpmbProperty StoragePropertyId = 16 StorageAdapterCryptoProperty StoragePropertyId = 17 StorageDeviceIoCapabilityProperty StoragePropertyId = 48 StorageAdapterProtocolSpecificProperty = 49 StorageDeviceProtocolSpecificPropertyStoragePropertyId = 50 StorageAdapterTemperatureProperty StoragePropertyId = 51 StorageDeviceTemperatureProperty StoragePropertyId = 52 StorageAdapterPhysicalTopologyProperty = 53 StorageDevicePhysicalTopologyPropertyStoragePropertyId = 54 StorageDeviceAttributesProperty StoragePropertyId = 55 StorageDeviceManagementStatus StoragePropertyId = 56 StorageAdapterSerialNumberProperty StoragePropertyId = 57 StorageDeviceLocationProperty StoragePropertyId = 58 StorageDeviceNumaProperty StoragePropertyId = 59 StorageDeviceZonedDeviceProperty StoragePropertyId = 60 StorageDeviceUnsafeShutdownCount StoragePropertyId = 61 StorageDeviceEnduranceProperty StoragePropertyId = 62 StorageDeviceSelfEncryptionProperty StoragePropertyId = 64 StorageFruIdProperty StoragePropertyId = 65 )
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ne-winioctl-storage_property_id
type StoragePropertyQuery ¶
type StoragePropertyQuery struct { StoragePropertyQueryH AdditionalParameters byte }
type StoragePropertyQueryH ¶
type StoragePropertyQueryH struct { PropertyId StoragePropertyId QueryType StorageQueryType }
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-storage_property_query
type StorageQueryType ¶
type StorageQueryType uint32
const ( PropertyStandardQuery StorageQueryType = 0 PropertyExistsQuery StorageQueryType = 1 PropertyMaskQuery StorageQueryType = 2 )
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ne-winioctl-storage_query_type
type VirtualDiskAccessMask ¶
type VirtualDiskAccessMask uint32
const ( VirtualDiskAccessNone VirtualDiskAccessMask = 0x00000000 VirtualDiskAccessAttachRo VirtualDiskAccessMask = 0x00010000 VirtualDiskAccessAttachRw VirtualDiskAccessMask = 0x00020000 VirtualDiskAccessDetach VirtualDiskAccessMask = 0x00040000 VirtualDiskAccessGetInfo VirtualDiskAccessMask = 0x00080000 VirtualDiskAccessCreate VirtualDiskAccessMask = 0x00100000 VirtualDiskAccessMetaops VirtualDiskAccessMask = 0x00200000 VirtualDiskAccessRead VirtualDiskAccessMask = 0x000d0000 VirtualDiskAccessAll VirtualDiskAccessMask = 0x003f0000 VirtualDiskAccessWritable VirtualDiskAccessMask = 0x00320000 )
type VirtualDiskInfoProviderSubtype ¶
type VirtualDiskInfoProviderSubtype uint32
const ( Fixed VirtualDiskInfoProviderSubtype = 2 DynamicallyExpandable VirtualDiskInfoProviderSubtype = 3 Differencing VirtualDiskInfoProviderSubtype = 4 )
type VirtualDiskProgress ¶
type VirtualStorageType ¶
type VirtualStorageType struct { DeviceId VirtualStorageTypeDeviceType VendorId uuid.UUID }
type VirtualStorageTypeDeviceType ¶
type VirtualStorageTypeDeviceType uint32
const ( VirtualStorageTypeDeviceUnknown VirtualStorageTypeDeviceType = 0 VirtualStorageTypeDeviceIso VirtualStorageTypeDeviceType = 1 VirtualStorageTypeDeviceVhd VirtualStorageTypeDeviceType = 2 VirtualStorageTypeDeviceVhdx VirtualStorageTypeDeviceType = 3 VirtualStorageTypeDeviceVhdSet VirtualStorageTypeDeviceType = 4 )
type VolumeDiskExtents ¶
type VolumeDiskExtents struct { VolumeDiskExtentsH Extents DiskExtent }
type VolumeDiskExtentsH ¶
type VolumeDiskExtentsH struct {
NumberOfDiskExtents uint32
}
https://learn.microsoft.com/zh-cn/windows/win32/api/winioctl/ns-winioctl-volume_disk_extents