CvRedirectError Method (IntPtr, 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 IntPtr RedirectError(
	IntPtr error_handler,
	IntPtr userdata,
	ref IntPtr prev_userdata
)

Parameters

error_handler
Type: SystemIntPtr
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: IntPtr
Current error handler
See Also

Reference