Compartilhar via


FSD_VOLUME_INFO (Windows CE 5.0)

Send Feedback

This structure is used with the FSD function MyFSD_GetVolumeInfo to report information to the OS through various flags. The storage manager uses the data returned by this function in the FSD_VOLUME_INFO structure to report file system information to applications via CeGetVolumeInfo.

typedef struct _FSD_VOLUME_INFO {
    DWORD cbSize;
    DWORD dwFSVersion ; 
    TCHAR szFSDDesc[MAX_FSD_DESCRIPTOR];
    TCHAR szFSDSubType[MAX_FSD_DESCRIPTOR];
    DWORD dwAttributes;
    DWORD dwBlockSize;
    DWORD dwFlags;
} FSD_VOLUME_INFO, *PFSD_VOLUME_INFO;

Members

  • cbSize
    Set to sizeof(FSD_VOLUME_INFO).

  • dwFSVersion
    Version that this file system driver (FSD) conforms to. This value must be one of the defines above

  • szFSDDesc
    Currently ignored. FSD name, such as FAT or UDFS.

  • szFSDSubType
    Currently ignored. Subtype of the FSD, if applicable, such as FAT12, FAT16, or FAT32.

  • dwAttributes
    Bitmask containing file system attribute values. The following table shows possible values:

    Value Description
    FSD_ATTRIBUTE_READONLY Added to FSD_VOLUME_INFO.dwAttributes when the volume is read only.
    FSD_ATTRIBUTE_XIP Added to FSD_VOLUME_INFO.dwAttributes when the volume supports XIP from the file system.
  • dwBlockSize
    Optimal block size for I/O operations. For FAT, this would be cluster size.

  • dwFlags
    Information values.

    The following table shows possible values for dwFlags.

    Flag Value Description
    FSD_FLAG_TRANSACTION_SAFE 0x1 Indicates the volume supports transaction safe operations. This indicates that the file system meta-data will not become corrupt due to power loss.
    FSD_FLAG_TRANSACT_WRITES 0x2 Indicates that the volume supports transaction-safe WriteFile operations. This indicates that the file system meta-data will not become corrupt due to power loss.
    FSD_FLAG_WFSC_SUPPORTED 0x4 Indicates the FSD supports FSD_WriteFileGather and FSD_ReadFileScatter.
    FSD_FLAG_LOCKFILE_SUPPORTED 0x8 Indicates the FSD supports FSD_LockFileEx and FSD_UnlockFileEx.
    FSD_FLAG_NETWORK 0x10 Indicates the FSD is a network file system.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Fsdmgr.h.

See Also

MyFSD_GetVolumeInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.