Leaked source code of windows server 2003
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.

51 lines
1.2 KiB

  1. //*************************************************************
  2. // File name: STRUCTS.H
  3. //
  4. // Description: Structures and function prototypes used in this project
  5. //
  6. //
  7. // Microsoft Confidential
  8. // Copyright (c) Microsoft Corporation 1998
  9. // All rights reserved
  10. //
  11. //*************************************************************
  12. //
  13. // Max displayname for a namespace item
  14. //
  15. #define MAX_DISPLAYNAME_SIZE 100
  16. typedef struct _RESULTITEM
  17. {
  18. DWORD dwID;
  19. DWORD dwNameSpaceItem;
  20. INT iStringID;
  21. INT iImage;
  22. TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
  23. } RESULTITEM, *LPRESULTITEM;
  24. typedef struct _NAMESPACEITEM
  25. {
  26. DWORD dwID;
  27. DWORD dwParent;
  28. INT iIcon;
  29. INT iOpenIcon;
  30. INT iStringID;
  31. INT iStringDescID;
  32. INT cChildren;
  33. TCHAR szDisplayName[MAX_DISPLAYNAME_SIZE];
  34. INT cResultItems;
  35. LPRESULTITEM pResultItems;
  36. const GUID *pNodeID;
  37. LPCTSTR lpHelpTopic;
  38. } NAMESPACEITEM, *LPNAMESPACEITEM;
  39. //
  40. // External function proto-types that we dynamicly link with
  41. //
  42. typedef BOOL (*PFNREFRESHPOLICY)(BOOL bMachine);