Map a Windows error value to a portable std::error_code.

Synopsis

Declared in <llvm/Support/WindowsError.h>

std::error_code
mapWindowsError(unsigned int EV);

Return Value

A portable std::error_code corresponding to EV.

Parameters

Name

Description

EV

Windows error value to convert (typically from GetLastError()).

Created with MrDocs