PEER_MEMBER structure (p2p.h)
The PEER_MEMBER structure contains information that describes a member of a peer group.
Syntax
typedef struct peer_member_tag {
DWORD dwSize;
DWORD dwFlags;
PWSTR pwzIdentity;
PWSTR pwzAttributes;
ULONGLONG ullNodeId;
ULONG cAddresses;
PEER_ADDRESS *pAddresses;
PEER_CREDENTIAL_INFO *pCredentialInfo;
} PEER_MEMBER, *PPEER_MEMBER;
Members
dwSize
Specifies the size of this structure, in bytes.
dwFlags
PEER_MEMBER_FLAGS enumeration value that specifies the state of the member.
Value | Meaning |
---|---|
|
The member is present in the peer group. |
pwzIdentity
Pointer to a Unicode string that specifies the peer name of the member.
pwzAttributes
Pointer to a unicode string that specifies the attributes of the member. The format of this string is defined by the application.
ullNodeId
Unsigned 64-bit integer that contains the node ID. The same peer can have several node IDs, each identifying a different node that participates in a different peer group.
cAddresses
Specifies the number of IP addresses listed in pAddress.
pAddresses
Pointer to a list of PEER_ADDRESS structures used by the member.
pCredentialInfo
Pointer to a PEER_CREDENTIAL_INFO structure that contains information about the security credentials of a member.
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 |