FSDMGR_CreateFileHandle (Windows CE 5.0)
This function is called by an FSD to create a handle for a specified file.
HANDLE FSDMGR_CreateFileHandle( HVOLhVol,HANDLE hProc,PFILE pFile);
Parameters
- 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.
Remarks
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.
Requirements
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