FSDMGR_CreateFileHandle (Windows Embedded CE 6.0)
1/6/2010
This function is called by a file system driver (FSD) to create a handle for a specified file.
Syntax
HANDLE FSDMGR_CreateFileHandle(
HVOL hVol,
HANDLE hProc,
PFILE pFile
);
Parameters
- hVol
[in] Handle of the mounted volume that is returned by the FSDMGR_RegisterVolume function. This handle is not a true Win32 handle.
- hProc
[in] Handle of the originating process handle.
- pFile
[out] Pointer to the file-specific data defined by the file system driver for the new handle.
Return Value
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 this function to create a file handle. The file handle enables the proper routing of file system function calls.
Requirements
Header | fsdmgr.h |
Library | Fsdmgr.lib |
Windows Embedded CE | Windows CE 2.10 and later |
See Also
Reference
FSDMGR Functions
FSD Functions
MyFSD_CreateFileW
FSDMGR_RegisterVolume