IDeferredCommand::GetHResult

 
Microsoft DirectShow 9.0

IDeferredCommand::GetHResult

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

Syntax

  HRESULT GetHResult(
  HRESULT *phrResult
);

Parameters

phrResult

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.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also