4.2 Receiving a Tracker Event

Figure 3: Receiving a tracker event
This example shows a client application that receives a tracker event. For this example, the client role acts as a DCOM server and the server role acts as a DCOM client.
This example assumes that the client has already sent its callback interface to the server.
The server creates a TrackingInfoCollection OBJREF_CUSTOM (section 2.2.5.5) that represents the tracker event and sends it to the client.
The client unmarshals the TrackingInfoCollection OBJREF_CUSTOM and returns S_OK.