http://www.emgu.com
Define an error callback that can be registered using cvRedirectError function

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public delegate int CvErrorCallback(
	int status,
	IntPtr funcName,
	IntPtr errMsg,
	IntPtr fileName,
	int line,
	IntPtr userData
)
Visual Basic
Public Delegate Function CvErrorCallback ( 
	status As Integer,
	funcName As IntPtr,
	errMsg As IntPtr,
	fileName As IntPtr,
	line As Integer,
	userData As IntPtr
) As Integer
Visual C++
public delegate int CvErrorCallback(
	int status, 
	IntPtr funcName, 
	IntPtr errMsg, 
	IntPtr fileName, 
	int line, 
	IntPtr userData
)
F#
type CvErrorCallback = 
    delegate of 
        status : int * 
        funcName : IntPtr * 
        errMsg : IntPtr * 
        fileName : IntPtr * 
        line : int * 
        userData : IntPtr -> int

Parameters

status
Type: System..::..Int32
The numeric code for error status
funcName
Type: System..::..IntPtr
The source file name where error is encountered
errMsg
Type: System..::..IntPtr
A description of the error
fileName
Type: System..::..IntPtr
The source file name where error is encountered
line
Type: System..::..Int32
The line number in the souce where error is encountered
userData
Type: System..::..IntPtr
Arbitrary pointer that is transparetly passed to the error handler.

Return Value

Type: Int32

See Also