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.

55 lines
727 B

  1. /*
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. sdpver.h
  5. Abstract:
  6. Author:
  7. */
  8. #ifndef __SDP_VERSION__
  9. #define __SDP_VERSION__
  10. #include "sdpcommo.h"
  11. #include "sdpval.h"
  12. #include "sdpfld.h"
  13. const ULONG CURRENT_SDP_VERSION = 0;
  14. class _DllDecl SDP_VERSION : public SDP_VALUE
  15. {
  16. public:
  17. SDP_VERSION();
  18. inline USHORT GetVersionValue() const;
  19. private:
  20. SDP_USHORT m_Version;
  21. virtual BOOL InternalParseLine(
  22. IN OUT CHAR *&Line
  23. );
  24. virtual void InternalReset();
  25. };
  26. inline USHORT
  27. SDP_VERSION::GetVersionValue(
  28. ) const
  29. {
  30. return m_Version.GetValue();
  31. }
  32. #endif // __SDP_VERSION__