Microsoft DirectX 8.1 (C++) |
The OnError method is called if an error occurs during streaming. The derived class must implement this method.
Syntax
virtual void OnError(
HRESULT hr
) PURE;
Parameters
hr
Specifies the HRESULT value returned by the method that failed.
Return Values
This method does not return a value.
Remarks
The object calls this method whenever an error occurs that halts the data-pulling thread. The filter can use this method to recover from streaming errors gracefully. In most cases, the error is returned from the
See Also