FilterFindClose function

The FilterFindClose function closes the specified minifilter search handle. The FilterFindFirst and FilterFindNext functions use this search handle to locate minifilters.

Syntax


HRESULT FilterFindClose(
  _In_  HANDLE hFilterFind
);

Parameters

hFilterFind [in]

Minifilter search handle to close. This handle must have been opened by a previous call to FilterFindFirst.

Return value

FilterFindClose returns S_OK if successful. Otherwise, it returns an error value.

Remarks

After the FilterFindClose function is called, the minifilter search handle specified by the hFilterFind parameter cannot be used in subsequent calls to FilterFindNext or FilterFindClose.

Use FilterFindClose to close handles returned by calls to FilterFindFirst. Use FilterClose to close handles returned by calls to FilterCreate.

Requirements

Header

Fltuser.h (include Fltuser.h)

Library

FltLib.lib

See also

FilterClose
FilterCreate
FilterFindFirst
FilterFindNext

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft