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.

40 lines
1.3 KiB

  1. #ifndef ERNCVRSN_INC
  2. #define ERNCVRSN_INC
  3. /***************************************************************************/
  4. /** Microsoft Windows **/
  5. /** Copyright(c) Microsoft Corp., 1995-1996 **/
  6. /***************************************************************************/
  7. /****************************************************************************
  8. erncvrsn.hpp
  9. Jun. 96 LenS
  10. Versioning information.
  11. Main information is in NCUI.H.
  12. ****************************************************************************/
  13. #include "cuserdta.hpp"
  14. #include <inodecnt.h>
  15. // Don't accept builds before 1133.
  16. #define VER_EARLIEST_COMPATIBLE_DW DWVERSION_NM_1
  17. // If we ever want to recommend an upgrade of 1.0 or 2.0, we need to set this
  18. // difference number accordingly.
  19. #define VER_MAX_DIFFERENCE (DWVERSION_NM_CURRENT - DWVERSION_NM_1)
  20. extern GUID g_csguidVerInfo;
  21. extern UINT g_nVersionRecords;
  22. extern GCCUserData ** g_ppVersionUserData;
  23. HRESULT InitOurVersion(void);
  24. BOOL TimeExpired(DWORD dwTime);
  25. PT120PRODUCTVERSION GetVersionData(UINT nRecords, GCCUserData **ppUserData);
  26. void ReleaseOurVersion(void);
  27. #endif // #ifndef ERNCVRSN_INC