Share via


FSDMGR_CreateSearchHandle

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FSD Functions
FindFirstFile
FSDMGR_RegisterVolume
MyFSD_FindFirstFileW