Author: hpoussin
Date: Fri Sep 14 12:01:57 2007
New Revision: 29033
URL:
http://svn.reactos.org/svn/reactos?rev=29033&view=rev
Log:
Add imm.h header (enough to let Wine imm.dll compile)
Added:
trunk/reactos/include/ddk/imm.h (with props)
Added: trunk/reactos/include/ddk/imm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/imm.h?rev=2903…
==============================================================================
--- trunk/reactos/include/ddk/imm.h (added)
+++ trunk/reactos/include/ddk/imm.h Fri Sep 14 12:01:57 2007
@@ -1,0 +1,76 @@
+#ifndef __IMM_H
+#define __IMM_H
+
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _COMPOSITIONSTRING
+{
+ DWORD dwSize;
+ DWORD dwCompReadAttrLen;
+ DWORD dwCompReadAttrOffset;
+ DWORD dwCompReadClauseLen;
+ DWORD dwCompReadClauseOffset;
+ DWORD dwCompReadStrLen;
+ DWORD dwCompReadStrOffset;
+ DWORD dwCompAttrLen;
+ DWORD dwCompAttrOffset;
+ DWORD dwCompClauseLen;
+ DWORD dwCompClauseOffset;
+ DWORD dwCompStrLen;
+ DWORD dwCompStrOffset;
+ DWORD dwCursorPos;
+ DWORD dwDeltaStart;
+ DWORD dwResultReadClauseLen;
+ DWORD dwResultReadClauseOffset;
+ DWORD dwResultReadStrLen;
+ DWORD dwResultReadStrOffset;
+ DWORD dwResultClauseLen;
+ DWORD dwResultClauseOffset;
+ DWORD dwResultStrLen;
+ DWORD dwResultStrOffset;
+ DWORD dwPrivateSize;
+ DWORD dwPrivateOffset;
+} COMPOSITIONSTRING, *LPCOMPOSITIONSTRING;
+
+typedef struct _INPUTCONTEXT
+{
+ HWND hWnd;
+ BOOL fOpen;
+ HWND hwndImeInUse;
+ POINT ptStatusWndPos;
+ POINT ptSoftKbdPos;
+ DWORD fdwConversion;
+ DWORD fdwSentence;
+ union
+ {
+ LOGFONTA A;
+ LOGFONTW W;
+ } lfFont;
+ COMPOSITIONFORM cfCompForm;
+ CANDIDATEFORM cfCandForm[4];
+ HIMCC hCompStr;
+ HIMCC hCandInfo;
+ HIMCC hGuideLine;
+ HIMCC hPrivate;
+ DWORD dwNumMsgBuf;
+ HIMCC hMsgBuf;
+ DWORD fdwInit;
+ DWORD dwReserve[3]
+} INPUTCONTEXT, *PINPUTCONTEXT, *LPINPUTCONTEXT;
+
+HIMCC WINAPI ImmCreateIMCC(DWORD dwSize);
+HIMCC WINAPI ImmDestroyIMCC(HIMCC hIMCC);
+LPVOID WINAPI ImmLockIMCC(HIMCC hIMCC);
+BOOL WINAPI ImmUnlockIMCC(HIMCC hIMCC);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __IMM_H */
Propchange: trunk/reactos/include/ddk/imm.h
------------------------------------------------------------------------------
svn:eol-style = native