Microsoft DirectX 8.1 (C++)

IDeferredCommand::GetHResult

The GetHResult method retrieves the return value from the invoked command.

Syntax

HRESULT GetHResult(
  HRESULT *phrResult
);

Parameters

phrResult

Pointer to a variable that receives the HRESULT value.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_ABORT Command has not yet been invoked.
E_POINTER NULL pointer argument.

See Also