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.

51 lines
928 B

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