src/video/win32/SDL_msctf.h
changeset 4911 56206f6e4e58
parent 4894 ac19d74e2a47
equal deleted inserted replaced
4910:f205711f73d5 4911:56206f6e4e58
    20 typedef struct ITfUIElementSink ITfUIElementSink;
    20 typedef struct ITfUIElementSink ITfUIElementSink;
    21 typedef struct ITfUIElement ITfUIElement;
    21 typedef struct ITfUIElement ITfUIElement;
    22 typedef struct ITfUIElementMgr ITfUIElementMgr;
    22 typedef struct ITfUIElementMgr ITfUIElementMgr;
    23 typedef struct IEnumTfUIElements IEnumTfUIElements;
    23 typedef struct IEnumTfUIElements IEnumTfUIElements;
    24 typedef struct ITfThreadMgrEx ITfThreadMgrEx;
    24 typedef struct ITfThreadMgrEx ITfThreadMgrEx;
       
    25 typedef struct ITfCandidateListUIElement ITfCandidateListUIElement;
    25 typedef struct ITfReadingInformationUIElement ITfReadingInformationUIElement;
    26 typedef struct ITfReadingInformationUIElement ITfReadingInformationUIElement;
    26 typedef struct ITfInputProcessorProfileActivationSink ITfInputProcessorProfileActivationSink;
    27 typedef struct ITfInputProcessorProfileActivationSink ITfInputProcessorProfileActivationSink;
    27 typedef struct ITfSource ITfSource;
    28 typedef struct ITfSource ITfSource;
    28 
    29 
    29 typedef DWORD TfClientId;
    30 typedef DWORD TfClientId;
   125 struct ITfUIElementMgr
   126 struct ITfUIElementMgr
   126 {
   127 {
   127     const struct ITfUIElementMgrVtbl *lpVtbl;
   128     const struct ITfUIElementMgrVtbl *lpVtbl;
   128 };
   129 };
   129 
   130 
       
   131 typedef struct ITfCandidateListUIElementVtbl
       
   132 {
       
   133     HRESULT (STDMETHODCALLTYPE *QueryInterface)(ITfCandidateListUIElement *, REFIID, void **);
       
   134     ULONG (STDMETHODCALLTYPE *AddRef)(ITfCandidateListUIElement *);
       
   135     ULONG (STDMETHODCALLTYPE *Release)(ITfCandidateListUIElement *);
       
   136     HRESULT (STDMETHODCALLTYPE *GetDescription)(ITfCandidateListUIElement *, BSTR *);
       
   137     HRESULT (STDMETHODCALLTYPE *GetGUID)(ITfCandidateListUIElement *, GUID *);
       
   138     HRESULT (STDMETHODCALLTYPE *Show)(ITfCandidateListUIElement *, BOOL);
       
   139     HRESULT (STDMETHODCALLTYPE *IsShown)(ITfCandidateListUIElement *, BOOL *);
       
   140     HRESULT (STDMETHODCALLTYPE *GetUpdatedFlags)(ITfCandidateListUIElement *, DWORD *);
       
   141     HRESULT (STDMETHODCALLTYPE *GetDocumentMgr)(ITfCandidateListUIElement *, ITfDocumentMgr **);
       
   142     HRESULT (STDMETHODCALLTYPE *GetCount)(ITfCandidateListUIElement *, UINT *);
       
   143     HRESULT (STDMETHODCALLTYPE *GetSelection)(ITfCandidateListUIElement *, UINT *);
       
   144     HRESULT (STDMETHODCALLTYPE *GetString)(ITfCandidateListUIElement *, UINT, BSTR *);
       
   145     HRESULT (STDMETHODCALLTYPE *GetPageIndex)(ITfCandidateListUIElement *, UINT *, UINT, UINT *);
       
   146     HRESULT (STDMETHODCALLTYPE *SetPageIndex)(ITfCandidateListUIElement *, UINT *, UINT);
       
   147     HRESULT (STDMETHODCALLTYPE *GetCurrentPage)(ITfCandidateListUIElement *, UINT *);
       
   148 } ITfCandidateListUIElementVtbl;
       
   149 
       
   150 struct ITfCandidateListUIElement
       
   151 {
       
   152     const struct ITfCandidateListUIElementVtbl *lpVtbl;
       
   153 };
       
   154 
   130 typedef struct ITfReadingInformationUIElementVtbl
   155 typedef struct ITfReadingInformationUIElementVtbl
   131 {
   156 {
   132     HRESULT (STDMETHODCALLTYPE *QueryInterface)(ITfReadingInformationUIElement *, REFIID, void **);
   157     HRESULT (STDMETHODCALLTYPE *QueryInterface)(ITfReadingInformationUIElement *, REFIID, void **);
   133     ULONG (STDMETHODCALLTYPE *AddRef)(ITfReadingInformationUIElement *);
   158     ULONG (STDMETHODCALLTYPE *AddRef)(ITfReadingInformationUIElement *);
   134     ULONG (STDMETHODCALLTYPE *Release)(ITfReadingInformationUIElement *);
   159     ULONG (STDMETHODCALLTYPE *Release)(ITfReadingInformationUIElement *);