CE_VOLUME_INFO (Windows Embedded CE 6.0)
1/6/2010
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 Desription 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_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 |
Windows Embedded CE | Windows CE 5.0 and later |