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.

72 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. lsalht.hxx
  6. Abstract:
  7. This file provides useful accssors and mutators.
  8. Author:
  9. Larry Zhu (LZhu) May 1, 2001 Created
  10. Environment:
  11. User Mode -Win32
  12. Revision History:
  13. --*/
  14. #ifndef LSA_LHT_HXX
  15. #define LSA_LHT_HXX
  16. #ifdef __cplusplus
  17. class TLHT
  18. {
  19. SIGNATURE('tlht');
  20. public:
  21. TLHT(void);
  22. TLHT(IN ULONG64 baseOffset);
  23. ~TLHT(void);
  24. HRESULT IsValid(void) const;
  25. ULONG GetFlags(void) const;
  26. ULONG GetCount(void) const;
  27. ULONG GetDepth(void) const;
  28. ULONG GetListsFlags(IN ULONG index) const;
  29. ULONG64 GetAddrLists(IN ULONG index) const;
  30. ULONG64 GetParent(void) const;
  31. ULONG64 GetListsFlink(IN ULONG index) const;
  32. ULONG64 GetPendingHandle(void) const;
  33. ULONG64 GetDeleteCallback(void) const;
  34. protected:
  35. HRESULT Initialize(IN ULONG64 baseOffset);
  36. private:
  37. //
  38. // Copying and assignment are not defined.
  39. //
  40. NO_COPY(TLHT);
  41. HRESULT Initialize(void);
  42. ULONG64 m_baseOffset;
  43. HRESULT m_hr;
  44. };
  45. #endif // #ifdef __cplusplus
  46. #endif // #ifndef LSA_LHT_HXX