Lines Matching refs:FileHandle
352 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
353 if (FileHandle == INVALID_HANDLE_VALUE)
356 switch (::GetFileType(FileHandle)) {
377 if (!::GetFileInformationByHandle(FileHandle, &Info))
446 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
447 return getStatus(FileHandle, Result);
456 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
457 if (!SetFileTime(FileHandle, NULL, &FT, &FT))
468 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
469 if (FileHandle == INVALID_HANDLE_VALUE)
480 ::CreateFileMappingW(FileHandle, 0, flprotect,