IWsbApplicationAsync::QueryStatus method (wsbapp.h)
Queries the status of an asynchronous operation.
Syntax
HRESULT QueryStatus(
[out] HRESULT *phrResult
);
Parameters
[out] 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.
S_OK (0)
The asynchronous operation was completed successfully.
WSBAPP_ASYNC_IN_PROGRESS (0x407A0004L)
The asynchronous operation is still running.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
Windows Server Backup calls this method periodically to query the status of a pending asynchronous operation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows ServerĀ 2008 |
Target Platform | Windows |
Header | wsbapp.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for