[#llvm-mapLastWindowsError] = xref:llvm.adoc[llvm]::mapLastWindowsError :relfileprefix: ../ :mrdocs: Map the last Windows error to a portable `std::error_code.` == Synopsis Declared in `<llvm/Support/WindowsError.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::error_code mapLastWindowsError(); ---- == Return Value A portable `std::error_code` for the value of GetLastError(). [.small]#Created with https://www.mrdocs.com[MrDocs]#