Compartilhar via


FSDMGR_CreateFileHandle (Compact 2013)

3/26/2014

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

See Also

Reference

FSDMGR Functions
FSD Functions
MyFSD_CreateFileW
FSDMGR_RegisterVolume