Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than coredll, prefix the name with the module name and a period.
SipSetCurrentIM (coredll)
coredll is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for SipSetCurrentIM in other DLLs exists, click on Find References to the right.
.
C# Signature:
[DllImport("coredll.dll", SetLastError=true)]
public extern static bool SipSetCurrentIM(byte[] clsid);
static extern TODO SipSetCurrentIM(TODO);
VB Signature:
Declare Function SipSetCurrentIM Lib "coredll.dll" (ByVal clsid As Byte()) As Boolean
Declare Function SipSetCurrentIM Lib "coredll.dll" (TODO) As TODO
/// C#
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
[DllImport("coredll.dll", SetLastError = true)]
public extern static bool SipSetCurrentIM(byte[] id);
public static readonly Guid ClsidKeyboard = new Guid("42429667-ae04-11d0-a4f8-00aa00a749b9");
public static readonly Guid ClsidLargeKB = new Guid("a523dfc7-1a7e-4af6-991a-510e75847828");
bool success = SipSetCurrentIM(ClsidLargeKB.ToByteArray());
if (!success)
{
int error = Marshal.GetLastWin32Error(); // Equivalent to Win32 GetLastError()
Debug.WriteLine(string.Format("SipSetCurrentIM failed: error code {0}", error));
}
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).