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