PEER_GROUP_EVENT_REGISTRATION structure (p2p.h)

The PEER_GROUP_EVENT_REGISTRATION structure defines the particular peer group event a member can register for.

Syntax

typedef struct peer_group_event_registration_tag {
  PEER_GROUP_EVENT_TYPE eventType;
  GUID                  *pType;
} PEER_GROUP_EVENT_REGISTRATION, *PPEER_GROUP_EVENT_REGISTRATION;

Members

eventType

PEER_GROUP_EVENT_TYPE that specifies the peer group event type to register for.

pType

GUID value that identifies the type of record or data message that raises an event of the type specified by eventType. For example, if the peer wishes to be notified about all changes to a specific record type, the GUID that corresponds to this record type must be supplied in this field and PEER_GROUP_RECORD_CHANGED must be in eventType.

This member is only populated (not NULL) when eventType is either PEER_GROUP_EVENT_RECORD_CHANGED or PEER_GROUP_EVENT_INCOMING_DATA.

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

See also

PEER_GROUP_EVENT_TYPE

PeerGroupRegisterEvent