A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/uwp/cpp-ref-for-winrt/error-handling/throw-last-error below:

winrt::throw_last_error function (C++/WinRT) - Windows UWP applications

A helper function that calls GetLastError to retrieve the calling thread's last-error code value, then calls the winrt::throw_hresult function to throw an exception that represents that error code. Also see winrt::hresult_error.

Syntax
[[noreturn]] inline void throw_last_error();
Requirements

Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)

Namespace: winrt

Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4