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.

69 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. lsasht.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_SHT_HXX
  15. #define LSA_SHT_HXX
  16. #ifdef __cplusplus
  17. class TSHT
  18. {
  19. SIGNATURE('tsht');
  20. public:
  21. TSHT(void);
  22. TSHT(IN ULONG64 baseOffset);
  23. ~TSHT(void);
  24. HRESULT IsValid(void) const;
  25. ULONG GetFlags(void) const;
  26. ULONG GetCount(void) const;
  27. ULONG64 GetPendingHandle(void) const;
  28. ULONG64 GetListFlink(void) const;
  29. ULONG64 GetHandleListAnchor(void) const;
  30. ULONG64 GetDeleteCallback(void) const;
  31. protected:
  32. HRESULT Initialize(IN ULONG64 baseOffset);
  33. private:
  34. //
  35. // Copying and assignment are not defined.
  36. //
  37. NO_COPY(TSHT);
  38. HRESULT Initialize(void);
  39. ULONG64 m_baseOffset;
  40. HRESULT m_hr;
  41. };
  42. #endif // #ifdef __cplusplus
  43. #endif // #ifndef LSA_SHT_HXX