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.

34 lines
823 B

  1. //
  2. // Microsoft Corporation 1998
  3. //
  4. // LAYOUT.H - Tool layout structures and constants
  5. //
  6. #define NUM_NAMESPACE_ITEMS 2
  7. #define MAX_DISPLAYNAME_SIZE 100
  8. typedef struct _RESULTITEM
  9. {
  10. DWORD dwID;
  11. DWORD dwNameSpaceItem;
  12. INT iStringID;
  13. INT iImage;
  14. TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
  15. } RESULTITEM, *LPRESULTITEM;
  16. typedef struct _NAMESPACEITEM
  17. {
  18. DWORD dwID;
  19. DWORD dwParent;
  20. INT iStringID;
  21. INT cChildren;
  22. TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
  23. INT cResultItems;
  24. LPRESULTITEM pResultItems;
  25. const GUID *pNodeID;
  26. } NAMESPACEITEM, *LPNAMESPACEITEM;
  27. extern RESULTITEM g_Root[];
  28. extern RESULTITEM g_Undefined[];
  29. extern NAMESPACEITEM g_NameSpace[];
  30. BOOL InitNameSpace();