CvRedirectError Method (CvErrorCallback, IntPtr, IntPtr) OpenCvSharp Class Library
Sets a new error handler

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvErrorCallback RedirectError(
	CvErrorCallback error_handler,
	IntPtr userdata,
	ref IntPtr prev_userdata
)

Parameters

error_handler
Type: OpenCvSharpCvErrorCallback
The new error_handler
userdata
Type: SystemIntPtr
Arbitrary pointer that is transparently passed to the error handler
prev_userdata
Type: SystemIntPtr
Pointer to the previously assigned user data pointer

Return Value

Type: CvErrorCallback
Current error handler
See Also

Reference