Skip to content

Latest commit

 

History

History
81 lines (62 loc) · 2.45 KB

nf-fltuser-filtercreate.md

File metadata and controls

81 lines (62 loc) · 2.45 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:fltuser.FilterCreate
FilterCreate function (fltuser.h)
The FilterCreate function creates a handle for the given minifilter.
FilterCreate
FilterCreate function [Installable File System Drivers]
FltWin32ApiRef_1f318282-a1f9-40a7-8272-448727603f04.xml
fltuser/FilterCreate
ifsk.filtercreate
ifsk\filtercreate.htm
ifsk
950e0b5b-4ee3-4eed-9039-823a6942cd38
12/05/2018
FilterCreate, FilterCreate function [Installable File System Drivers], FltWin32ApiRef_1f318282-a1f9-40a7-8272-448727603f04.xml, fltuser/FilterCreate, ifsk.filtercreate
fltuser.h
Fltuser.h
Universal
FltLib.lib
FltLib.dll
Windows
19H1
FilterCreate
fltuser/FilterCreate
c++
APIRef
kbSyntax
DllExport
FltLib.dll
FilterCreate

FilterCreate function

-description

The FilterCreate function creates a handle for the given minifilter.

-parameters

-param lpFilterName [in]

Pointer to a null-terminated wide-character string containing the name of the minifilter. This parameter is required and cannot be NULL.

-param hFilter [out]

Pointer to a caller-allocated variable that receives a handle for the minifilter if the call to FilterCreate succeeds; otherwise, it receives INVALID_HANDLE_VALUE.

-returns

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

-remarks

A user-mode application calls FilterCreate to create a handle that can be used to communicate with a kernel-mode minifilter. The returned minifilter handle can be passed as a parameter to functions such as FilterGetInformation.

To close a filter handle returned by FilterCreate, call FilterClose.

-see-also

FilterClose

FilterGetInformation