Share via


IDebugAsyncOperation::GetResult

Provides the return value and return object parameter from the synchronous debug operation.

Syntax

HRESULT GetResult(  
   HRESULT*    phrResult,  
   IUnknown**  ppunkResult  
);  

Parameters

phrResult
[out] If the operation is complete, phrResult is the return value of IDebugSyncOperation::Execute.

ppunkResult
[out] If the operation is complete, ppunkResult is the object parameter returned by the operation.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.
E_PENDING The operation has not completed.

Remarks

If the operation has completed, this method returns the HRESULT and object parameter from IDebugSyncOperation::Execute.

See also

IDebugAsyncOperation Interface
IDebugSyncOperation::Execute