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.

65 lines
990 B

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