Share via


FSDMGR_CreateFileHandle

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FSD Functions
MyFSD_CreateFileW
FSDMGR_RegisterVolume