FWPM_DISPLAY_DATA0 structure

The FWPM_DISPLAY_DATA0 structure specifies a name and description for a layer, a filter, a provider, a provider context, a callout, or an open session.

Note  FWPM_DISPLAY_DATA0 is a specific version of FWPM_DISPLAY_DATA. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
 

Syntax


struct FWPM_DISPLAY_DATA0 {
  wchar_t * name;
  wchar_t * description;
};

Members

name

A pointer to a NULL-terminated string that specifies the name to be associated with the layer, filter, provider, provider context, callout, or open session. This can be either a literal string or an indirect string.

description

A pointer to a NULL-terminated string that specifies the description to be associated with the layer, filter, provider, provider context, callout, or open session. This can be either a literal string or an indirect string.

Remarks

For Multilingual User Interface (MUI) support, the Name and Description members can be pointers to indirect strings. If a string is an indirect string, it is in this form.


@filename,resource

The target string is located in the specified file. The resource value identifies the specific string within the file. If the resource value is zero or greater, the number is used as an index of the string in a binary file. If the resource value is negative, it is used as a resource identifier in a resource file.

An FWPM_DISPLAY_DATA0 structure is contained within the FWPM_CALLOUT0 and FWPM_SESSION0 structures.

An FWPM_DISPLAY_DATA0 structure is also contained within the FWPM_FILTER0, FWPM_LAYER0, FWPM_PROVIDER0, FWPM_PROVIDER_CONTEXT0, and FWPM_SUBLAYER0 structures. For more information about these structures, see the Windows Filtering Platform section in the Microsoft Windows SDK documentation.

The Name member is required for all of these structures except for the FWPM_SESSION0 structure.

Requirements

Version

Available starting with Windows Vista.

Header

Fwptypes.h (include Fwpsk.h)

See also

FWPM_CALLOUT0
FWPM_SESSION0

 

 

Send comments about this topic to Microsoft

Show: