Lines Matching full:hfile
36 HANDLE hfile;
99 s->hfile = CreateFile(filename, access_flags,
102 if (s->hfile == INVALID_HANDLE_VALUE) {
125 ret = ReadFile(s->hfile, buf, count, &ret_count, &ov);
146 ret = WriteFile(s->hfile, buf, count, &ret_count, &ov);
157 FlushFileBuffers(s->hfile);
163 CloseHandle(s->hfile);
173 if (!SetFilePointer(s->hfile, low, &high, FILE_BEGIN))
175 if (!SetEndOfFile(s->hfile))
191 l.LowPart = GetFileSize(s->hfile, (PDWORD)&l.HighPart);
201 status = DeviceIoControl(s->hfile, IOCTL_DISK_GET_DRIVE_GEOMETRY_EX,
352 s->hfile = CreateFile(filename, access_flags,
355 if (s->hfile == INVALID_HANDLE_VALUE) {
386 DeviceIoControl(s->hfile, IOCTL_STORAGE_EJECT_MEDIA,
389 DeviceIoControl(s->hfile, IOCTL_STORAGE_LOAD_MEDIA,