public static void SetShutdownRequestCallback(WinSparkle.ShutdownRequestCallback callback) { if (Environment.Is64BitProcess) { WinSparkle.SetShutdownRequestCallback_x64(callback); return; } WinSparkle.SetShutdownRequestCallback_Win32(callback); }
private static extern void SetShutdownRequestCallback_x64([MarshalAs(UnmanagedType.FunctionPtr)] WinSparkle.ShutdownRequestCallback callback);