Lines Matching refs:FileHandle
416 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
417 if (FileHandle == INVALID_HANDLE_VALUE)
420 switch (::GetFileType(FileHandle)) {
441 if (!::GetFileInformationByHandle(FileHandle, &Info))
512 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
513 return getStatus(FileHandle, Result);
522 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
523 if (!SetFileTime(FileHandle, NULL, &FT, &FT))
534 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
535 if (FileHandle == INVALID_HANDLE_VALUE)
546 ::CreateFileMappingW(FileHandle, 0, flprotect,
818 HANDLE FileHandle = reinterpret_cast<HANDLE>(::_get_osfhandle(FD));
819 if (FileHandle == INVALID_HANDLE_VALUE)
825 CharCount = ::GetFinalPathNameByHandleW(FileHandle, TempPath.begin(),