WITNESS_INTERFACE_INFO The WITNESS_INTERFACE_INFO structure specifies the IP addresses of the interface. typedef struct _WITNESS_INTERFACE_INFO { WCHAR InterfaceGroupName[260]; ULONG Version; USHORT ULONG IPV4; USHORT IPV6[8]; UINT Flags; } WITNESS_INTERFACE_INFO, *PWITNESS_INTERFACE_INFO; InterfaceGroupName: The null-terminated string that specifies a name of the interface group. The current version of the Witness Service running on the server. Version: State: The current state of the interface. This field MUST contain one of the following values: Meaning UNKNOWN The of the interface is unknown. 0x0000 AVAILABLE The interface is available. 0x0001 UNAVAILABLE The interface is unavailable. 0x00FF IPV4: The address of the interface, if the IPv4 flag is set in Flags field. IPV6: The address of the interface, if the IPv6 flag is set in Flags field. Flags: The Flags field specifies information about the interface. This field MUST be set to combination of zero or more of the following values: Value Meaning IPv4 If set, the IPV4 contains a valid address. 0x00000001 IPv6 If set, the IPV6 contains a valid address. 0x00000002 INTERFACE_WITNESS If set, the interface is available for witness registration. If not set, the interface MUST NOT be used for witness registration. 0x00000004 WITNESS_INTERFACE_LIST The WITNESS_INTERFACE_LIST structure specifies the list of interfaces available for witness registration. typedef struct _WITNESS_INTERFACE_LIST {
WITNESS_INTERFACE_INFO The WITNESS_INTERFACE_INFO structure specifies the IP addresses of the interface. typedef struct _WITNESS_INTERFACE_INFO { WCHAR InterfaceGroupName[260]; ULONG Version; USHORT ULONG IPV4; USHORT IPV6[8]; UINT Flags; } WITNESS_INTERFACE_INFO, *PWITNESS_INTERFACE_INFO; InterfaceGroupName: The null-terminated string that specifies a name of the interface group. Version: The current version of the Witness Service running on the server. State: The current state of the interface. This field MUST contain one of the following values: Meaning UNKNOWN 0x0000 The of the interface is unknown. AVAILABLE 0x0001 The interface is available. UNAVAILABLE 0x00FF The interface is unavailable. IPV4: The address of the interface, if the IPv4 flag is set in Flags field. IPV6: The address of the interface, if the IPv6 flag is set in Flags field. Flags: The Flags field specifies information about the interface. This field MUST be set to combination of zero or more of the following values: Value Meaning IPv4 0x00000001 If set, the IPV4 contains a valid address. IPv6 0x00000002 If set, the IPV6 contains a valid address. INTERFACE_WITNESS 0x00000004 If set, the interface is available for witness registration. If not set, the interface MUST NOT be used for witness registration. WITNESS_INTERFACE_LIST The WITNESS_INTERFACE_LIST structure specifies the list of interfaces available for witness registration. typedef struct _WITNESS_INTERFACE_LIST {