Source code of Windows XP (NT5)
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
835 B

  1. // MyALG.h : Declaration of the CAlgICQ
  2. #pragma once
  3. #include "resource.h" // main symbols
  4. // {6E590D51-F6BC-4dad-AC21-7DC40D304059}
  5. DEFINE_GUID(CLSID_AlgICQ, 0x6e590d51, 0xf6bc, 0x4dad, 0xac, 0x21, 0x7d, 0xc4, 0xd, 0x30, 0x40, 0x59);
  6. //////////////////////////////////////////////////////////////
  7. // CAlgICQ
  8. class ATL_NO_VTABLE CAlgICQ :
  9. public CComObjectRoot,
  10. public CComCoClass<CAlgICQ, &CLSID_AlgICQ>,
  11. public IApplicationGateway
  12. {
  13. public:
  14. //DECLARE_REGISTRY(CAlgICQ, TEXT("ALG_ICQ.MyALG.1"), TEXT("ALG_ICQ.MyALG"), -1, THREADFLAGS_BOTH)
  15. DECLARE_NO_REGISTRY();
  16. public:
  17. CAlgICQ()
  18. {
  19. }
  20. BEGIN_COM_MAP(CAlgICQ)
  21. COM_INTERFACE_ENTRY(IApplicationGateway)
  22. END_COM_MAP()
  23. // IApplicationGateway
  24. public:
  25. STDMETHOD(Initialize)(IApplicationGatewayServices* pIAlgServices);
  26. STDMETHOD(Stop)(void);
  27. };