Export (0) Print
Expand All

FilterInstanceClose function

The FilterInstanceClose function closes a minifilter instance handle opened by FilterInstanceCreate.

Syntax


HRESULT FilterInstanceClose(
  _In_  HFILTER_INSTANCE hFilterInstanceFind
);

Parameters

hFilterInstanceFind [in]

Minifilter instance handle returned by a previous call to FilterInstanceCreate.

Return value

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

Remarks

After the FilterInstanceClose function is called, the minifilter instance handle specified by the hFilterInstanceFind parameter is no longer valid and cannot safely be used.

Use FilterInstanceClose to close handles returned by calls to FilterInstanceCreate. Use FilterInstanceFindClose to close handles returned by calls to FilterInstanceFindFirst.

Requirements

Target platform

Universal

Header

Fltuser.h (include Fltuser.h)

Library

FltLib.lib

DLL

FltLib.dll

See also

FilterInstanceCreate
FilterInstanceFindClose
FilterInstanceFindFirst

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft