FSD_GetVolumeInfo (Compact 2013)
3/26/2014
This function obtains volume information in a FSD_VOLUME_INFO structure.
Syntax
MyFSD_GetVolumeInfo(
DWORD dwVolume,
FSD_VOLUME_INFO *pInfo
);
Parameters
- dwVolume
Handle to the volume described in a FSD_VOLUME_INFO structure.
- pInfo
Pointer to the FSD_VOLUME_INFO structure that describes file system information about the volume.
Return Value
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Remarks
This function enables an FSD to report information to the OS through a FSD_VOLUME_INFO structure. For example, an FSD might report that it supports transaction-safe operations using the FSD_TRANSACTION_SAFE flag.
Storage Manager uses the data returned by this function in the FSD_VOLUME_INFO structure to report file system information to applications through the CeGetVolumeInfo function.
File System Disk Manager (FSDMGR) component is a DLL that manages all OS interaction with installable files systems. Each installable file system requires an FSD, which is a DLL needed to support an installable file system. The name of the DLL for the FSD and the names of its functions start with the name of the associated installable file system. For example, if the name of file system is MyFSD, its DLL is MyFSD.dll and its exported functions are prefaced with MyFSD_*.
FSDMGR provides service functions to FSDs. The FSDMGR_RegisterVolume, the FSDMGR_CreateFileHandle, and the FSDMGR_CreateSearchHandle functions record a DWORD of volume-specific data that an FSD associates with the volume. This data is passed as the first parameter of these three functions.
Requirements
Header |
fsdmgr.h |
Library |
Fsdmgr.lib |