Documentation ¶
Index ¶
Constants ¶
View Source
const (
// https://referencesource.microsoft.com/#system.web/Util/hresults.cs,20
E_FILENOTFOUND = 0x80070002
)
Variables ¶
View Source
var WebView2Loader []byte
Functions ¶
func CompareBrowserVersions ¶
CompareBrowserVersions will compare the 2 given versions and return:
Less than zero: v1 < v2 zero: v1 == v2 Greater than zero: v1 > v2
func CreateCoreWebView2EnvironmentWithOptions ¶
func CreateCoreWebView2EnvironmentWithOptions(browserExecutableFolder, userDataFolder *uint16, environmentOptions uintptr, environmentCompletedHandle uintptr) (uintptr, error)
CreateCoreWebView2EnvironmentWithOptions tries to load WebviewLoader2 and call the CreateCoreWebView2EnvironmentWithOptions routine.
func GetWebviewVersion ¶
GetWebviewVersion returns version of the webview2 runtime. If path is empty, it will try to find installed webview2 is the system. If there is no version installed, a blank string is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.