Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

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.

.
Summary
Set the Input Method
Summary
TODO - a short description

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

User-Defined Types:

None.

Alternative Managed API:

Microsoft.WindowsCE.Forms.InputPanel.CurrentInputMethod

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

/// 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));
}

A VB sample can be found at [http://community.opennetcf.com/forums/p/893/51304.aspx]

Please add some!

Documentation

Please edit this page!

Do you have...

  • 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).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions