Partager via


FWPM_PROVIDER0 (Compact 2013)

3/26/2014

This structure stores the state associated with a policy provider.

Syntax

typedef struct FWPM_PROVIDER0_ {
  GUID providerKey;
  FWPM_DISPLAY_DATA0 displayData;
  UINT32 flags;
  FWP_BYTE_BLOB providerData;
  wchar_t* serviceName;
} FWPM_PROVIDER0;

Members

  • providerKey
    Uniquely identifies the provider.

    If the GUID is zero-initialized in the call to Add, Base Filtering Engine (BFE) will generate one.

  • displayData
    Allows providers to be annotated in a human-readable form. The name member of the FWPM_DISPLAY_DATA0 structure is required.
  • flags
    Bit flags that indicate information about the persistence of the provider.

    Possible values are listed in the Remarks section below.

  • providerData
    An FWP_BYTE_BLOB structure that contains optional provider-specific data that allows providers to store additional context info with the object.
  • serviceName
    Optional name of the Windows service hosting the provider. This allows BFE to detect that a provider has been disabled.

Remarks

The following is a list of the possible values for the flags data member:

Value

Meaning

FWPM_PROVIDER_FLAG_PERSISTENT

Provider is persistent

FWPM_PROVIDER_FLAG_DISABLED

Provider's filters were disabled when the BFE started because the provider has no associated Windows service name, or because the associated service was not set to auto-start.

Gg157574.note(en-us,WinEmbedded.80).gifNote:
This flag cannot be set when adding new providers. It can only be returned by BFE when getting or enumerating providers.

Requirements

Header

fwpmu.h

See Also

Reference

WFP Management Structures

Other Resources

Windows Filtering Platform