FilterFindClose function (fltuser.h)
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
[in] hFilterFind
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
Requirement | Value |
---|---|
Target Platform | Universal |
Header | fltuser.h (include Fltuser.h) |
Library | FltLib.lib |
DLL | FltLib.dll |