IVdsAsync interface

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Manages asynchronous operations. Methods that initiate asynchronous operations return a pointer to an IVdsAsync interface, allowing the caller to optionally cancel, wait for, or query the status of the asynchronous operation.

When to implement

Hardware and software providers implement this interface for methods that initiate asynchronous operations.

When to use

Applications use the methods of this interface to cancel, wait for, or query the status of an asynchronous operation.

Members

The IVdsAsync interface inherits from the IUnknown interface. IVdsAsync also has these types of members:

Methods

The IVdsAsync interface has these methods.

MethodDescription
Cancel

Cancels the asynchronous operation.

QueryStatus

Returns when the asynchronous operation is in progress, or has either finished successfully or failed.

Wait

Returns when the asynchronous operation has either finished successfully or failed.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h;
VdsHwPrv.h (for hardware providers)

Library

Uuid.lib

See also

VDS Interfaces
IEnumVdsObject::Next
Helper Objects
Managing Asynchronous Operations

 

 

Show: