[Commits] SDL: Add ITfCandidateListUIElement to SDL_msctf.h for MinGW.

libsdl.org revision control commits-owner at libsdl.org
Tue Nov 23 14:47:35 PST 2010


details:   http://hg.libsdl.org/SDL/rev/56206f6e4e58
changeset: 4911:56206f6e4e58
user:      Daniel Wyatt <Daniel.Wyatt at gmail.com>
date:      Tue Nov 23 17:43:10 2010 -0500
description:
Add ITfCandidateListUIElement to SDL_msctf.h for MinGW.

diffstat:

 src/video/win32/SDL_msctf.h |  25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diffs (42 lines):

diff --git a/src/video/win32/SDL_msctf.h b/src/video/win32/SDL_msctf.h
--- a/src/video/win32/SDL_msctf.h
+++ b/src/video/win32/SDL_msctf.h
@@ -22,6 +22,7 @@
 typedef struct ITfUIElementMgr ITfUIElementMgr;
 typedef struct IEnumTfUIElements IEnumTfUIElements;
 typedef struct ITfThreadMgrEx ITfThreadMgrEx;
+typedef struct ITfCandidateListUIElement ITfCandidateListUIElement;
 typedef struct ITfReadingInformationUIElement ITfReadingInformationUIElement;
 typedef struct ITfInputProcessorProfileActivationSink ITfInputProcessorProfileActivationSink;
 typedef struct ITfSource ITfSource;
@@ -127,6 +128,30 @@
     const struct ITfUIElementMgrVtbl *lpVtbl;
 };
 
+typedef struct ITfCandidateListUIElementVtbl
+{
+    HRESULT (STDMETHODCALLTYPE *QueryInterface)(ITfCandidateListUIElement *, REFIID, void **);
+    ULONG (STDMETHODCALLTYPE *AddRef)(ITfCandidateListUIElement *);
+    ULONG (STDMETHODCALLTYPE *Release)(ITfCandidateListUIElement *);
+    HRESULT (STDMETHODCALLTYPE *GetDescription)(ITfCandidateListUIElement *, BSTR *);
+    HRESULT (STDMETHODCALLTYPE *GetGUID)(ITfCandidateListUIElement *, GUID *);
+    HRESULT (STDMETHODCALLTYPE *Show)(ITfCandidateListUIElement *, BOOL);
+    HRESULT (STDMETHODCALLTYPE *IsShown)(ITfCandidateListUIElement *, BOOL *);
+    HRESULT (STDMETHODCALLTYPE *GetUpdatedFlags)(ITfCandidateListUIElement *, DWORD *);
+    HRESULT (STDMETHODCALLTYPE *GetDocumentMgr)(ITfCandidateListUIElement *, ITfDocumentMgr **);
+    HRESULT (STDMETHODCALLTYPE *GetCount)(ITfCandidateListUIElement *, UINT *);
+    HRESULT (STDMETHODCALLTYPE *GetSelection)(ITfCandidateListUIElement *, UINT *);
+    HRESULT (STDMETHODCALLTYPE *GetString)(ITfCandidateListUIElement *, UINT, BSTR *);
+    HRESULT (STDMETHODCALLTYPE *GetPageIndex)(ITfCandidateListUIElement *, UINT *, UINT, UINT *);
+    HRESULT (STDMETHODCALLTYPE *SetPageIndex)(ITfCandidateListUIElement *, UINT *, UINT);
+    HRESULT (STDMETHODCALLTYPE *GetCurrentPage)(ITfCandidateListUIElement *, UINT *);
+} ITfCandidateListUIElementVtbl;
+
+struct ITfCandidateListUIElement
+{
+    const struct ITfCandidateListUIElementVtbl *lpVtbl;
+};
+
 typedef struct ITfReadingInformationUIElementVtbl
 {
     HRESULT (STDMETHODCALLTYPE *QueryInterface)(ITfReadingInformationUIElement *, REFIID, void **);


More information about the commits mailing list