PSGUID_STORAGE
The PSGUID_STORAGE property set defines storage properties found for files in a file system.
#define PSGUID_STORAGE \
{ 0xb725f130, 0x47ef, 0x101a, \
{ 0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac } }
Remarks
The PSGUID_STORAGE property set contains the following property constants:
- PID_STG_DIRECTORY
-
Property ID 2. The directory in which a file is located. Default type is VT_LPWSTR. The Indexing Service friendly name is "directory".
- PID_STG_CLASSID
-
Property ID 3. CLID of a file. Default type is VT_CLSID. The Indexing Service friendly name is "classid".
- PID_STG_STORAGETYPE
-
Property ID 4. Storage type for this file.
- PID_STG_VOLUME_ID
-
Property ID 5. Volume ID of the disk.
- PID_STG_PARENT_WORKID
-
Property ID 6. Internal work ID for the parent or folder for this file.
- PID_STG_SECONDARYSTORE
-
Property ID 7. Whether the file has been placed in secondary storage.
- PID_STG_FILEINDEX
-
Property ID 8. Internal file index for this file.
- PID_STG_LASTCHANGEUSN
-
Property ID 9. Last change Update Sequence Number (USN) for this file.
- PID_STG_NAME
-
Property ID 0x0a. The name of the file. Default type is VT_LPWSTR. The Indexing Service friendly name is "filename".
- PID_STG_PATH
-
Property ID 0x0b. The complete path for a file. Default type is VT_LPWSTR. The Indexing Service friendly name is "path".
- PID_STG_SIZE
-
Property ID 0x0c. The size of a file. Default type is VT_I8. The Indexing Service friendly name is "size".
- PID_STG_ATTRIBUTES
-
Property ID 0x0d. The attribute flags for a file. Default type is VT_UI4. The Indexing Service friendly name is "attrib".
- PID_STG_WRITETIME
-
Property ID 0x0e. The date and time of the last write to the file. Default type is VT_FILETIME. The Indexing Service friendly name is "write".
- PID_STG_CREATETIME
-
Property ID 0x0f. The date and time the file was created. Default type is VT_FILETIME. The Indexing Service friendly name is "create".
- PID_STG_ACCESSTIME
-
Property ID 0x10.The time of the last access to the file. Default type is VT_FILETIME. The Indexing Service friendly name is "access".
- PID_STG_CHANGETIME
-
Property ID 0x11.The time of the last change to a file in an NTFS file system, including changes in the main data stream and secondary streams. Default type is VT_FILETIME. The Indexing Service friendly name is "change".
- PID_STG_ALLOCSIZE
-
Property ID 0x12. File allocation size.
- PID_STG_CONTENTS
-
Property ID 0x13. The contents of the file. This property is for query restrictions only; it cannot be retrieved in a query result. Default type is VT_LPWSTR. The Indexing Service friendly name is "contents".
- PID_STG_SHORTNAME
-
Property ID 0x14. The short (8.3) file name for the file. Default type is VT_LPWSTR. The Indexing Service friendly name is "shortname".
- PID_STG_MAX
-
Property ID 0x14. Identifies the last PID_STG constant assigned.
Related topics