PEER_CONNECTION_INFO structure (p2p.h)
The PEER_CONNECTION_INFO structure contains information about a connection. This structure is returned when you are enumerating peer graphing or grouping connections.
Syntax
typedef struct peer_connection_info_tag {
DWORD dwSize;
DWORD dwFlags;
ULONGLONG ullConnectionId;
ULONGLONG ullNodeId;
PWSTR pwzPeerId;
PEER_ADDRESS address;
} PEER_CONNECTION_INFO;
Members
dwSize
Specifies the size a structure.
dwFlags
Specifies the type of connection to a remote node. Valid values are specified by PEER_CONNECTION_FLAGS.
ullConnectionId
Specifies the unique ID of a connection.
ullNodeId
Specifies the unique ID of a node.
pwzPeerId
Points to a string that identifies the node on the other end of a connection.
address
Specifies the address of a remote node. The address is contained in a PEER_ADDRESS structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP |
Minimum supported server | None supported |
Header | p2p.h |