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 |
|---|---|
|
Success. |
|
Command has not yet been invoked. |
|
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 |