Share via


FSDMGR_GetVolumeName (Windows Embedded CE 6.0)

1/6/2010

This function is called by a file system driver (FSD) to obtain the name of a volume with the specified handle.

Syntax

INT FSDMGR_GetVolumeName( 
  HVOL hVol, 
  PWSTR pwsName,
  int cchMax
);

Parameters

  • pwsName
    [out] Pointer to the string that contains the volume name. Set to NULL to obtain 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 set to NULL.

Return Value

The number of characters returned, not including the terminating NULL, indicates success. Zero indicates failure.

Remarks

An FSD calls this function after calling the FSDMGR_RegisterVolume function.

Requirements

Header fsdmgr.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

FSDMGR Functions
FSD Functions
FSDMGR_RegisterVolume