FileInfo.h 999 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef FileInfoH
  2. #define FileInfoH
  3. struct TTranslation {
  4. Word Language, CharSet;
  5. };
  6. // Return pointer to file version info block
  7. void * __fastcall CreateFileInfo(AnsiString FileName);
  8. // Free file version info block memory
  9. void __fastcall FreeFileInfo(void * FileInfo);
  10. // Return pointer to fixed file version info
  11. PVSFixedFileInfo __fastcall GetFixedFileInfo(void * FileInfo);
  12. // Return number of available file version info translations
  13. unsigned __fastcall GetTranslationCount(void * FileInfo);
  14. // Return i-th translation in the file version info translation list
  15. TTranslation __fastcall GetTranslation(void * FileInfo, unsigned i);
  16. // Return the name of the specified language
  17. AnsiString __fastcall GetLanguage(Word Language);
  18. // Return the value of the specified file version info string using the
  19. // specified translation
  20. AnsiString __fastcall GetFileInfoString(void * FileInfo,
  21. TTranslation Translation, AnsiString StringName);
  22. #endif // FileInfoH