Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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

hVol

[in] Handle of the mounted volume that is returned by the FSDMGR_RegisterVolumefunction.

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 FindFirstFilefunction, and it is routed to the MyFSD_FindFirstFileWfunction 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 FindFirstFilefunction.

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