--- a/trunk/GoogleContactsSync/NativeMethods.cs
+++ b/trunk/GoogleContactsSync/NativeMethods.cs
@@ -24,10 +24,9 @@
[DllImport("user32", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern int RegisterWindowMessage(string message);
- /*
- [DllImport("kernel32", CharSet = CharSet.Unicode)]
- public static extern bool GetVersionEx(ref OSVERSIONINFOEX osvi);
- */
+ [DllImport("ole32.dll")]
+ public static extern int CoRegisterMessageFilter(IOleMessageFilter newFilter, out IOleMessageFilter oldFilter);
+
#endregion
}
}
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.