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.

39 lines
757 B

  1. //
  2. // funcprv.h
  3. //
  4. #ifndef FUNCPRV_H
  5. #define FUNCPRV_H
  6. #include "private.h"
  7. class CInputContext;
  8. class CFunctionProvider : public ITfFunctionProvider,
  9. public CComObjectRootImmx
  10. {
  11. public:
  12. CFunctionProvider();
  13. ~CFunctionProvider();
  14. BEGIN_COM_MAP_IMMX(CFunctionProvider)
  15. COM_INTERFACE_ENTRY(ITfFunctionProvider)
  16. END_COM_MAP_IMMX()
  17. IMMX_OBJECT_IUNKNOWN_FOR_ATL()
  18. //
  19. // ITfFunctionProvider
  20. //
  21. STDMETHODIMP GetType(GUID *pguid);
  22. STDMETHODIMP GetDescription(BSTR *pbstrDesc);
  23. STDMETHODIMP GetFunction(REFGUID rguid, REFIID riid, IUnknown **ppunk);
  24. private:
  25. DWORD _dwCookie;
  26. long _cRef;
  27. DBG_ID_DECLARE;
  28. };
  29. #endif // FUNCPRV_H