Share via


FSDMGR_CreateSearchHandle (Compact 2013)

3/26/2014

This function creates search handles. It is called by a file system driver (FSD).

Syntax

HANDLE FSDMGR_CreateSearchHandle( 
  HVOL hVol, 
  HANDLE hProc,
  PSEARCH pSearch
);

Parameters

  • hProc
    [in] Handle of the originating process handle.
  • pSearch
    [out] Pointer to the search-specific data defined by the file system driver for the new handle.

Return Value

A search handle associated with the originating process indicates success. INVALID_HANDLE_VALUE indicates failure.

Remarks

An FSD calls this function when an application calls the FindFirstFile function, and it is routed to the MyFSD_FindFirstFileW function in an FSD. The handle created by this function provides proper routing of calls, based on the search handle.

This function returns a handle to the application that called the FindFirstFile function.

Requirements

Header

fsdmgr.h

Library

Fsdmgr.lib

See Also

Reference

FSDMGR Functions
FSD Functions
FindFirstFile
FSDMGR_RegisterVolume
MyFSD_FindFirstFileW