The OpenD Programming Language

GetAvailableCoreWebView2BrowserVersionString

Get the browser version info including channel name if it is not the WebView2 Runtime. Channel names are Beta, Dev, and Canary. If an override exists for the browserExecutableFolder or the channel preference, the override is used. If an override is not specified, then the parameter value passed to GetAvailableCoreWebView2BrowserVersionString is used. Returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) if it fails to find an installed WebView2 runtime or non-stable Microsoft Edge installation.

The caller must free the returned string with CoTaskMemFree. See API Conventions.

version(Windows && inline_webview2_bindings && all)
extern (Windows)
HRESULT
GetAvailableCoreWebView2BrowserVersionString

Meta