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.

20 lines
884 B

  1. // ---------------------------------------------------------------------------
  2. // UTIL.H
  3. // ---------------------------------------------------------------------------
  4. // Copyright (c) 1999 Microsoft Corporation
  5. //
  6. // Helper functions to detect installed versions of WAB / OE
  7. //
  8. // ---------------------------------------------------------------------------
  9. #pragma once
  10. HRESULT GetExeVer(LPCTSTR pszExeName, WORD *pwVer, LPTSTR pszVer, int cch);
  11. HRESULT GetFileVer(LPCTSTR pszExePath, LPTSTR pszVer, DWORD cch);
  12. void GetVers(WORD *pwVerCurr,WORD *pwVerPrev);
  13. BOOL GoodEnough(WORD *pwVerGot, WORD *pwVerNeed);
  14. void ConvertStrToVer(LPCSTR pszStr, WORD *pwVer);
  15. SETUPVER ConvertVerToEnum(WORD *pwVer);
  16. void GetVerInfo(SETUPVER *psvCurr, SETUPVER *psvPrev);
  17. BOOL InterimBuild(SETUPVER *psv);
  18. BOOL GetASetupVer(LPCTSTR pszGUID, WORD *pwVer, LPTSTR pszVer, int cch);