Skip to content

Latest commit

 

History

History
132 lines (106 loc) · 3.66 KB

nf-fwpmu-fwpmprovidersubscriptionsget0.md

File metadata and controls

132 lines (106 loc) · 3.66 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:fwpmu.FwpmProviderSubscriptionsGet0
FwpmProviderSubscriptionsGet0 function (fwpmu.h)
Retrieves an array of all the current provider change notification subscriptions.
FwpmProviderSubscriptionsGet0
FwpmProviderSubscriptionsGet0 function [Filtering]
fwp.fwpmprovidersubscriptionsget0_func
fwpmu/FwpmProviderSubscriptionsGet0
fwp\fwpmprovidersubscriptionsget0_func.htm
fwp
c37a690a-8f5e-4f97-b676-e977ff2a5621
12/05/2018
FwpmProviderSubscriptionsGet0, FwpmProviderSubscriptionsGet0 function [Filtering], fwp.fwpmprovidersubscriptionsget0_func, fwpmu/FwpmProviderSubscriptionsGet0
fwpmu.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Fwpuclnt.lib
Fwpuclnt.dll
Windows
19H1
FwpmProviderSubscriptionsGet0
fwpmu/FwpmProviderSubscriptionsGet0
c++
APIRef
kbSyntax
DllExport
Fwpuclnt.dll
FwpmProviderSubscriptionsGet0

FwpmProviderSubscriptionsGet0 function

-description

The FwpmProviderSubscriptionsGet0 function retrieves an array of all the current provider change notification subscriptions.

-parameters

-param engineHandle [in]

Type: HANDLE

Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.

-param entries [out]

Type: FWPM_PROVIDER_SUBSCRIPTION0***

The current provider change notification subscriptions.

-param numEntries [out]

Type: UINT32*

Pointer to an UINT32 variable that will contain the number of entries returned.

-returns

Type: DWORD

Return code/value Description
ERROR_SUCCESS
0
The subscriptions were retrieved successfully.
FWP_E_* error code
0x80320001—0x80320039
A Windows Filtering Platform (WFP) specific error. See WFP Error Codes for details.
RPC_* error code
0x80010001—0x80010122
Failure to communicate with the remote or local firewall engine.

-remarks

The returned array (but not the individual entries in the array) must be freed through a call to FwpmFreeMemory0.

The caller needs FWPM_ACTRL_READ access to the provider's container. See Access Control for more information.

FwpmProviderSubscriptionsGet0 is a specific implementation of FwpmProviderSubscriptionsGet. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

-see-also

FWPM_PROVIDER_SUBSCRIPTION0