Share via


FSDMGR_CreateFileHandle

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

HANDLE FSDMGR_CreateFileHandle( 
  HVOL hVol, 
  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

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.