Versions in this module Expand all Collapse all v1 v1.0.1 May 28, 2024 v1.0.0 Apr 30, 2024 v0 v0.1.0 Apr 30, 2024 Changes in this version + var BusType1394 = 6 + var BusTypeFibre = 3 + var BusTypeIDE = 1 + var BusTypeSCSI = 2 + var BusTypeSSA = 5 + var BusTypeUSB = 4 + var BusTypeUnknown = 0 + var ContainsBootIndicator = 256 + var ContainsBootLoader = 512 + var ContainsBootablePartition = 8 + var ContainsExtendedPartition = 64 + var ContainsFT = 1 + var ContainsLockedPartition = 16 + var ContainsMixedPartitions = 2048 + var ContainsNoFreeSpace = 32 + var ContainsRAID5 = 2 + var ContainsRedistribution = 4 + var ContainsSystemDir = 1024 + var CreateAssignAccessPath = 1 + var DLPendingRemoval = 1 + var DeviceAttributeNTMS = 2 + var DeviceAttributeNone = 0 + var DeviceAttributeReadOnly = 1 + var DeviceTypeCDROM = 3 + var DeviceTypeDVD = 5 + var DeviceTypeFdisk = 4 + var DeviceTypeRemovable = 2 + var DeviceTypeUnknown = 0 + var DeviceTypeVm = 1 + var DevicestateBad = 8 + var DevicestateFailing = 128 + var DevicestateHealthy = 1 + var DevicestateImportFailed = 256 + var DevicestateMissing = 32 + var DevicestateNoMedia = 2 + var DevicestateNoSig = 4 + var DevicestateNotReady = 16 + var DevicestateOffline = 64 + var DevicestateUnclaimed = 512 + var DevicestateUnknown = 0 + var DiskAudioCD = 1 + var DiskFormattableDVD = 4 + var DiskMemoryStick = 8 + var DiskNTFSNotSupported = 16 + var DiskNec98 = 2 + var DskmergeDelete = 1 + var DskmergeDeleteRedundancy = 2 + var DskmergeInNoUnrelated = 1 + var DskmergeOutNoPrimaryDiskGroup = 1 + var DskmergeRelated = 8 + var DskmergeStaleData = 4 + var EnableVolumeCompression = 1 + var EncapInfoBadActive = 4 + var EncapInfoCantProceed = 1 + var EncapInfoContainsFT = 512 + var EncapInfoFTHasRAID5 = 64 + var EncapInfoFTOnBoot = 128 + var EncapInfoFTQueryFailed = 32 + var EncapInfoFTUnhealthy = 16 + var EncapInfoMixedPartitions = 4096 + var EncapInfoNoFreeSpace = 2 + var EncapInfoOpenFailed = 8192 + var EncapInfoPartNRChange = 2048 + var EncapInfoRebootRequired = 256 + var EncapInfoUnknownPart = 8 + var EncapInfoVolumeBusy = 1024 + var FSAllocSize128K = 16384 + var FSAllocSize16K = 2048 + var FSAllocSize1K = 128 + var FSAllocSize256K = 32768 + var FSAllocSize2K = 256 + var FSAllocSize32K = 4096 + var FSAllocSize4K = 512 + var FSAllocSize512 = 64 + var FSAllocSize64K = 8192 + var FSAllocSize8K = 1024 + var FSAllocSizeOther = 65536 + var FSFormatSupported = 131072 + var FSGrowSupport = 16 + var FSQuickFormatEnable = 32 + var FSTypeCDFS = 4 + var FSTypeFAT = 2 + var FSTypeFAT32 = 3 + var FSTypeNTFS = 1 + var FSTypeOther = 2147483648 + var FSTypeUDF = 5 + var FSTypeUnknown = 0 + var FSValidBits = 262143 + var ForceOperation = 1 + var FormatOptionCompress = 1 + var FormatOptionLabel = 2 + var FtreplaceDeleteOnFail = 2 + var FtreplaceForce = 1 + var GoPackage = "dcom/dmrp" + var MaxFSNameSize = 8 + var MountPointSupport = 4 + var NoForceOperation = 0 + var PartitionDell = 222 + var PartitionDiagnostic = 160 + var PartitionEISA = 18 + var PartitionHibernation = 132 + var PartitionIBM = 254 + var PartitionNumberChange = 128 + var PartitionOS2Boot = 10 + var RegionFormatInProgress = 1 + var RegionHadBootINI = 64 + var RegionHasPageFile = 4 + var RegionHidden = 262144 + var RegionIsSystemPartition = 2 + var RemovableMediaSupport = 8 + var SystemFlagAlpha = 2 + var SystemFlagDynamic1394 = 256 + var SystemFlagIA64 = 64 + var SystemFlagLaptop = 16 + var SystemFlagNec98 = 8 + var SystemFlagNoDynamic = 16 + var SystemFlagServer = 1 + var SystemFlagSyspartSecure = 4 + var SystemFlagUninstallValid = 128 + var SystemFlagWolfpack = 32 + var VolumeCorrupt = 16384 + var VolumeFormatInProgress = 1 + var VolumeHadBootINI = 8192 + var VolumeHasCrashDump = 32768 + var VolumeHasHibernation = 131072 + var VolumeHasPageFile = 4 + var VolumeHasRetainPartition = 4096 + var VolumeIsBootVolume = 256 + var VolumeIsCurrBootVolume = 65536 + var VolumeIsRestartable = 1024 + var VolumeIsSystemVolume = 2048 + type Action uint16 + var ActionCreated Action = 1 + var ActionDeleted Action = 2 + var ActionFailed Action = 4 + var ActionModified Action = 3 + var ActionUnknown Action = 0 + func (o Action) String() string + type CountedString struct + SourceID int64 + String string + StringLength int32 + TargetID int64 + func (o *CountedString) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *CountedString) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfo struct + AdapterName string + AdapterNameLength int32 + Attributes uint32 + BusType uint32 + BytesPerCylinder uint32 + BytesPerSector uint32 + BytesPerTrack uint32 + DeviceState uint32 + DeviceType uint32 + DiskFlags uint32 + DiskGroupID []byte + DiskGroupIDLength int32 + DiskGroupName string + DiskGroupNameLength int32 + FreeBytes int64 + ID int64 + IsUpgradeable bool + LUNNumber int32 + LastKnownState int64 + Length int64 + Name string + NameLength int32 + PortNumber int32 + RegionCount uint32 + TargetNumber int32 + TaskID int64 + Vendor string + VendorLength int32 + func (o *DiskInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfoEx struct + AdapterName string + AdapterNameLength int32 + Attributes uint32 + BusType uint32 + BytesPerCylinder uint32 + BytesPerSector uint32 + BytesPerTrack uint32 + DevInstanceID string + DevInstanceIDLength int32 + DeviceState uint32 + DeviceType uint32 + DiskFlags uint32 + DiskGroupID []byte + DiskGroupIDLength int32 + DiskGroupName string + DiskGroupNameLength int32 + DiskInfoEx *DiskInfoEx_DiskInfoEx + FreeBytes int64 + ID int64 + IsUpgradeable bool + LUNNumber int32 + LastKnownState int64 + Length int64 + MaxPartitionCount uint32 + MaySwitchStyle bool + Name string + NameLength int32 + PartitionStyle PartitionStyle + PortNumber int32 + RegionCount uint32 + TargetNumber int32 + TaskID int64 + Vendor string + VendorLength int32 + func (o *DiskInfoEx) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfoEx) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfoEx_DefaultDiskInfoEx struct + func (o *DiskInfoEx_DefaultDiskInfoEx) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfoEx_DefaultDiskInfoEx) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfoEx_DiskInfoEx struct + Value is_DiskInfoEx_DiskInfoEx + func (o *DiskInfoEx_DiskInfoEx) GetValue() any + func (o *DiskInfoEx_DiskInfoEx) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint16) error + func (o *DiskInfoEx_DiskInfoEx) NDRSwitchValue(sw uint16) uint16 + func (o *DiskInfoEx_DiskInfoEx) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint16) error + type DiskInfoEx_DiskInfoEx_GPT struct + DiskID *dtyp.GUID + func (o *DiskInfoEx_DiskInfoEx_GPT) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfoEx_DiskInfoEx_GPT) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfoEx_DiskInfoEx_MBR struct + Signature uint32 + func (o *DiskInfoEx_DiskInfoEx_MBR) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfoEx_DiskInfoEx_MBR) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfoEx_GPT struct + GPT *DiskInfoEx_DiskInfoEx_GPT + func (o *DiskInfoEx_GPT) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfoEx_GPT) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskInfoEx_MBR struct + MBR *DiskInfoEx_DiskInfoEx_MBR + func (o *DiskInfoEx_MBR) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskInfoEx_MBR) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DiskSpec struct + DiskID int64 + LastKnownState int64 + Length int64 + NeedContiguous bool + func (o *DiskSpec) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DiskSpec) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DriveLetterInfo struct + DriveLetterFlags uint32 + IsUsed bool + LastKnownState int64 + Letter uint16 + StorageID int64 + TaskID int64 + func (o *DriveLetterInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DriveLetterInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type FileSystemInfo struct + AllocationUnitSize uint32 + AvailableAllocationUnits int64 + FSType int32 + Fsflags uint32 + ID int64 + Label string + LabelLength int32 + LastKnownState int64 + StorageID int64 + TaskID int64 + TotalAllocationUnits int64 + func (o *FileSystemInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *FileSystemInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type IDMNotify dcom.InterfacePointer + func (o *IDMNotify) InterfacePointer() *dcom.InterfacePointer + func (o *IDMNotify) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *IDMNotify) NDRSizeInfo() []uint64 + func (o *IDMNotify) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type IDMRemoteServer dcom.InterfacePointer + func (o *IDMRemoteServer) InterfacePointer() *dcom.InterfacePointer + func (o *IDMRemoteServer) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *IDMRemoteServer) NDRSizeInfo() []uint64 + func (o *IDMRemoteServer) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type InstalledFileSystemInfo struct + FSCompressionFlags uint32 + FSFlags uint32 + FSName []uint16 + FSType int32 + LabelCharSet string + LabelLength int32 + LabelLimitLength int32 + func (o *InstalledFileSystemInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *InstalledFileSystemInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type MergeObjectInfo struct + Flags uint32 + Layout VolumeLayout + Length int64 + Type uint32 + func (o *MergeObjectInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *MergeObjectInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type NotifyInfoType uint16 + var NotifyInfoTypeDLInfo NotifyInfoType = 5 + var NotifyInfoTypeDiskInfo NotifyInfoType = 1 + var NotifyInfoTypeFSInfo NotifyInfoType = 6 + var NotifyInfoTypeRegionInfo NotifyInfoType = 3 + var NotifyInfoTypeSystemInfo NotifyInfoType = 7 + var NotifyInfoTypeTaskInfo NotifyInfoType = 4 + var NotifyInfoTypeUnknownInfo NotifyInfoType = 0 + var NotifyInfoTypeVolumeInfo NotifyInfoType = 2 + func (o NotifyInfoType) String() string + type PartitionStyle uint16 + var PartitionStyleGPT PartitionStyle = 2 + var PartitionStyleMBR PartitionStyle = 1 + var PartitionStyleUnknown PartitionStyle = 0 + func (o PartitionStyle) String() string + type ProgressType uint16 + var ProgressTypeFormat ProgressType = 1 + var ProgressTypeSynching ProgressType = 2 + var ProgressTypeUnknown ProgressType = 0 + func (o ProgressType) String() string + type RegionInfo struct + CurrentPartitionNumber uint32 + DiskID int64 + FSID int64 + ID int64 + IsActive bool + LastKnownState int64 + Length int64 + PartitionType uint32 + RegionFlags uint32 + RegionType RegionType + Start int64 + Status RegionStatus + TaskID int64 + VolID int64 + func (o *RegionInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionInfoEx struct + CurrentPartitionNumber uint32 + DiskID int64 + FSID int64 + ID int64 + LastKnownState int64 + Length int64 + Name string + NameLength int32 + PartitionStyle PartitionStyle + RegionFlags uint32 + RegionInfoEx *RegionInfoEx_RegionInfoEx + RegionType RegionType + Start int64 + Status RegionStatus + TaskID int64 + VolID int64 + func (o *RegionInfoEx) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfoEx) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionInfoEx_DefaultRegionInfoEx struct + func (o *RegionInfoEx_DefaultRegionInfoEx) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfoEx_DefaultRegionInfoEx) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionInfoEx_GPT struct + GPT *RegionInfoEx_RegionInfoEx_GPT + func (o *RegionInfoEx_GPT) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfoEx_GPT) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionInfoEx_MBR struct + MBR *RegionInfoEx_RegionInfoEx_MBR + func (o *RegionInfoEx_MBR) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfoEx_MBR) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionInfoEx_RegionInfoEx struct + Value is_RegionInfoEx_RegionInfoEx + func (o *RegionInfoEx_RegionInfoEx) GetValue() any + func (o *RegionInfoEx_RegionInfoEx) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint16) error + func (o *RegionInfoEx_RegionInfoEx) NDRSwitchValue(sw uint16) uint16 + func (o *RegionInfoEx_RegionInfoEx) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint16) error + type RegionInfoEx_RegionInfoEx_GPT struct + Attributes uint64 + PartitionID *dtyp.GUID + PartitionType *dtyp.GUID + func (o *RegionInfoEx_RegionInfoEx_GPT) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfoEx_RegionInfoEx_GPT) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionInfoEx_RegionInfoEx_MBR struct + IsActive bool + PartitionType uint32 + func (o *RegionInfoEx_RegionInfoEx_MBR) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionInfoEx_RegionInfoEx_MBR) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionSpec struct + DiskID int64 + LastKnownState int64 + Length int64 + RegionID int64 + RegionType RegionType + Start int64 + func (o *RegionSpec) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RegionSpec) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RegionStatus uint16 + var RegionStatusFailed RegionStatus = 2 + var RegionStatusFailing RegionStatus = 3 + var RegionStatusNeedsResync RegionStatus = 5 + var RegionStatusOK RegionStatus = 1 + var RegionStatusRegenerating RegionStatus = 4 + var RegionStatusUnknown RegionStatus = 0 + func (o RegionStatus) String() string + type RegionType uint16 + var RegionTypeCDROM RegionType = 7 + var RegionTypeExtended RegionType = 5 + var RegionTypeExtendedFree RegionType = 2 + var RegionTypeFree RegionType = 1 + var RegionTypeLogical RegionType = 4 + var RegionTypePrimary RegionType = 3 + var RegionTypeRemovable RegionType = 8 + var RegionTypeSubdisk RegionType = 6 + var RegionTypeUnknown RegionType = 0 + func (o RegionType) String() string + type RequestStatus uint16 + var RequestStatusAborted RequestStatus = 4 + var RequestStatusCompleted RequestStatus = 3 + var RequestStatusFailed RequestStatus = 5 + var RequestStatusInProgress RequestStatus = 2 + var RequestStatusStarted RequestStatus = 1 + var RequestStatusUnknown RequestStatus = 0 + func (o RequestStatus) String() string + type TaskInfo struct + ClientID int64 + CreateTime int64 + Error int32 + ID int64 + PercentComplete uint32 + Status RequestStatus + StorageID int64 + TaskFlag uint32 + Type ProgressType + func (o *TaskInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *TaskInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeClient dcom.InterfacePointer + func (o *VolumeClient) InterfacePointer() *dcom.InterfacePointer + func (o *VolumeClient) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *VolumeClient) NDRSizeInfo() []uint64 + func (o *VolumeClient) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeClient2 dcom.InterfacePointer + func (o *VolumeClient2) InterfacePointer() *dcom.InterfacePointer + func (o *VolumeClient2) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *VolumeClient2) NDRSizeInfo() []uint64 + func (o *VolumeClient2) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeClient3 dcom.InterfacePointer + func (o *VolumeClient3) InterfacePointer() *dcom.InterfacePointer + func (o *VolumeClient3) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *VolumeClient3) NDRSizeInfo() []uint64 + func (o *VolumeClient3) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeClient4 dcom.InterfacePointer + func (o *VolumeClient4) InterfacePointer() *dcom.InterfacePointer + func (o *VolumeClient4) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *VolumeClient4) NDRSizeInfo() []uint64 + func (o *VolumeClient4) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeInfo struct + FSID int64 + ID int64 + LastKnownState int64 + Layout VolumeLayout + Length int64 + MemberCount uint32 + Status VolumeStatus + TaskID int64 + Type VolumeType + VolumeFlags uint32 + func (o *VolumeInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *VolumeInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeLayout uint16 + var VolumeLayoutMirror VolumeLayout = 4 + var VolumeLayoutPartition VolumeLayout = 1 + var VolumeLayoutRAID5 VolumeLayout = 6 + var VolumeLayoutSimple VolumeLayout = 2 + var VolumeLayoutSpanned VolumeLayout = 3 + var VolumeLayoutStripe VolumeLayout = 5 + var VolumeLayoutUnknown VolumeLayout = 0 + func (o VolumeLayout) String() string + type VolumeSpec struct + LastKnownState int64 + Layout VolumeLayout + Length int64 + PartitionType RegionType + Type VolumeType + func (o *VolumeSpec) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *VolumeSpec) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type VolumeStatus uint16 + var VolumeStatusFailed VolumeStatus = 2 + var VolumeStatusFailedRedundancy VolumeStatus = 3 + var VolumeStatusFailedRedundancyFailing VolumeStatus = 6 + var VolumeStatusFailing VolumeStatus = 4 + var VolumeStatusFailingRedundancy VolumeStatus = 5 + var VolumeStatusFormatting VolumeStatus = 10 + var VolumeStatusHealthy VolumeStatus = 1 + var VolumeStatusInitializing VolumeStatus = 9 + var VolumeStatusRegenerating VolumeStatus = 8 + var VolumeStatusSynching VolumeStatus = 7 + var VolumeStatusUnknown VolumeStatus = 0 + func (o VolumeStatus) String() string + type VolumeType uint16 + var VolumeTypeCDROM VolumeType = 5 + var VolumeTypeFT VolumeType = 3 + var VolumeTypeLogicalDrive VolumeType = 2 + var VolumeTypePrimaryPartition VolumeType = 1 + var VolumeTypeRemovable VolumeType = 6 + var VolumeTypeUnknown VolumeType = 0 + var VolumeTypeVm VolumeType = 4 + func (o VolumeType) String() string