public void SetPhaseChangedCallback(IntPtr converter, VoidCallback callback) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Setting phase change callback (wkhtmltopdf_set_phase_changed_callback)"); WkhtmltoxBindings.wkhtmltopdf_set_phase_changed_callback(converter, callback); m_pinnedCallbacks.Register(converter, callback); }