[DllImport("coredll.dll", SetLastError = true)] public static extern int SipGetCurrentIM( IntPtr idThread, ref SHACTIVATEINFO lpShActivateInfo );
Microsoft documentation: Link
Last updated 1 year ago