Lines Matching refs:res
88 int res = fclose(p->file); in File_Close()
89 if (res != 0) in File_Close()
90 return res; in File_Close()
110 BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL); in File_Read() local
114 if (!res) in File_Read()
145 BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL); in File_Write() local
149 if (!res) in File_Write()
185 WRes res = GetLastError(); in File_Seek() local
186 if (res != NO_ERROR) in File_Seek()
187 return res; in File_Seek()
195 int res; in File_Seek()
203 res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
205 return res; in File_Seek()
218 DWORD res = GetLastError(); in File_GetLength() local
219 if (res != NO_ERROR) in File_GetLength()
220 return res; in File_GetLength()
228 int res = fseek(p->file, 0, SEEK_END); in File_GetLength()
231 return res; in File_GetLength()