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

//
// cleanup.h
//
#ifndef CLEANUP_H
#define CLEANUP_H
struct ICleanupContextsClient : public IUnknown
{
virtual HRESULT IsInterestedInContext(ITfContext *pic, BOOL *pfInterested) = 0;
virtual HRESULT CleanupContext(TfEditCookie ecWrite, ITfContext *pic) = 0;
};
typedef void (*CLEANUP_COMPOSITIONS_CALLBACK)(TfEditCookie ecWrite, ITfRange *rangeComposition, void *pvPrivate);
BOOL CleanupAllCompositions(TfEditCookie ecWrite, ITfContext *pic, REFCLSID clsidOwner, CLEANUP_COMPOSITIONS_CALLBACK pfnCleanupCompositons, void *pvPrivate);
BOOL CleanupAllContexts(ITfThreadMgr *tim, TfClientId tid, ICleanupContextsClient *pClient);
#endif // CLEANUP_H