13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.2.2 Receiving NotificationsThe following figure shows an example of what happens when one or more <strong>VDS</strong> events aretriggered.Figure 5: <strong>VDS</strong> event triggered1. For each callback that was registered, the server calls IVdsAdviseSink::OnNotify() with anarray of <strong>VDS</strong>_NOTIFICATION structures that describe the events that were triggered.2. The client returns an HRESULT of 0x00000000 to acknowledge the notification.4.2.3 Unregistering for NotificationsThe following figure shows an example of a client that cancels a previous registration for anotification.Figure 6: Client canceling previous registration for notification1. The client requests unregistration by calling the IVds<strong>Service</strong>::Unadvise method and passingthe cookie value that was received during registration.[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 2011285 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!