21 lines
884 B
C
21 lines
884 B
C
// ---------------------------------------------------------------------------
|
|
// UTIL.H
|
|
// ---------------------------------------------------------------------------
|
|
// Copyright (c) 1999 Microsoft Corporation
|
|
//
|
|
// Helper functions to detect installed versions of WAB / OE
|
|
//
|
|
// ---------------------------------------------------------------------------
|
|
#pragma once
|
|
|
|
HRESULT GetExeVer(LPCTSTR pszExeName, WORD *pwVer, LPTSTR pszVer, int cch);
|
|
HRESULT GetFileVer(LPCTSTR pszExePath, LPTSTR pszVer, DWORD cch);
|
|
void GetVers(WORD *pwVerCurr,WORD *pwVerPrev);
|
|
BOOL GoodEnough(WORD *pwVerGot, WORD *pwVerNeed);
|
|
void ConvertStrToVer(LPCSTR pszStr, WORD *pwVer);
|
|
SETUPVER ConvertVerToEnum(WORD *pwVer);
|
|
void GetVerInfo(SETUPVER *psvCurr, SETUPVER *psvPrev);
|
|
BOOL InterimBuild(SETUPVER *psv);
|
|
BOOL GetASetupVer(LPCTSTR pszGUID, WORD *pwVer, LPTSTR pszVer, int cch);
|
|
|