Emgu CV Library Documentation
cvRedirectError Method (errorHandler, userdata, prevUserdata)
NamespacesEmgu.CVCvInvokecvRedirectError(CvInvoke..::.CvErrorCallback, IntPtr, IntPtr)

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.
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvRedirectError(
	CvInvoke..::.CvErrorCallback errorHandler,
	IntPtr userdata,
	IntPtr prevUserdata
Public Shared Function cvRedirectError ( _
	errorHandler As CvInvoke..::.CvErrorCallback, _
	userdata As IntPtr, _
	prevUserdata As IntPtr _
) As IntPtr
static IntPtr cvRedirectError(
	CvInvoke..::.CvErrorCallback^ errorHandler, 
	IntPtr userdata, 
	IntPtr prevUserdata
errorHandler (CvInvoke..::.CvErrorCallback)
The new error handler
userdata (IntPtr)
Arbitrary pointer that is transparetly passed to the error handler.
prevUserdata (IntPtr)
Pointer to the previously assigned user data pointer.
Return Value

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

Assembly: Emgu.CV (Module: Emgu.CV) Version: (