public int SetFocus(ITfDocumentMgr *pdimFocus)
 {
     return(((delegate * unmanaged <ITfThreadMgrEx *, ITfDocumentMgr *, int>)(lpVtbl[8]))((ITfThreadMgrEx *)Unsafe.AsPointer(ref this), pdimFocus));
 }
 public int AssociateFocus([NativeTypeName("HWND")] IntPtr hwnd, ITfDocumentMgr *pdimNew, ITfDocumentMgr **ppdimPrev)
 {
     return(((delegate * unmanaged <ITfThreadMgrEx *, IntPtr, ITfDocumentMgr *, ITfDocumentMgr **, int>)(lpVtbl[9]))((ITfThreadMgrEx *)Unsafe.AsPointer(ref this), hwnd, pdimNew, ppdimPrev));
 }
 public HRESULT OnSetFocus(ITfDocumentMgr *pdimFocus, ITfDocumentMgr *pdimPrevFocus)
 {
     return(((delegate * unmanaged <ITfThreadMgrEventSink *, ITfDocumentMgr *, ITfDocumentMgr *, int>)(lpVtbl[5]))((ITfThreadMgrEventSink *)Unsafe.AsPointer(ref this), pdimFocus, pdimPrevFocus));
 }
 public HRESULT OnUninitDocumentMgr(ITfDocumentMgr *pdim)
 {
     return(((delegate * unmanaged <ITfThreadMgrEventSink *, ITfDocumentMgr *, int>)(lpVtbl[4]))((ITfThreadMgrEventSink *)Unsafe.AsPointer(ref this), pdim));
 }
 public int OnSetFocus([NativeTypeName("ITfDocumentMgr *")] ITfDocumentMgr *pdimFocus, [NativeTypeName("ITfDocumentMgr *")] ITfDocumentMgr *pdimPrevFocus)
 {
     return(((delegate * unmanaged <ITfThreadMgrEventSink *, ITfDocumentMgr *, ITfDocumentMgr *, int>)(lpVtbl[5]))((ITfThreadMgrEventSink *)Unsafe.AsPointer(ref this), pdimFocus, pdimPrevFocus));
 }
 public int OnUninitDocumentMgr([NativeTypeName("ITfDocumentMgr *")] ITfDocumentMgr *pdim)
 {
     return(((delegate * unmanaged <ITfThreadMgrEventSink *, ITfDocumentMgr *, int>)(lpVtbl[4]))((ITfThreadMgrEventSink *)Unsafe.AsPointer(ref this), pdim));
 }
 public HRESULT AssociateFocus(HWND hwnd, ITfDocumentMgr *pdimNew, ITfDocumentMgr **ppdimPrev)
 {
     return(((delegate * unmanaged <ITfThreadMgr *, HWND, ITfDocumentMgr *, ITfDocumentMgr **, int>)(lpVtbl[9]))((ITfThreadMgr *)Unsafe.AsPointer(ref this), hwnd, pdimNew, ppdimPrev));
 }