次の方法で共有


FSDMGR_CreateSearchHandle (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

FSDMGR Functions
FSD Functions
FindFirstFile
FSDMGR_RegisterVolume
MyFSD_FindFirstFileW