Compartilhar via


MyFSD_GetVolumeInfo (Windows CE 5.0)

Send Feedback

The MyFSD_GetVolumeInfo function allows a file system to report back a FSD_VOLUME_INFO structure.

MyFSD_GetVolumeInfo(   DWORD dwVolume,
   FSD_VOLUME_INFO *pInfo
);

Parameters

  • dwVolume
    Handle to volume described in an FSD_VOLUME_INFO structure.
  • pInfo
    Pointer to the FSD_VOLUME_INFO structure that describes file system-specific information about the volume.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

This function allows an FSD to report information to the OS through various flags via the FSD_VOLUME_INFO structure. For example, an FSD might report that it supports transaction-safe operations using the FSD_TRANSACTION_SAFE flag.

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.

The Fsdmgr component is a DLL that manages all operating system (OS) interaction with installable files systems. Each installable file system requires an FSD, which is a DLL that exports an API needed to support an installable file system. The name of the DLL for the FSD and the names of the functions it exports start with the name of the associated installable file system. For example, if the name of file system is MyFSD, then its DLL is MyFSD.dll and its exported functions are prefaced with MyFSD_*.

Fsdmgr provides service functions to FSDs. The FSDMGR_RegisterVolume, FSDMGR_CreateFileHandle, and FSDMGR_CreateSearchHandle functions record a DWORD of volume-specific data an FSD needs to keep associated with volume. This volume-specific data is passed as the first parameter of these three functions.

Requirements

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

See Also

FSD_VOLUME_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.