Queries the status of an asynchronous operation.
HRESULT QueryStatus( HRESULT *phrResult );
The address of an HRESULT value that receives the status of the current asynchronous operation. If the asynchronous operation fails, this parameter receives the failure status code. Possible values include the following.
The asynchronous operation was completed successfully.
The asynchronous operation is still running.
Returns S_OK if successful, or an error value otherwise.
Windows Server Backup calls this method periodically to query the status of a pending asynchronous operation.
|Windows version||None supported Windows Server 2008|