Source code of Windows XP (NT5)
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.

26 lines
858 B

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000
  5. //
  6. // File: verread.h
  7. //
  8. // Contents: headers for reading version info for app matching
  9. //
  10. // History: 24-Feb-00 dmunsil created
  11. //
  12. //---------------------------------------------------------------------------
  13. typedef struct _VERSION_DATA {
  14. PVOID pBuffer;
  15. DWORD dwBufferSize;
  16. VS_FIXEDFILEINFO *pFixedInfo;
  17. } VERSION_DATA, *PVERSION_DATA;
  18. BOOL bInitVersionData(TCHAR *szPath, PVERSION_DATA pVersionData);
  19. TCHAR *szGetVersionString(PVERSION_DATA pVersionData, TCHAR *szString);
  20. ULONGLONG qwGetBinFileVer(PVERSION_DATA pVersionData);
  21. ULONGLONG qwGetBinProdVer(PVERSION_DATA pVersionData);
  22. void vReleaseVersionData(PVERSION_DATA pVersionData);