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.

66 lines
991 B

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