Searched refs:windows_error (Results 1 – 4 of 4) sorted by relevance
50 return windows_error(::GetLastError());60 return windows_error(::GetLastError());78 return windows_error(::GetLastError());90 return windows_error(::GetLastError());104 return windows_error(::GetLastError());146 return windows_error(::GetLastError());167 return make_error_code(windows_error(::GetLastError()));177 return windows_error(::GetLastError());200 return windows_error(::GetLastError());214 error_code ec = windows_error(::GetLastError());[all …]
180 return windows_error(::GetLastError()); in GetFileNameFromHandle()192 return windows_error(::GetLastError()); in GetFileNameFromHandle()199 return windows_error(::GetLastError()); in GetFileNameFromHandle()207 return windows_error(::GetLastError()); in GetFileNameFromHandle()210 return windows_error::success; in GetFileNameFromHandle()255 ec = windows_error(::GetLastError()); in FindProgram()258 ec = windows_error::buffer_overflow; in FindProgram()262 ec = windows_error::success; in FindProgram()278 return windows_error(::GetLastError()); in EnableDebugPrivileges()288 return windows_error(::GetLastError()); in EnableDebugPrivileges()[all …]
174 static std::error_code windows_error(DWORD E) { return mapWindowsError(E); } in windows_error() function187 return windows_error(::GetLastError()); in GetFileNameFromHandle()199 return windows_error(::GetLastError()); in GetFileNameFromHandle()206 return windows_error(::GetLastError()); in GetFileNameFromHandle()214 return windows_error(::GetLastError()); in GetFileNameFromHandle()250 ec = windows_error(::GetLastError()); in FindProgram()253 ec = windows_error(ERROR_BUFFER_OVERFLOW); in FindProgram()363 << std::error_code(windows_error(::GetLastError())).message() in main()391 ec = windows_error(::GetLastError()); in main()427 ec = windows_error(LastError); in main()[all …]
834 struct windows_error {894 windows_error(_ v) : v_(v) {}895 explicit windows_error(int v) : v_(_(v)) {}900 template <> struct is_error_code_enum<windows_error> : true_type { };902 template <> struct is_error_code_enum<windows_error::_> : true_type { };904 inline error_code make_error_code(windows_error e) {