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.

44 lines
1.3 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // SERVER.CPP - component server for MSObWeb
  7. //
  8. // HISTORY:
  9. //
  10. // 1/27/99 a-jaswed Created.
  11. //
  12. // The FactoryDataArray contains the components which
  13. // can be served.
  14. #include "cunknown.h"
  15. #include "cfactory.h"
  16. #include "msobcomm.h"
  17. //MIDL
  18. #include "obcomm.h"
  19. //
  20. // The following array contains the data used by CFactory
  21. // to create components. Each element in the array contains
  22. // the CLSID, pointer to create function, and the name
  23. // of the component to place in the registry.
  24. //
  25. CFactoryData g_FactoryDataArray[] =
  26. {
  27. {&CLSID_ObCommunicationManager,
  28. CObCommunicationManager::CreateInstance,
  29. L"ObCommunicationManager Component", // Friendly Name
  30. L"ObCommunicationManager.1", // ProgID
  31. L"ObCommunicationManager", // Version Independent ProgID
  32. NULL, // Function to register component categories
  33. NULL, 0},
  34. };
  35. int g_cFactoryDataEntries = sizeof(g_FactoryDataArray) / sizeof(CFactoryData) ;