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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Notifications that are related to storage object modification indicate a state change, such as when adisk status changes from <strong>VDS</strong>_DS_ONLINE to <strong>VDS</strong>_DS_FAILED, or when a volume length changesbecause of a call to IVdsVolume::Extend.3.3.4.3 IVdsAdviseSink Methods3.3.4.3.1 IVdsAdviseSink::OnNotify (Opnum 3)The OnNotify method passes notifications from <strong>VDS</strong> to applications.HRESULT OnNotify([in, range(1,100)] long lNumberOfNotifications,[in, size_is(lNumberOfNotifications)]<strong>VDS</strong>_NOTIFICATION* pNotificationArray);lNumberOfNotifications: The number of notifications that are specified in pNotificationArray.This parameter MUST be a value from 1 through 100.pNotificationArray: An array of <strong>VDS</strong>_NOTIFICATION structures.Return Values: The method MUST return zero or a non-error HRESULT (as specified in [<strong>MS</strong>-ERREF]) to indicate success or return an implementation-specific nonzero error code toindicate failure. For the HRESULT values predefined by the <strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> Remote<strong>Protocol</strong>, see section 2.2.3.3.3.5 Timer EventsNone.3.3.6 Other Local EventsNone.3.4 Server DetailsUnless otherwise specified, all methods MUST return zero or a non-error HRESULT (as specified in[<strong>MS</strong>-ERREF]) to indicate success, or return an implementation-specific nonzero error code toindicate failure. For the HRESULT values predefined by the <strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> Remote <strong>Protocol</strong>, seesection 2.2.3.3.4.1 Abstract Data ModelThe server maintains the following information to use in responding to client queries and commands.Unless otherwise specified, zero indicates success.This section describes a conceptual model of possible data organization that an implementationmaintains to participate in this protocol. The described organization is provided to facilitate theexplanation of how the protocol behaves. This document does not mandate that implementationsadhere to this model as long as their external behavior is consistent with that described in thisdocument.[<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, 2011153 / 360

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

Saved successfully!

Ooh no, something went wrong!