FW_DYNAMIC_KEYWORD_ADDRESS0 structure (netfw.h)

Allows the client to create a dynamic keyword address, which holds a list of IP addresses. This object can also be marked as AutoResolve, which indicates that the IP addresses are not populated upon creation, but instead populated by a component outside of the firewall service.

For more info, and code examples, see Firewall dynamic keywords.

Syntax

typedef struct _tag_FW_DYNAMIC_KEYWORD_ADDRESS0 {
  GUID   id;
  PCWSTR keyword;
  DWORD  flags;
  PCWSTR addresses;
} FW_DYNAMIC_KEYWORD_ADDRESS0, *PFW_DYNAMIC_KEYWORD_ADDRESS0;

Members

id

Type: GUID

A unique GUID identifier for this object. It must be a non-empty GUID.

keyword

Type: PCWSTR

Either a string (for management convenience), or a resolvable string (that is, a FQDN or hostname) when the FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS_AUTO_RESOLVE flag is set.

flags

Type: DWORD

Set to the value FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS_AUTO_RESOLVE to indicate that the keyword field will be resolved, and that the addresses field will be populated by another component outside the firewall service.

addresses

Type: PCWSTR

The list of IP addresses for this keyword. If the FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS_AUTO_RESOLVE flag is set, then this indicates that the addresses field was populated outside the firewall service.

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header netfw.h

See also