4.2.1 Registering for Notifications

The following figure shows an example of a client that registers to receive notifications from a server.

Client registering to receive notifications from a server

Figure 4: Client registering to receive notifications from a server

  1. The client requests registration by calling the IVdsService::Advise method and by passing an IVdsAdviseSink interface as a parameter.

  2. The server returns a cookie value that uniquely identifies the client registration. The client can later use the cookie value to unregister for notifications.