Sets a new error handler that can be one of standard handlers or a custom handler that has the certain interface. The handler takes the same parameters as cvError function. If the handler returns non-zero value, the program is terminated, otherwise, it continues. The error handler may check the current error mode with cvGetErrMode to make a decision.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static IntPtr cvRedirectError( IntPtr errorHandler, IntPtr userdata, IntPtr prevUserdata ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvRedirectError ( _ errorHandler As IntPtr, _ userdata As IntPtr, _ prevUserdata As IntPtr _ ) As IntPtr |
Visual C++ |
---|
public: static IntPtr cvRedirectError( IntPtr errorHandler, IntPtr userdata, IntPtr prevUserdata ) |
Parameters
- errorHandler
- Type: System..::.IntPtr
Pointer to the new error handler
- userdata
- Type: System..::.IntPtr
Arbitrary pointer that is transparetly passed to the error handler.
- prevUserdata
- Type: System..::.IntPtr
Pointer to the previously assigned user data pointer.
Return Value
[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvRedirectError(System.IntPtr,System.IntPtr,System.IntPtr)"]