Microsoft Deployment Toolkit
Documentation Library HRESULT AddProperty(ENUM_DISK_QUERY_SECTION section, LPCTSTR propName, LPCTSTR propNameReturned) |
This method adds the names of additional properties that you want to make available in the query results. Call this method before calling Update. Table 18 shows three of the useful properties.
Table 18. HRESULT AddProperty: Useful Properties
Section |
Property |
Description |
DISKQUERY_LOGICALDISK |
Size |
The size, in bytes, represented as a string |
DISKQUERY_DISKPARTITION |
DiskIndex |
The disk number as an integer, starting with 0 |
DISKQUERY_LOGICALDISK |
VolumeName |
The volume label |
Related Topics