Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
685 B

  1. //
  2. // cleanup.h
  3. //
  4. #ifndef CLEANUP_H
  5. #define CLEANUP_H
  6. struct ICleanupContextsClient : public IUnknown
  7. {
  8. virtual HRESULT IsInterestedInContext(ITfContext *pic, BOOL *pfInterested) = 0;
  9. virtual HRESULT CleanupContext(TfEditCookie ecWrite, ITfContext *pic) = 0;
  10. };
  11. typedef void (*CLEANUP_COMPOSITIONS_CALLBACK)(TfEditCookie ecWrite, ITfRange *rangeComposition, void *pvPrivate);
  12. BOOL CleanupAllCompositions(TfEditCookie ecWrite, ITfContext *pic, REFCLSID clsidOwner, CLEANUP_COMPOSITIONS_CALLBACK pfnCleanupCompositons, void *pvPrivate);
  13. BOOL CleanupAllContexts(ITfThreadMgr *tim, TfClientId tid, ICleanupContextsClient *pClient);
  14. #endif // CLEANUP_H