Home | History | Annotate | Download | only in Windows

Lines Matching refs:_handle

111   _handle = ::CreateFile(fileName, desiredAccess, shareMode,

115 if (_handle == INVALID_HANDLE_VALUE)
119 _handle = ::CreateFileW(longPath, desiredAccess, shareMode,
127 return (_handle != INVALID_HANDLE_VALUE);
139 _handle = ::CreateFileW(fileName, desiredAccess, shareMode,
143 if (_handle == INVALID_HANDLE_VALUE)
147 _handle = ::CreateFileW(longPath, desiredAccess, shareMode,
155 return (_handle != INVALID_HANDLE_VALUE);
161 if (_handle == INVALID_HANDLE_VALUE)
163 if (!::CloseHandle(_handle))
165 _handle = INVALID_HANDLE_VALUE;
185 DWORD sizeLow = ::GetFileSize(_handle, &sizeHigh);
205 value.LowPart = ::SetFilePointer(_handle, value.LowPart, &value.HighPart, moveMethod);
232 if (!::GetFileInformationByHandle(_handle, &winFileInfo))
251 if (_handle != INVALID_HANDLE_VALUE && IsDeviceFile)
329 bool res = BOOLToBool(::ReadFile(_handle, data, size, &processedLoc, NULL));
389 { return BOOLToBool(::SetFileTime(_handle, cTime, aTime, mTime)); }
398 bool res = BOOLToBool(::WriteFile(_handle, data, size, &processedLoc, NULL));
422 bool COutFile::SetEndOfFile() { return BOOLToBool(::SetEndOfFile(_handle)); }