FSDMGR_CreateFileHandle (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function is called by an FSD to create a handle for a specified file.

HANDLE FSDMGR_CreateFileHandle( 
  HVOL hVol, 
  HANDLE hProc,
  PFILE pFile


[in] Handle to the mounted volume that is returned from FSDMGR_RegisterVolume. This handle is not a true Win32 handle.
[in] Handle to the originating process handle.
[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.


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

See Also

MyFSD_CreateFileW | FSDMGR_RegisterVolume

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.