IDeferredCommand::GetHResult method (control.h)

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

Syntax

HRESULT GetHResult(
  HRESULT *phrResult
);

Parameters

phrResult

Receives the HRESULT value.

Return value

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

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header control.h (include Dshow.h)
Library Strmiids.lib

See also

Error and Success Codes

IDeferredCommand Interface