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
1.0 KiB

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