@msdn=https://docs.microsoft.com/en-us/windows/desktop/api/imm/nf-imm-immgetcompositionstringa @pinvoke=http://pinvoke.net/$$$.htm Summary: TODO - a short description !!!!C# Signature: [DllImport("imm32.dll", CharSet=CharSet.Unicode)] static extern int ImmGetCompositionString(IntPtr hIMC, uint dwIndex, char[] lpBuf, uint dwBufLen); !!!!VB Signature: Declare Function ImmGetCompositionString Lib "imm32.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: [DllImport("imm32.dll", CharSet=CharSet.Unicode)] private static extern int ImmGetCompositionString(IntPtr hIMC, uint dwIndex, char[] lpBuf, uint dwBufLen); //within some method int bufferLength = ImmGetCompositionString(hImc, GCS_RESULTSTR, null, 0); if (bufferLength > 0) { char[] buffer = new char[bufferLength]; ImmGetCompositionString(hImc, GCS_RESULTSTR, buffer, (uint)bufferLength); } Documentation: ImmGetCompositionString@msdn on MSDN
Edit imm32.ImmGetCompo...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.