This function is called by the file system driver (FSD) to create a handle for a specified file..

HANDLE FSDMGR_CreateFileHandle( 
HVOL hVol, 
PFILE pFile);


  • hVol
    [in] Handle to the mounted volume that is returned from FSDMGR_RegisterVolume. This handle is not a true Win32 handle.
  • hProc
    [in] Handle to the originating process handle.
  • pFile
    [out] Pointer to the file-specific data defined by the file system driver for the new handle.

Return Values

A handle associated with the originating process indicates success. INVALID_HANDLE_VALUE indicates failure.


When an FSD is called in its MyFSD_CreateFileW function, it must call FSDMGR_CreateFileHandle to create a file handle. The file handle is necessary to enable the proper routing of the Win32 file system API calls.


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

MyFSD_CreateFileW, FSDMGR_RegisterVolume

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.