Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IVdsService interface

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

Provides methods to query and interact with VDS.

When to implement

VDS implements this interface.

When to use

Applications use the methods of this interface to determine VDS availability, query objects managed by the service, and configure service features.

Members

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

Methods

The IVdsService interface has these methods.

MethodDescription
Advise

Registers the caller's IVdsAdviseSink interface with VDS so that the caller receives notifications from the VDS service.

CleanupObsoleteMountPoints

Updates the registry by removing user-mode paths and mounted folders for volumes that no longer exist.

ClearFlags

Clears the service object flags.

GetObject

Returns an object pointer for the identified object.

GetProperties

Retrieves VDS property information.

IsServiceReady

Indicates the status of VDS initialization.

QueryDriveLetters

Returns the property information of one or more drive letters.

QueryFileSystemTypes

Returns the property information of all the file systems known to VDS.

QueryMaskedDisks

This method is reserved for future use.

QueryProviders

Enumerates all the hardware or software providers known to VDS.

QueryUnallocatedDisks

Enumerates all the unallocated disks.

Reboot

Restarts the computer.

Reenumerate

Discovers new disks, removed disks, or both.

Refresh

Refreshes disk ownership and layout.

SetFlags

Sets the service object flags.

Unadvise

Unregisters the caller's IVdsAdviseSink interface so that the caller no longer receives notifications from the VDS service.

WaitForServiceReady

Waits until initialization either completes successfully (or fails) before invoking methods exposed by VDS objects.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h

Library

Uuid.lib

See also

VDS Interfaces
VDS_SERVICE_PROP
Startup and Service Objects

 

 

Community Additions

Show:
© 2014 Microsoft