FSDMGR_GetVolumeName
This function gets the name of a volume, given its handle. It is called by a file system driver (FSD).
INT FSDMGR_GetVolumeName(
HVOL hVol,
PWSTR pwsName,
int cchMax);
Parameters
- hVol
[in] Handle to the mounted volume that is returned from FSDMGR_RegisterVolume. This handle is not a true Win32 handle. - pwsName
[out] Pointer to the string that contains the volume name. Set to NULL to get the size of the volume name. - cchMax
[in] Maximum number of characters allowed in the buffer, including the terminating NULL. This is ignored if pwsName is NULL.
Return Values
The number of characters returned, not including the terminating NULL, indicates success. Zero indicates failure.
Remarks
An FSD should call FSDMGR_GetVolumeName after calling the FSDMGR_RegisterVolume function.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.10 and later | Fsdmgr.h | Fsdmgr.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.