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.

97 lines
2.6 KiB

  1. // File: BLObEvn.h
  2. // Messenger integration to OE
  3. // Created 04/20/98 by YST
  4. //
  5. //
  6. // Copyright (c) Microsoft Corporation 1997-1998
  7. //
  8. #ifndef BLOBEVNT_H
  9. #define BLOBEVNT_H
  10. //****************************************************************************
  11. //
  12. // INCLUDES
  13. //
  14. //****************************************************************************
  15. #include "clUtil.h"
  16. #include "basicim2.h"
  17. class CMsgrList;
  18. //****************************************************************************
  19. //
  20. // DEFINES
  21. //
  22. //****************************************************************************
  23. //****************************************************************************
  24. //
  25. // CLASS CMsgrObjectEvents
  26. //
  27. //****************************************************************************
  28. class CMsgrObjectEvents : public DBasicIMEvents,
  29. public RefCount
  30. {
  31. //****************************************************************************
  32. //
  33. // METHODS
  34. //
  35. //****************************************************************************
  36. public:
  37. // Constructor/Destructor
  38. CMsgrObjectEvents();
  39. virtual ~CMsgrObjectEvents();
  40. //****************************************************************************
  41. //
  42. // IUnknown methods declaration
  43. //
  44. //****************************************************************************
  45. ULONG STDMETHODCALLTYPE AddRef(void);
  46. ULONG STDMETHODCALLTYPE Release(void);
  47. HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, LPVOID *ppvObject);
  48. //****************************************************************************
  49. //
  50. // IDispatch methods declaration
  51. //
  52. //****************************************************************************
  53. STDMETHOD (GetTypeInfoCount) (UINT* pCountTypeInfo);
  54. STDMETHOD (GetTypeInfo) ( UINT iTypeInfo,
  55. LCID, // This object does not support localization.
  56. ITypeInfo** ppITypeInfo);
  57. STDMETHOD (GetIDsOfNames) ( const IID& iid,
  58. OLECHAR** arrayNames,
  59. UINT countNames,
  60. LCID, // Localization is not supported.
  61. DISPID* arrayDispIDs);
  62. STDMETHOD (Invoke) ( DISPID dispidMember,
  63. const IID& iid,
  64. LCID, // Localization is not supported.
  65. WORD wFlags,
  66. DISPPARAMS* pDispParams,
  67. VARIANT* pvarResult,
  68. EXCEPINFO* pExcepInfo,
  69. UINT* pArgErr);
  70. STDMETHOD (SetListOfBuddies) (CMsgrList *pList);
  71. STDMETHOD (DelListOfBuddies) (void);
  72. private:
  73. CMsgrList * m_pMsgrList;
  74. IBasicIM * m_pMsgr;
  75. };
  76. #endif //BLOBEVNT_H