15 if(!RecPath && !*RecPath)
22 if(infBlock) memset(infBlock, 0,
sizeof(
tinfBlock));
29 strcat(AbsFileName,
".inf");
32 if(
stat64(AbsFileName, &statbuf) != 0)
34 AbsFileName[strlen(AbsFileName) - 4] =
'\0';
38 FileHandle =
fopen64(AbsFileName,
"rb");
42 fread(&TempinfBlock,
sizeof(
tinfBlock), 1, FileHandle);
46 if(infBlock) memcpy(infBlock, &TempinfBlock,
sizeof(
tinfBlock));
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_InfBlockGet(const char *RecPath, tinfBlock *infBlock)
bool StringEndsWith(const char *text, const char *postfix)