CE_VOLUME_INFO (Compact 2013)
3/26/2014
This structure contains information about a volume.
Syntax
typedef struct _CE_VOLUME_INFO{
DWORD cbSize;
DWORD dwAttributes;
DWORD dwFlags;
DWORD dwBlockSize;
TCHAR szStoreName[STORENAMESIZE];
TCHAR szPartitionName[PARTITIONNAMESIZE];
} CE_VOLUME_INFO, *PCE_VOLUME_INFO, *LPCE_VOLUME_INFO;
Members
- cbSize
Set tosizeof(CE_VOLUME_INFO)
.
dwAttributes
Specifies attributes of a volume. The following table shows possible values.Value
Description
CE_VOLUME_ATTRIBUTE_BOOT
The volume is the boot volume and contains the hive-based registry.
CE_VOLUME_ATTRIBUTE_HIDDEN
The volume is hidden.
CE_VOLUME_ATTRIBUTE_READONLY
The volume is read-only.
CE_VOLUME_ATTRIBUTE_REMOVABLE
The volume is removable.
CE_VOLUME_ATTRIBUTE_SYSTEM
The volume is marked as a system volume.
dwFlags
Specifies additional properties of a volume. The following table shows possible values.Value
Description
CE_VOLUME_FLAG_TRANSACT_WRITE
Calls the WriteFile function.
CE_VOLUME_FLAG_LOCKFILE_SUPPORTED
Supports file locking.
CE_VOLUME_FLAG_NETWORK
Specifies that the volume is a network volume.
CE_VOLUME_FLAG_STORE
Specifies that the volume has a back-up store.
CE_VOLUME_FLAG_WFSC_SUPPORTED
Supports scatter/gather for both read and write operations.
CE_VOLUME_FLAG_RAMFS
Specifies that the volume is a RAM file system.
CE_VOLUME_FLAG_64BIT_FILES_SUPPORTED
Specifies that the volume supports 64-bit file sizes and offsets.
CE_VOLUME_TRANSACTION_SAFE
Performs transaction-safe operations.
- dwBlockSize
Size of the block, in bytes.
- szStoreName
Name of the store. Maximum length is 32.
- szPartitionName
Name of the partition. Maximum length is 32.
Requirements
Header |
storemgr.h |