Retrieves the HRESULT value if the asynchronous operation is complete.
Syntax
HRESULT GetResult(
    HRESULT *phrResult,
    IUnknown **ppunkResult
);
Parameters
- phrResult
 - [out] Address of an HRESULT value returned from IDebugSyncOperation::Execute.
 - ppunkResult
 - [out] Address of a pointer to an IUnknown interface.
 
Return Value
Returns S_OK if the operation is complete, or E_PENDING otherwise.