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.

70 lines
2.1 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. /*
  3. * Version APIs thunks for Win32s
  4. */
  5. enablemapdirect3216 = true;
  6. #include "types.thk"
  7. /*
  8. * Exported VERSION functions
  9. *
  10. * The functions are ordered as in the def files to make it easier to
  11. * follow which functions are done, which are missing, etc.
  12. */
  13. /**********************************************************************
  14. *
  15. * VERSION.DLL exports
  16. *
  17. **********************************************************************/
  18. /* GetFileVersionInfoSize
  19. * GetFileVersionInfo
  20. * VerFindFile
  21. * VerInstallFile
  22. * VerLanguageName
  23. * VerQueryValue
  24. */
  25. DWORD GetFileVersionInfoSize (LPSTR szFileName, LPDWORD lpdwHandle) =
  26. DWORD GetFileVersionInfoSizeA(LPSTR szFileName, LPDWORD lpdwHandle)
  27. {
  28. }
  29. BOOL GetFileVersionInfo (LPSTR szFileName, DWORD dwHandle, DWORD dwLen, LPSTR szData) =
  30. BOOL GetFileVersionInfoA(LPSTR szFileName, DWORD dwHandle, DWORD dwLen, LPSTR szData)
  31. {
  32. }
  33. WORD VerFindFile (WORD wFlags, LPSTR szFileName, LPSTR szWinDir, LPSTR szAppDir, LPSTR szCurDir, LPWORD lpdwCurDirLen, LPSTR szDestDir, LPWORD lpdwDestDirLen) =
  34. DWORD VerFindFileA(DWORD wFlags, LPSTR szFileName, LPSTR szWinDir, LPSTR szAppDir, LPSTR szCurDir, LPDWORD lpdwCurDirLen, LPSTR szDestDir, LPDWORD lpdwDestDirLen)
  35. {
  36. lpdwCurDirLen = raw pack unpack;
  37. lpdwDestDirLen = raw pack unpack;
  38. }
  39. DWORD VerInstallFile (WORD wFlags, LPSTR szSrcFileName, LPSTR szDestFileName, LPSTR szSrcDir, LPSTR szDestDir, LPSTR szCurDir, LPSTR szTmpFile, LPWORD lpwTmpFileLen) =
  40. DWORD VerInstallFileA(DWORD wFlags, LPSTR szSrcFileName, LPSTR szDestFileName, LPSTR szSrcDir, LPSTR szDestDir, LPSTR szCurDir, LPSTR szTmpFile, LPDWORD lpwTmpFileLen)
  41. {
  42. lpwTmpFileLen = raw pack unpack;
  43. }
  44. WORD VerLanguageName (WORD wLang, LPSTR szLang, WORD wSize) =
  45. DWORD VerLanguageNameA(DWORD wLang, LPSTR szLang, DWORD wSize)
  46. {
  47. }
  48. BOOL VerQueryValue (PVOID pBlock, LPSTR lpSubBlock, PVOID lplpBuffer, LPWORD lpwLen) =
  49. BOOL VerQueryValueA(PVOID pBlock, LPSTR lpSubBlock, PVOID lplpBuffer, LPDWORD lpwLen)
  50. {
  51. lplpBuffer = raw pack unpack;
  52. lpwLen = raw pack unpack;
  53. pBlock32 = local 4;
  54. lplpBufTemp = local 4;
  55. }