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.

44 lines
916 B

  1. //
  2. // Microsoft Corporation 1998
  3. //
  4. // LAYOUT.CPP - This file contains the tool's namespace and result pane items
  5. //
  6. #include "main.h"
  7. RESULTITEM g_Undefined[] =
  8. {
  9. { 1, 1, 0, 0, {0} }
  10. };
  11. RESULTITEM g_Samples[] =
  12. {
  13. { 2, 1, IDS_CHOICEOSC, 0, {0} }
  14. };
  15. // KB: Be sure to update NUM_NAMESPACE_ITEMS define in layout.h if you
  16. // add / remove from this array.
  17. NAMESPACEITEM g_NameSpace[] =
  18. {
  19. { 0, -1, 0, 0, {0}, 0, g_Undefined, &NODEID_User }, // Root
  20. { 1, 0, IDS_SAMPLES, 0, {0}, 1, g_Samples, &NODEID_RemoteInstall }
  21. };
  22. //
  23. // InitNameSpace()
  24. //
  25. BOOL InitNameSpace()
  26. {
  27. DWORD dwIndex;
  28. DWORD dw;
  29. for (dwIndex = 1; dwIndex < NUM_NAMESPACE_ITEMS; dwIndex++)
  30. {
  31. LoadString (g_hInstance, g_NameSpace[dwIndex].iStringID,
  32. g_NameSpace[dwIndex].szDisplayName,
  33. ARRAYSIZE( g_NameSpace[dwIndex].szDisplayName ));
  34. }
  35. return TRUE;
  36. }