When the multicast group manager is notified that there are new receivers present for a group on an interface, the multicast group manager invokes the PMGM_JOIN_ALERT_CALLBACK callback. This callback notifies the routing protocols that new hosts have joined the specified groups . Therefore, the routing protocols must request multicast data for the groups specified by the callback.
The multicast group manager uses a predefined set of rules that are used to determine when this callback is invoked. This set of rules is based on both the type of join request sent by the client and the order the join requests were received in.
Wildcard Join Requests
When a wildcard join for a group (*, g) is received from the first client, the multicast group manager invokes the PMGM_JOIN_ALERT_CALLBACK callback to all other registered clients. When a wildcard join for a group is received from the second client, the multicast group manager invokes this callback to the first client to join the group.
Source-Specific Join Requests
The multicast group manager does not invoke this callback for any subsequent joins to the group.
When a source-specific join for a group (s, g) is received, the multicast group manager invokes the PMGM_JOIN_ALERT_CALLBACK callback only for the client that owns the incoming interface towards the source s.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
