public static void LogGetOutputFunction( out LogOutputFunction callback, out IntPtr userdata ) { IntPtr result = IntPtr.Zero; LogGetOutputFunction( out result, out userdata ); if (result != IntPtr.Zero) { callback = (LogOutputFunction)Marshal.GetDelegateForFunctionPointer( result, typeof(LogOutputFunction) ); } else { callback = null; } }
public static extern void LogSetOutputFunction( LogOutputFunction callback, IntPtr userdata );