Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
windows:wmi:disks:win32_diskpartition [21/03/2023 19:52] thierry [Structure] |
windows:wmi:disks:win32_diskpartition [09/06/2023 10:30] (Version actuelle) thierry ↷ Page déplacée de windows:wmi:win32_diskpartition à windows:wmi:disks:win32_diskpartition |
||
|---|---|---|---|
| Ligne 61: | Ligne 61: | ||
| </code> | </code> | ||
| ===== Properties ===== | ===== Properties ===== | ||
| - | The Win32_DiskPartition class has these properties. | + | ==== Access ==== |
| - | + | ||
| - | Access | + | |
| Data type: uint16 | Data type: uint16 | ||
| Ligne 90: | Ligne 88: | ||
| Write Once (4) | Write Once (4) | ||
| - | AdditionalAvailability | + | ==== AdditionalAvailability ==== |
| Data type: unit16 | Data type: unit16 | ||
| Ligne 163: | Ligne 161: | ||
| Quiesce (21) | Quiesce (21) | ||
| - | Availability | + | ==== Availability ==== |
| Data type: uint16 | Data type: uint16 | ||
| Ligne 254: | Ligne 252: | ||
| The device is quiet. | The device is quiet. | ||
| - | BlockSize | + | ==== BlockSize ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 268: | Ligne 266: | ||
| This property is inherited from CIM_StorageExtent. | This property is inherited from CIM_StorageExtent. | ||
| - | Bootable | + | ==== Bootable ==== |
| Data type: boolean | Data type: boolean | ||
| Ligne 278: | Ligne 276: | ||
| This property is inherited from CIM_DiskPartition. | This property is inherited from CIM_DiskPartition. | ||
| - | BootPartition | + | ==== BootPartition ==== |
| Data type: boolean | Data type: boolean | ||
| Ligne 288: | Ligne 286: | ||
| Partition is the active partition. The operating system uses the active partition when booting from a hard disk. | Partition is the active partition. The operating system uses the active partition when booting from a hard disk. | ||
| - | Caption | + | ==== Caption ==== |
| Data type: string. | Data type: string. | ||
| Ligne 300: | Ligne 298: | ||
| This property is inherited from CIM_ManagedSystemElement. | This property is inherited from CIM_ManagedSystemElement. | ||
| - | ConfigManagerErrorCode | + | ==== ConfigManagerErrorCode ==== |
| Data type: uint32 | Data type: uint32 | ||
| Ligne 412: | Ligne 410: | ||
| This device is not working properly because Windows cannot load the drivers required for this device. (31) | This device is not working properly because Windows cannot load the drivers required for this device. (31) | ||
| - | ConfigManagerUserConfig | + | ==== ConfigManagerUserConfig ==== |
| Data type: boolean | Data type: boolean | ||
| Ligne 424: | Ligne 422: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | CreationClassName | + | ==== CreationClassName ==== |
| Data type: string. | Data type: string. | ||
| Ligne 436: | Ligne 434: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | Description | + | ==== Description ==== |
| Data type: string | Data type: string | ||
| Ligne 448: | Ligne 446: | ||
| This property is inherited from CIM_ManagedSystemElement. | This property is inherited from CIM_ManagedSystemElement. | ||
| - | DeviceID | + | ==== DeviceID ==== |
| Data type: string | Data type: string | ||
| Ligne 458: | Ligne 456: | ||
| Unique identifier of the disk drive and partition, from the rest of the system. | Unique identifier of the disk drive and partition, from the rest of the system. | ||
| - | DiskIndex | + | ==== DiskIndex ==== |
| + | (uint32/Read-only) | ||
| - | Data type: uint32 | + | Numéro d'index du disque contenant cette partition : Example: 0 |
| - | + | ||
| - | Access type: Read-only | + | |
| Qualifiers: MappingStrings ("Win32API|File Functions|ReadFile") | Qualifiers: MappingStrings ("Win32API|File Functions|ReadFile") | ||
| - | Index number of the disk containing this partition. | + | ==== ErrorCleared ==== |
| - | + | ||
| - | Example: 0 | + | |
| - | + | ||
| - | ErrorCleared | + | |
| Data type: boolean | Data type: boolean | ||
| Ligne 480: | Ligne 473: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | ErrorDescription | + | ==== ErrorDescription ==== |
| Data type: string | Data type: string | ||
| Ligne 490: | Ligne 483: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | ErrorMethodology | + | ==== ErrorMethodology ==== |
| Data type: string | Data type: string | ||
| Ligne 500: | Ligne 493: | ||
| This property is inherited from CIM_StorageExtent. | This property is inherited from CIM_StorageExtent. | ||
| - | HiddenSectors | + | ==== HiddenSectors ==== |
| Data type: uint32 | Data type: uint32 | ||
| Ligne 512: | Ligne 505: | ||
| Example: 63 | Example: 63 | ||
| - | IdentifyingDescriptions | + | ==== IdentifyingDescriptions ==== |
| Data type: string array | Data type: string array | ||
| Ligne 522: | Ligne 515: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | Index | + | ==== Index ==== |
| Data type: uint32 | Data type: uint32 | ||
| Ligne 534: | Ligne 527: | ||
| Example: 1 | Example: 1 | ||
| - | InstallDate | + | ==== InstallDate ==== |
| - | + | (datetime / Read-only) | |
| - | Data type: datetime | + | |
| - | + | ||
| - | Access type: Read-only | + | |
| Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date") | Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date") | ||
| Ligne 546: | Ligne 536: | ||
| This property is inherited from CIM_ManagedSystemElement. | This property is inherited from CIM_ManagedSystemElement. | ||
| - | LastErrorCode | + | ==== LastErrorCode ==== |
| - | + | (uint32/Read-only) | |
| - | Data type: uint32 | + | |
| - | + | ||
| - | Access type: Read-only | + | |
| Last error code reported by the logical device. | Last error code reported by the logical device. | ||
| Ligne 556: | Ligne 543: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | MaxQuiesceTime | + | ==== MaxQuiesceTime ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 572: | Ligne 559: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | Name | + | ==== Name ==== |
| Data type: string | Data type: string | ||
| Ligne 584: | Ligne 571: | ||
| This property is inherited from CIM_ManagedSystemElement. | This property is inherited from CIM_ManagedSystemElement. | ||
| - | NumberOfBlocks | + | ==== NumberOfBlocks ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 598: | Ligne 585: | ||
| This property is inherited from CIM_StorageExtent. | This property is inherited from CIM_StorageExtent. | ||
| - | OtherIdentifyingInfo | + | ==== OtherIdentifyingInfo ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 608: | Ligne 595: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | PNPDeviceID | + | ==== PNPDeviceID ==== |
| Data type: string | Data type: string | ||
| Ligne 622: | Ligne 609: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | PowerManagementCapabilities | + | ==== PowerManagementCapabilities ==== |
| Data type: uint16 array | Data type: uint16 array | ||
| Ligne 666: | Ligne 653: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | PowerOnHours | + | ==== PowerOnHours ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 676: | Ligne 663: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | PrimaryPartition | + | ==== PrimaryPartition ==== |
| Data type: boolean | Data type: boolean | ||
| Ligne 686: | Ligne 673: | ||
| This property is inherited from CIM_DiskPartition. | This property is inherited from CIM_DiskPartition. | ||
| - | Purpose | + | ==== Purpose ==== |
| Data type: string | Data type: string | ||
| Ligne 696: | Ligne 683: | ||
| This property is inherited from CIM_StorageExtent. | This property is inherited from CIM_StorageExtent. | ||
| - | RewritePartition | + | ==== RewritePartition ==== |
| Data type: boolean | Data type: boolean | ||
| Ligne 706: | Ligne 693: | ||
| If True, the partition information has changed. When you change a partition (with IOCTL_DISK_SET_DRIVE_LAYOUT), the system uses this property to determine which partitions have changed and need their information rewritten. If TRUE, the partition must be rewritten. | If True, the partition information has changed. When you change a partition (with IOCTL_DISK_SET_DRIVE_LAYOUT), the system uses this property to determine which partitions have changed and need their information rewritten. If TRUE, the partition must be rewritten. | ||
| - | Size | + | ==== Size ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 720: | Ligne 707: | ||
| For more information about using uint64 values in scripts, see Scripting in WMI. | For more information about using uint64 values in scripts, see Scripting in WMI. | ||
| - | StartingOffset | + | ==== StartingOffset ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 734: | Ligne 721: | ||
| For more information about using uint64 values in scripts, see Scripting in WMI. | For more information about using uint64 values in scripts, see Scripting in WMI. | ||
| - | Status | + | ==== Status ==== |
| Data type: string | Data type: string | ||
| Ligne 784: | Ligne 771: | ||
| Lost Comm ("Lost Comm") | Lost Comm ("Lost Comm") | ||
| - | StatusInfo | + | ==== StatusInfo ==== |
| Data type: uint16 | Data type: uint16 | ||
| Ligne 823: | Ligne 810: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | SystemName | + | ==== SystemName ==== |
| Data type: string | Data type: string | ||
| Ligne 835: | Ligne 822: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | TotalPowerOnHours | + | ==== TotalPowerOnHours ==== |
| Data type: uint64 | Data type: uint64 | ||
| Ligne 845: | Ligne 832: | ||
| This property is inherited from CIM_LogicalDevice. | This property is inherited from CIM_LogicalDevice. | ||
| - | Type | + | ==== Type ==== |
| Data type: string | Data type: string | ||