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.

46 lines
741 B

  1. /*++
  2. Copyright (c) 1985 - 1999, Microsoft Corporation
  3. Module Name:
  4. cmpevcb.h
  5. Abstract:
  6. This file defines the CCompartmentEventSinkCallBack Class.
  7. Author:
  8. Revision History:
  9. Notes:
  10. --*/
  11. #ifndef _CMPEVCB_H_
  12. #define _CMPEVCB_H_
  13. class ImmIfIME;
  14. class CCompartmentEventSinkCallBack : public CCompartmentEventSink
  15. {
  16. public:
  17. CCompartmentEventSinkCallBack(ImmIfIME* pImmIfIME);
  18. virtual ~CCompartmentEventSinkCallBack();
  19. void SetCallbackDataPointer(void* pv)
  20. {
  21. SetCallbackPV(pv);
  22. };
  23. //
  24. // Callbacks
  25. //
  26. private:
  27. static HRESULT CompartmentEventSinkCallback(void* pv, REFGUID rguid);
  28. ImmIfIME *m_pImmIfIME;
  29. };
  30. #endif // _CMPEVCB_H_