Skip to content

Latest commit

 

History

History
115 lines (96 loc) · 3.88 KB

nf-vdshwprv-ivdsasync-querystatus.md

File metadata and controls

115 lines (96 loc) · 3.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vdshwprv.IVdsAsync.QueryStatus
IVdsAsync::QueryStatus (vdshwprv.h)
The IVdsAsync::QueryStatus method (vdshwprv.h) returns when the asynchronous operation is in progress, has finished successfully, or has failed.
IVdsAsync interface [VDS]
QueryStatus method
IVdsAsync.QueryStatus
IVdsAsync::QueryStatus
QueryStatus
QueryStatus method [VDS]
QueryStatus method [VDS]
IVdsAsync interface
base.ivdsasync_querystatus
vds/IVdsAsync::QueryStatus
vdshwprv/IVdsAsync::QueryStatus
base\ivdsasync_querystatus.htm
base
993228ae-4817-4d88-8544-9cd57cbe8b49
08/08/2022
IVdsAsync interface [VDS],QueryStatus method, IVdsAsync.QueryStatus, IVdsAsync::QueryStatus, QueryStatus, QueryStatus method [VDS], QueryStatus method [VDS],IVdsAsync interface, base.ivdsasync_querystatus, vds/IVdsAsync::QueryStatus, vdshwprv/IVdsAsync::QueryStatus
vdshwprv.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Uuid.lib
Windows
19H1
IVdsAsync::QueryStatus
vdshwprv/IVdsAsync::QueryStatus
c++
APIRef
kbSyntax
COM
Uuid.lib
Uuid.dll
IVdsAsync.QueryStatus

IVdsAsync::QueryStatus

-description

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

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

-parameters

-param pHrResult [out]

The address of an HRESULT for the asynchronous operation passed in by the caller. If the operation is in progress, the value is VDS_E_OPERATION_PENDING. If the operation has finished, the value is the returned HRESULT of the operation.

-param pulPercentCompleted [out]

The address of a ULONG passed in by the caller, representing the status of the asynchronous operation, given as a percentage. If the operation is in progress, the value is between 0 and 99. If the operation has finished, the value is 100. If the progress of the operation cannot be estimated, the value is 0.

-returns

This method can return standard HRESULT values, such as E_INVALIDARG or E_OUTOFMEMORY, and VDS-specific return values. It can also return converted system error codes using the HRESULT_FROM_WIN32 macro. Errors can originate from VDS itself or from the underlying VDS provider that is being used. Possible return values include the following.

Return code/value Description
S_OK
The operation is in progress or has completed.
VDS_E_OPERATION_PENDING
0x80042409L
The operation is in progress.

-remarks

The QueryStatus method does not wait for the operation to complete before returning.

-see-also

IVdsAsync