| 1234567891011121314151617181920212223242526272829303132333435363738 | #ifndef FileInfoH#define FileInfoHstruct TTranslation {  Word Language, CharSet;};// Return pointer to file version info blockvoid * __fastcall CreateFileInfo(UnicodeString FileName);// Free file version info block memoryvoid __fastcall FreeFileInfo(void * FileInfo);// Return pointer to fixed file version infoPVSFixedFileInfo __fastcall GetFixedFileInfo(void * FileInfo);// Return number of available file version info translationsunsigned __fastcall GetTranslationCount(void * FileInfo);// Return i-th translation in the file version info translation listTTranslation __fastcall GetTranslation(void * FileInfo, unsigned i);// Return the name of the specified languageUnicodeString __fastcall GetLanguage(Word Language);// Return the value of the specified file version info string using the// specified translationUnicodeString __fastcall GetFileInfoString(void * FileInfo,  TTranslation Translation, UnicodeString StringName, bool AllowEmpty = false);int __fastcall CalculateCompoundVersion(int MajorVer,  int MinorVer, int Release, int Build);int __fastcall StrToCompoundVersion(UnicodeString S);int __fastcall CompareVersion(UnicodeString V1, UnicodeString V2);#endif // FileInfoH
 |