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.

33 lines
737 B

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