PEER_NAME_PAIR structure (p2p.h)
The PEER_NAME_PAIR structure contains the results of a call to PeerGetNextItem.
Syntax
typedef struct peer_name_pair_tag {
DWORD dwSize;
PWSTR pwzPeerName;
PWSTR pwzFriendlyName;
} PEER_NAME_PAIR, *PPEER_NAME_PAIR;
Members
dwSize
Specifies the size, in bytes, of this structure.
pwzPeerName
Specifies the peer name of the peer identity or peer group.
pwzFriendlyName
Specifies the friendly name of the peer identity or peer group.
Remarks
This structure is used when enumerating peer identities and peer groups associated with a specific identity.
When enumerating peer identities, each PEER_NAME_PAIR structure contains a peer name and the friendly name of the identity.
When enumerating peer groups, each PEER_NAME_PAIR structure contains the peer name and friendly name of the corresponding peer group.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack for Windows XP |
Minimum supported server | None supported |
Header | p2p.h |