http://www.emgu.com
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.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvRedirectError(
	CvInvoke..::..CvErrorCallback errorHandler,
	IntPtr userdata,
	IntPtr prevUserdata
)
Visual Basic
Public Shared Function cvRedirectError ( 
	errorHandler As CvInvoke..::..CvErrorCallback,
	userdata As IntPtr,
	prevUserdata As IntPtr
) As IntPtr
Visual C++
public:
static IntPtr cvRedirectError(
	CvInvoke..::..CvErrorCallback^ errorHandler, 
	IntPtr userdata, 
	IntPtr prevUserdata
)
F#
static member cvRedirectError : 
        errorHandler : CvInvoke..::..CvErrorCallback * 
        userdata : IntPtr * 
        prevUserdata : IntPtr -> IntPtr 

Parameters

errorHandler
Type: Emgu.CV..::..CvInvoke..::..CvErrorCallback
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

Type: IntPtr

[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvRedirectError(Emgu.CV.CvInvoke.CvErrorCallback,System.IntPtr,System.IntPtr)"]

See Also