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.

42 lines
1.2 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 "msobweb.h"
  17. //MIDL
  18. #include "obweb.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_ObWebBrowser,
  28. CObWebBrowser::CreateInstance,
  29. L"ObWebBrowser Component", // Friendly Name
  30. L"ObWebBrowser.1", // ProgID
  31. L"ObWebBrowser", // Version Independent ProgID
  32. NULL, // Function to register component categories
  33. NULL, 0},
  34. };
  35. int g_cFactoryDataEntries = sizeof(g_FactoryDataArray) / sizeof(CFactoryData) ;