15 if(!RecPath && !*RecPath)
24 if(*AbsFileName && infBlock)
28 strcat(AbsFileName,
".inf");
31 if(
stat64(AbsFileName, &statbuf) != 0)
33 AbsFileName[strlen(AbsFileName) - 4] =
'\0';
41 FileHandle =
fopen64(AbsFileName,
"rb+");
46 fread(&TempinfBlock,
sizeof(
tinfBlock), 1, FileHandle);
57 fwrite(infBlock,
sizeof(
tinfBlock), 1, FileHandle);
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
struct __STDIO_FILE_STRUCT FILE
int stat64(__const char *__restrict __file, tstat64 *__restrict __buf) __THROW
int fseeko64(FILE *__stream, __off64_t __off, int __whence)
FILE * fopen64(__const char *__restrict __filename, __const char *__restrict __modes)
bool HDD_InfBlockSet(const char *RecPath, tinfBlock *infBlock)
bool StringEndsWith(const char *text, const char *postfix)