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.

49 lines
1.1 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: pversion.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifndef PVERSION_H
  11. #define PVERSION_H
  12. extern const IID IID_ILocVersion;
  13. extern const DWORD dwCurrentMajorVersion;
  14. extern const DWORD dwCurrentMinorVersion;
  15. #ifdef _DEBUG
  16. const BOOL fCurrentDebugMode = TRUE;
  17. #else
  18. const BOOL fCurrentDebugMode = FALSE;
  19. #endif
  20. DECLARE_INTERFACE_(ILocVersion, IUnknown)
  21. {
  22. //
  23. // IUnknown standard interface.
  24. //
  25. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
  26. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  27. STDMETHOD_(ULONG, Release)(THIS) PURE;
  28. //
  29. // Standard Debugging interface.
  30. //
  31. STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
  32. //
  33. //
  34. //
  35. STDMETHOD_(void, GetParserVersion)(
  36. THIS_ DWORD REFERENCE dwMajor,
  37. DWORD REFERENCE dwMinor,
  38. BOOL REFERENCE fDebug)
  39. CONST_METHOD PURE;
  40. };
  41. #endif