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.

63 lines
1.2 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. pathtree.h
  5. Abstract:
  6. Revision History:
  7. Eugene Mesgar (eugenem) 6/16/99
  8. created
  9. ******************************************************************************/
  10. #ifndef __CFLPATHTREE__
  11. #define __CFLPATHTREE__
  12. #include "flstructs.h"
  13. class CFLPathTree
  14. {
  15. LPVOID m_pBasePointer;
  16. LONG m_lNumElements;
  17. DWORD m_dwSize;
  18. TreeHeader *m_pTreeHeader;
  19. TreeNode *m_pNodeIndex;
  20. BlobHeader *m_pBlobHeader;
  21. HANDLE m_hHeapToUse;
  22. public:
  23. CFLPathTree();
  24. CFLPathTree(HANDLE hHeap);
  25. ~CFLPathTree();
  26. DWORD GetSize();
  27. LPVOID GetBasePointer();
  28. BOOL BuildTree(LPFLTREE_NODE pTree,LONG lNumNodes, DWORD dwDefaultType, LONG lNumFileList, LONG lNumFiles, LONG lNumBuckets, LONG lNumChars);
  29. BOOL RecBuildTree( LPFLTREE_NODE pTree, LONG lLevel );
  30. DWORD CreatePathElem( LPTSTR pszData, BYTE *pbLargeBuffer );
  31. void CleanUpMemory();
  32. BOOL CopyPathElem (WCHAR * pszPath, TreeNode *pNode);
  33. };
  34. #endif