edge

package
v3.0.0-alpha2.115 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	COREWEBVIEW2_BOUNDS_MODE_USE_RAW_PIXELS          = 0
	COREWEBVIEW2_BOUNDS_MODE_USE_RASTERIZATION_SCALE = 1
)
View Source
const (
	COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY = iota
	COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_ALLOW
	COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY_CORS
)
View Source
const (
	COREWEBVIEW2_KEY_EVENT_KIND_KEY_DOWN        = 0
	COREWEBVIEW2_KEY_EVENT_KIND_KEY_UP          = 1
	COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_DOWN = 2
	COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_UP   = 3
)
View Source
const (
	COREWEBVIEW2_MOVE_FOCUS_REASON_PROGRAMMATIC = 0
	COREWEBVIEW2_MOVE_FOCUS_REASON_NEXT         = 1
	COREWEBVIEW2_MOVE_FOCUS_REASON_PREVIOUS     = 2
)
View Source
const (
	// Indicates that the browser process ended unexpectedly.  The WebView
	// automatically moves to the Closed state.  The app has to recreate a new
	// WebView to recover from this failure.
	COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED = 0

	// Indicates that the main frame's render process ended unexpectedly.  A new
	// render process is created automatically and navigated to an error page.
	// You can use the `Reload` method to try to reload the page that failed.
	COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED = 1

	// Indicates that the main frame's render process is unresponsive.
	//
	// Note that this does not seem to work right now.
	// Does not fire for simple long running script case, the only related test
	// SitePerProcessBrowserTest::NoCommitTimeoutForInvisibleWebContents is
	// disabled.
	COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE = 2

	// Indicates that a frame-only render process ended unexpectedly. The process
	// exit does not affect the top-level document, only a subset of the
	// subframes within it. The content in these frames is replaced with an error
	// page in the frame.
	COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED = 3

	// Indicates that a utility process ended unexpectedly.
	COREWEBVIEW2_PROCESS_FAILED_KIND_UTILITY_PROCESS_EXITED = 4

	// Indicates that a sandbox helper process ended unexpectedly.
	COREWEBVIEW2_PROCESS_FAILED_KIND_SANDBOX_HELPER_PROCESS_EXITED = 5

	// Indicates that the GPU process ended unexpectedly.
	COREWEBVIEW2_PROCESS_FAILED_KIND_GPU_PROCESS_EXITED = 6

	// Indicates that a PPAPI plugin process ended unexpectedly.
	COREWEBVIEW2_PROCESS_FAILED_KIND_PPAPI_PLUGIN_PROCESS_EXITED = 7

	// Indicates that a PPAPI plugin broker process ended unexpectedly.
	COREWEBVIEW2_PROCESS_FAILED_KIND_PPAPI_BROKER_PROCESS_EXITED = 8

	// Indicates that a process of unspecified kind ended unexpectedly.
	COREWEBVIEW2_PROCESS_FAILED_KIND_UNKNOWN_PROCESS_EXITED = 9
)
View Source
const (
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_ALL                  = 0
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_DOCUMENT             = 1
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_STYLESHEET           = 2
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_IMAGE                = 3
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MEDIA                = 4
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FONT                 = 5
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SCRIPT               = 6
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST     = 7
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FETCH                = 8
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_TEXT_TRACK           = 9
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_EVENT_SOURCE         = 10
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_WEBSOCKET            = 11
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MANIFEST             = 12
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SIGNED_EXCHANGE      = 13
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_PING                 = 14
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_CSP_VIOLATION_REPORT = 15
	COREWEBVIEW2_WEB_RESOURCE_CONTEXT_OTHER                = 16
)
View Source
const (
	ScreenCapture       = Capability("131.0.2903.40") // Screen capture support
	NonClientRegion     = Capability("131.0.2903.40") // Non-client region customization
	DownloadDialog      = Capability("131.0.2903.40") // Download dialog handling
	BrowserExtension    = Capability("131.0.2903.40") // Browser extension support
	BasicAuthentication = Capability("131.0.2903.40") // Basic authentication handling
	SaveFileDialog      = Capability("131.0.2903.40") // Save file dialog support
)

WebView2 Runtime Version 131.0.2903.40 (Released: September 2023)

View Source
const (
	AllowExternalDrop       = Capability("100.0.1185.39") // External drop support
	GeneralAutofillEnabled  = Capability("100.0.1185.39") // General autofill features
	PasswordAutosaveEnabled = Capability("100.0.1185.39") // Password autosave support
)

WebView2 Runtime Version 100.0.1185.39 (Released: April 2022)

View Source
const (
	CustomScheme      = Capability("98.0.1108.43") // Custom scheme support
	PrintToPdf        = Capability("98.0.1108.43") // Print to PDF functionality
	SharedBuffer      = Capability("98.0.1108.43") // Shared buffer for performance
	ServerCertificate = Capability("98.0.1108.43") // Server certificate handling
	FrameNavigation   = Capability("98.0.1108.43") // Frame navigation events
)

WebView2 Runtime Version 98.0.1108.43 (Released: February 2022)

View Source
const (
	ClientCertificate = Capability("97.0.1072.69") // Client certificate selection
	ContextMenus      = Capability("97.0.1072.69") // Custom context menus
	BackgroundColor   = Capability("97.0.1072.69") // Background color customization
	ScriptEnabled     = Capability("97.0.1072.69") // JavaScript execution control
	StatusBar         = Capability("97.0.1072.69") // Status bar customization
)

WebView2 Runtime Version 97.0.1072.69 (Released: January 2022)

View Source
const (
	WebMessageReceived   = Capability("95.0.1020.44") // Web message handling
	NewWindowRequested   = Capability("95.0.1020.44") // New window request handling
	DocumentTitleChanged = Capability("95.0.1020.44") // Document title change events
	ContainsFullScreen   = Capability("95.0.1020.44") // Fullscreen mode detection
	WebResourceRequested = Capability("95.0.1020.44") // Web resource request handling
)

WebView2 Runtime Version 95.0.1020.44 (Released: October 2021)

View Source
const (
	NavigationStarting      = Capability("94.0.992.31") // Navigation start events
	NavigationCompleted     = Capability("94.0.992.31") // Navigation completion events
	FrameNavigationStarting = Capability("94.0.992.31") // Frame navigation start
	SourceChanged           = Capability("94.0.992.31") // Source change detection
	HistoryChanged          = Capability("94.0.992.31") // Browser history changes
	SwipeNavigation         = Capability("94.0.992.31") // Swipe navigation support
)

WebView2 Runtime Version 94.0.992.31 (Released: September 2021)

View Source
const (
	DOMContentLoaded    = Capability("93.0.961.52") // DOM content loaded events
	WebResourceLoaded   = Capability("93.0.961.52") // Resource load events
	ScriptDialogOpening = Capability("93.0.961.52") // Script dialog handling
	PermissionRequested = Capability("93.0.961.52") // Permission request handling
	ProcessFailed       = Capability("93.0.961.52") // Process failure detection
)

WebView2 Runtime Version 93.0.961.52 (Released: August 2021)

View Source
const (
	AcceleratorKeyPressed = Capability("92.0.902.78") // Accelerator key handling
	ZoomFactorChanged     = Capability("92.0.902.78") // Zoom factor change events
	MoveFocusRequested    = Capability("92.0.902.78") // Focus movement handling
	DevToolsProtocol      = Capability("92.0.902.78") // DevTools protocol support
	BrowserProcessExited  = Capability("92.0.902.78") // Browser process exit handling
)

WebView2 Runtime Version 92.0.902.78 (Released: July 2021)

View Source
const (
	DefaultDownloadDialog    = Capability("91.0.864.41") // Default download dialog
	DefaultContextMenus      = Capability("91.0.864.41") // Default context menus
	FaviconChanged           = Capability("91.0.864.41") // Favicon change events
	WindowCloseRequested     = Capability("91.0.864.41") // Window close request handling
	RasterizationScale       = Capability("91.0.864.41") // Display scaling support
	SecurityUpdated          = Capability("91.0.864.41") // Security state updates
	ProcessInfoReceived      = Capability("91.0.864.41") // Process info events
	FramePermissionRequested = Capability("91.0.864.41") // Frame permission requests
	ClearBrowsingData        = Capability("91.0.864.41") // Clear browsing data support
	IsMutedChanged           = Capability("91.0.864.41") // Audio mute state changes
)

WebView2 Runtime Version 91.0.864.41 (Released: June 2021)

View Source
const (
	WebResourceResponseReceived = Capability("90.0.818.41") // Web resource response handling
	DOMContentLoaded90          = Capability("90.0.818.41") // DOM content loaded events (v90)
	WebResourceRequested90      = Capability("90.0.818.41") // Web resource requests (v90)
	NewWindowWithOptions        = Capability("90.0.818.41") // New window with options
	CookieManagement            = Capability("90.0.818.41") // Cookie management support
)

WebView2 Runtime Version 90.0.818.41 (Released: May 2021)

View Source
const (
	IsBuiltInErrorPageEnabled        = Capability("89.0.774.75") // Built-in error page support
	WebResourceResponse              = Capability("89.0.774.75") // Web resource response handling
	ScriptToExecuteOnDocumentCreated = Capability("89.0.774.75") // Document creation scripts
	EnvironmentOptions               = Capability("89.0.774.75") // Environment options support
	FrameNavigation89                = Capability("89.0.774.75") // Frame navigation (v89)
)

WebView2 Runtime Version 89.0.774.75 (Released: April 2021)

View Source
const (
	WebResourceRequested88 = Capability("88.0.705.74") // Web resource requests (v88)
	PermissionRequested88  = Capability("88.0.705.74") // Permission requests (v88)
	ProcessFailed88        = Capability("88.0.705.74") // Process failure handling (v88)
	AddHostObjectToScript  = Capability("88.0.705.74") // Host object scripting
	IsMuted                = Capability("88.0.705.74") // Audio mute state
)

WebView2 Runtime Version 88.0.705.74 (Released: March 2021)

View Source
const (
	WebMessageReceived87       = Capability("87.0.664.75") // Web message handling (v87)
	CallDevToolsProtocolMethod = Capability("87.0.664.75") // DevTools protocol method calls
	NewWindow87                = Capability("87.0.664.75") // New window creation (v87)
	DocumentTitleChanged87     = Capability("87.0.664.75") // Document title changes (v87)
	IsSuspended                = Capability("87.0.664.75") // Suspension state
)

WebView2 Runtime Version 87.0.664.75 (Released: February 2021)

View Source
const (
	NavigationStarting86      = Capability("86.0.622.58") // Navigation start events (v86)
	NavigationCompleted86     = Capability("86.0.622.58") // Navigation completion (v86)
	FrameNavigationStarting86 = Capability("86.0.622.58") // Frame navigation start (v86)
	BasicWebView              = Capability("86.0.622.58") // Basic WebView2 functionality
	WindowBounds              = Capability("86.0.622.58") // Window bounds control
)

WebView2 Runtime Version 86.0.622.58 (Released: January 2021)

View Source
const (
	WebView2Environment  = Capability("85.0.564.70") // WebView2 environment
	WebView2Controller   = Capability("85.0.564.70") // WebView2 controller
	BasicSettings        = Capability("85.0.564.70") // Basic settings support
	UserDataFolder       = Capability("85.0.564.70") // User data folder
	BrowserVersionString = Capability("85.0.564.70") // Browser version info
)

WebView2 Runtime Version 85.0.564.70 (Released: December 2020)

View Source
const (
	ERROR_ELEMENT_NOT_FOUND syscall.Errno = 0x80070490
)
View Source
const ERROR_SUCCESS = windows.ERROR_SUCCESS
View Source
const (
	GetAdditionalObjects = Capability("113.0.1774.30") // Additional objects support
)

WebView2 Runtime Version 113.0.1774.30 (Released: Unknown)

Variables

View Source
var ErrDoubleArgUnsupported = errors.New("COM by-value double arguments are not supported on windows/arm64 (golang.org/issue/62583)")

ErrDoubleArgUnsupported is returned by setters that take a C double BY VALUE on architectures where Go cannot marshal such an argument (windows/arm64: doubles go in d0-d7, which Go's syscall path cannot populate — golang.org/issue/62583). Callers that can tolerate the setting staying at its default should treat this error as non-fatal.

View Source
var UnsupportedCapabilityError = &unsupportedCapabilityError{}

Functions

func CoTaskMemFree

func CoTaskMemFree(pv unsafe.Pointer)

func HasCapability

func HasCapability(webview2RuntimeVersion string, capability Capability) bool

func ICoreWebView2RasterizationScaleChangedEventHandlerIUnknownAddRef

func ICoreWebView2RasterizationScaleChangedEventHandlerIUnknownAddRef(this *ICoreWebView2RasterizationScaleChangedEventHandler) uintptr

func ICoreWebView2RasterizationScaleChangedEventHandlerIUnknownQueryInterface

func ICoreWebView2RasterizationScaleChangedEventHandlerIUnknownQueryInterface(this *ICoreWebView2RasterizationScaleChangedEventHandler, refiid, object uintptr) uintptr

func ICoreWebView2RasterizationScaleChangedEventHandlerIUnknownRelease

func ICoreWebView2RasterizationScaleChangedEventHandlerIUnknownRelease(this *ICoreWebView2RasterizationScaleChangedEventHandler) uintptr

func IsEqualGUID

func IsEqualGUID(guid1 *GUID, guid2 *GUID) bool

IsEqualGUID compares two GUID.

Not constant time comparison.

func UTF16PtrFromString

func UTF16PtrFromString(s string) (*uint16, error)

func UTF16PtrToString

func UTF16PtrToString(s *uint16) string

Types

type COREWEBVIEW2_BOUNDS_MODE

type COREWEBVIEW2_BOUNDS_MODE uint32

type COREWEBVIEW2_COLOR

type COREWEBVIEW2_COLOR struct {
	A uint8
	R uint8
	G uint8
	B uint8
}

type COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND

type COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND uint32

type COREWEBVIEW2_KEY_EVENT_KIND

type COREWEBVIEW2_KEY_EVENT_KIND uint32

type COREWEBVIEW2_MOVE_FOCUS_REASON

type COREWEBVIEW2_MOVE_FOCUS_REASON uint32

type COREWEBVIEW2_PHYSICAL_KEY_STATUS

type COREWEBVIEW2_PHYSICAL_KEY_STATUS struct {
	RepeatCount   uint32
	ScanCode      uint32
	IsExtendedKey bool
	IsMenuKeyDown bool
	WasKeyDown    bool
	IsKeyReleased bool
}

type COREWEBVIEW2_PROCESS_FAILED_KIND

type COREWEBVIEW2_PROCESS_FAILED_KIND uint32

type COREWEBVIEW2_WEB_RESOURCE_CONTEXT

type COREWEBVIEW2_WEB_RESOURCE_CONTEXT uint32

type Capability

type Capability string

type Chromium

type Chromium struct {

	// Settings
	Debug                 bool
	DataPath              string
	BrowserPath           string
	AdditionalBrowserArgs []string

	// Callbacks
	MessageCallback                          func(message string, sender *ICoreWebView2, args *ICoreWebView2WebMessageReceivedEventArgs)
	MessageWithAdditionalObjectsCallback     func(message string, sender *ICoreWebView2, args *ICoreWebView2WebMessageReceivedEventArgs)
	WebResourceRequestedCallback             func(request *ICoreWebView2WebResourceRequest, args *ICoreWebView2WebResourceRequestedEventArgs)
	NavigationCompletedCallback              func(sender *ICoreWebView2, args *ICoreWebView2NavigationCompletedEventArgs)
	ProcessFailedCallback                    func(sender *ICoreWebView2, args *ICoreWebView2ProcessFailedEventArgs)
	ContainsFullScreenElementChangedCallback func(sender *ICoreWebView2, args *ICoreWebView2ContainsFullScreenElementChangedEventArgs)
	AcceleratorKeyCallback                   func(uint) bool
	// contains filtered or unexported fields
}

func NewChromium

func NewChromium() *Chromium

func (*Chromium) AcceleratorKeyPressed

AcceleratorKeyPressed is called when an accelerator key is pressed. If the AcceleratorKeyCallback method has been set, it will defer handling of the keypress to the callback. That callback returns a bool indicating if the event was handled.

func (*Chromium) AddRef

func (e *Chromium) AddRef() uintptr

func (*Chromium) AddWebResourceRequestedFilter

func (e *Chromium) AddWebResourceRequestedFilter(filter string, ctx COREWEBVIEW2_WEB_RESOURCE_CONTEXT)

func (*Chromium) AllowExternalDrag

func (e *Chromium) AllowExternalDrag(allow bool) error

func (*Chromium) ContainsFullScreenElementChanged

func (e *Chromium) ContainsFullScreenElementChanged(sender *ICoreWebView2, args *ICoreWebView2ContainsFullScreenElementChangedEventArgs) uintptr

func (*Chromium) CreateCoreWebView2ControllerCompleted

func (e *Chromium) CreateCoreWebView2ControllerCompleted(res uintptr, controller *ICoreWebView2Controller) uintptr

func (*Chromium) Embed

func (e *Chromium) Embed(hwnd uintptr) bool

func (*Chromium) Environment

func (e *Chromium) Environment() *ICoreWebView2Environment

func (*Chromium) EnvironmentCompleted

func (e *Chromium) EnvironmentCompleted(res uintptr, env *ICoreWebView2Environment) uintptr

func (*Chromium) Eval

func (e *Chromium) Eval(script string)

func (*Chromium) Focus

func (e *Chromium) Focus()

func (*Chromium) GetAllowExternalDrag

func (e *Chromium) GetAllowExternalDrag() (bool, error)

func (*Chromium) GetController

func (e *Chromium) GetController() *ICoreWebView2Controller

func (*Chromium) GetCookieManager

func (e *Chromium) GetCookieManager() (*ICoreWebView2CookieManager, error)

func (*Chromium) GetICoreWebView2_3

func (e *Chromium) GetICoreWebView2_3() *ICoreWebView2_3

func (*Chromium) GetIsSwipeNavigationEnabled

func (e *Chromium) GetIsSwipeNavigationEnabled() (bool, error)

func (*Chromium) GetSettings

func (e *Chromium) GetSettings() (*ICoreWebViewSettings, error)

func (*Chromium) HasCapability

func (e *Chromium) HasCapability(c Capability) bool

func (*Chromium) Hide

func (e *Chromium) Hide() error

func (*Chromium) Init

func (e *Chromium) Init(script string)

func (*Chromium) IsReady

func (e *Chromium) IsReady() bool

IsReady reports whether the WebView2 controller has been fully initialised. e.controller is assigned partway through CreateCoreWebView2ControllerCompleted, before the controller's COM setup has finished, so a non-nil controller is not sufficient to safely call into it: COM calls made in that window fail with E_INVALIDARG ("The parameter is incorrect"). The inited flag is set only after setup completes. Safe to call from any goroutine.

func (*Chromium) MessageReceived

func (e *Chromium) MessageReceived(sender *ICoreWebView2, args *ICoreWebView2WebMessageReceivedEventArgs) uintptr

func (*Chromium) Navigate

func (e *Chromium) Navigate(url string)

func (*Chromium) NavigateToString

func (e *Chromium) NavigateToString(content string)

func (*Chromium) NavigationCompleted

func (e *Chromium) NavigationCompleted(sender *ICoreWebView2, args *ICoreWebView2NavigationCompletedEventArgs) uintptr

func (*Chromium) NotifyParentWindowPositionChanged

func (e *Chromium) NotifyParentWindowPositionChanged() error

func (*Chromium) OpenDevToolsWindow

func (e *Chromium) OpenDevToolsWindow()

func (*Chromium) PermissionRequested

func (e *Chromium) PermissionRequested(_ *ICoreWebView2, args *iCoreWebView2PermissionRequestedEventArgs) uintptr

func (*Chromium) ProcessFailed

func (e *Chromium) ProcessFailed(sender *ICoreWebView2, args *ICoreWebView2ProcessFailedEventArgs) uintptr

func (*Chromium) PutIsGeneralAutofillEnabled

func (e *Chromium) PutIsGeneralAutofillEnabled(value bool) error

PutIsGeneralAutofillEnabled controls whether autofill for information like names, street and email addresses, phone numbers, and arbitrary input is enabled. This excludes password and credit card information. When IsGeneralAutofillEnabled is false, no suggestions appear, and no new information is saved. When IsGeneralAutofillEnabled is true, information is saved, suggestions appear and clicking on one will populate the form fields. It will take effect immediately after setting. The default value is `FALSE`.

func (*Chromium) PutIsPasswordAutosaveEnabled

func (e *Chromium) PutIsPasswordAutosaveEnabled(value bool) error

PutIsPasswordAutosaveEnabled sets whether the browser should offer to save passwords and other identifying information entered into forms automatically. The default value is `FALSE`.

func (*Chromium) PutIsSwipeNavigationEnabled

func (e *Chromium) PutIsSwipeNavigationEnabled(enabled bool) error

func (*Chromium) PutZoomFactor

func (e *Chromium) PutZoomFactor(zoomFactor float64)

func (*Chromium) QueryInterface

func (e *Chromium) QueryInterface(_, _ uintptr) uintptr

func (*Chromium) Release

func (e *Chromium) Release() uintptr

func (*Chromium) Resize

func (e *Chromium) Resize()

func (*Chromium) ResizeWithBounds

func (e *Chromium) ResizeWithBounds(bounds *Rect)

func (*Chromium) SetBackgroundColour

func (e *Chromium) SetBackgroundColour(R, G, B, A uint8)

func (*Chromium) SetErrorCallback

func (e *Chromium) SetErrorCallback(callback func(error))

func (*Chromium) SetGlobalPermission

func (e *Chromium) SetGlobalPermission(state CoreWebView2PermissionState)

func (*Chromium) SetPadding

func (e *Chromium) SetPadding(padding Rect)

func (*Chromium) SetPermission

func (e *Chromium) SetPermission(kind CoreWebView2PermissionKind, state CoreWebView2PermissionState)

func (*Chromium) SetSize

func (e *Chromium) SetSize(bounds w32.Rect)

func (*Chromium) Show

func (e *Chromium) Show() error

func (*Chromium) ShuttingDown

func (e *Chromium) ShuttingDown()

func (*Chromium) WebResourceRequested

func (e *Chromium) WebResourceRequested(sender *ICoreWebView2, args *ICoreWebView2WebResourceRequestedEventArgs) uintptr

type ComProc

type ComProc uintptr

ComProc stores a COM procedure.

func NewComProc

func NewComProc(fn interface{}) ComProc

NewComProc creates a new COM proc from a Go function.

func (ComProc) Call

func (p ComProc) Call(a ...uintptr) (r1, r2 uintptr, lastErr error)

Call calls a COM procedure.

type CoreWebView2PermissionKind

type CoreWebView2PermissionKind uint32
const (
	CoreWebView2PermissionKindUnknownPermission CoreWebView2PermissionKind = iota
	CoreWebView2PermissionKindMicrophone
	CoreWebView2PermissionKindCamera
	CoreWebView2PermissionKindGeolocation
	CoreWebView2PermissionKindNotifications
	CoreWebView2PermissionKindOtherSensors
	CoreWebView2PermissionKindClipboardRead
)

type CoreWebView2PermissionState

type CoreWebView2PermissionState uint32
const (
	CoreWebView2PermissionStateDefault CoreWebView2PermissionState = iota
	CoreWebView2PermissionStateAllow
	CoreWebView2PermissionStateDeny
)

type EventRegistrationToken

type EventRegistrationToken struct {
	// contains filtered or unexported fields
}

type GUID

type GUID struct {
	Data1 uint32
	Data2 uint16
	Data3 uint16
	Data4 [8]byte
}

GUID is Windows API specific GUID type.

This exists to match Windows GUID type for direct passing for COM. Format is in xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx.

func NewGUID

func NewGUID(guid string) *GUID

NewGUID converts the given string into a globally unique identifier that is compliant with the Windows API.

The supplied string may be in any of these formats:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}

The conversion of the supplied string is not case-sensitive.

func (*GUID) String

func (guid *GUID) String() string

String converts the GUID to string form. It will adhere to this pattern:

{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}

If the GUID is nil, the string representation of an empty GUID is returned:

{00000000-0000-0000-0000-000000000000}

type HANDLE

type HANDLE uintptr

type HBRUSH

type HBRUSH uintptr

type HCURSOR

type HCURSOR uintptr

type HICON

type HICON uintptr

type HINSTANCE

type HINSTANCE uintptr

type HMENU

type HMENU uintptr

type HMODULE

type HMODULE uintptr

type HWND

type HWND uintptr

type ICoreWebView2

type ICoreWebView2 struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2) AddContainsFullScreenElementChanged

func (i *ICoreWebView2) AddContainsFullScreenElementChanged(eventHandler *ICoreWebView2ContainsFullScreenElementChangedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2) AddNavigationCompleted

func (i *ICoreWebView2) AddNavigationCompleted(eventHandler *ICoreWebView2NavigationCompletedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2) AddPermissionRequested

func (i *ICoreWebView2) AddPermissionRequested(handler *iCoreWebView2PermissionRequestedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2) AddProcessFailed

func (i *ICoreWebView2) AddProcessFailed(eventHandler *ICoreWebView2ProcessFailedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2) AddRef

func (i *ICoreWebView2) AddRef() uint32

func (*ICoreWebView2) AddScriptToExecuteOnDocumentCreated

func (i *ICoreWebView2) AddScriptToExecuteOnDocumentCreated(javaScript string, handler *iCoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler) error

func (*ICoreWebView2) AddWebMessageReceived

func (i *ICoreWebView2) AddWebMessageReceived(handler *iCoreWebView2WebMessageReceivedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2) AddWebResourceRequested

func (i *ICoreWebView2) AddWebResourceRequested(handler *iCoreWebView2WebResourceRequestedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2) AddWebResourceRequestedFilter

func (i *ICoreWebView2) AddWebResourceRequestedFilter(uri string, resourceContext COREWEBVIEW2_WEB_RESOURCE_CONTEXT) error

func (*ICoreWebView2) ExecuteScript

func (i *ICoreWebView2) ExecuteScript(javascript string, handler *iCoreWebView2ExecuteScriptCompletedHandler) error

func (*ICoreWebView2) GetContainsFullScreenElement

func (i *ICoreWebView2) GetContainsFullScreenElement() (bool, error)

func (*ICoreWebView2) GetICoreWebView2_3

func (i *ICoreWebView2) GetICoreWebView2_3() *ICoreWebView2_3

func (*ICoreWebView2) GetSettings

func (i *ICoreWebView2) GetSettings() (*ICoreWebViewSettings, error)

func (*ICoreWebView2) GetSource

func (i *ICoreWebView2) GetSource() (string, error)

func (*ICoreWebView2) Navigate

func (i *ICoreWebView2) Navigate(url string) error

func (*ICoreWebView2) NavigateToString

func (i *ICoreWebView2) NavigateToString(htmlContent string) error

func (*ICoreWebView2) OpenDevToolsWindow

func (i *ICoreWebView2) OpenDevToolsWindow() error

func (*ICoreWebView2) PostWebMessageAsString

func (i *ICoreWebView2) PostWebMessageAsString(webMessageAsString string) error

func (*ICoreWebView2) QueryInterface2

func (i *ICoreWebView2) QueryInterface2() (*ICoreWebView2_2, error)

func (*ICoreWebView2) Release

func (i *ICoreWebView2) Release() uint32

type ICoreWebView2AcceleratorKeyPressedEventArgs

type ICoreWebView2AcceleratorKeyPressedEventArgs struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef

func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind

func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus

func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey

func (*ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled

func (*ICoreWebView2AcceleratorKeyPressedEventArgs) Release

type ICoreWebView2AcceleratorKeyPressedEventHandler

type ICoreWebView2AcceleratorKeyPressedEventHandler struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2AcceleratorKeyPressedEventHandler) AddRef

func (*ICoreWebView2AcceleratorKeyPressedEventHandler) Release

type ICoreWebView2ContainsFullScreenElementChangedEventArgs

type ICoreWebView2ContainsFullScreenElementChangedEventArgs struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2ContainsFullScreenElementChangedEventArgs) AddRef

type ICoreWebView2ContainsFullScreenElementChangedEventHandler

type ICoreWebView2ContainsFullScreenElementChangedEventHandler struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2ContainsFullScreenElementChangedEventHandler) AddRef

type ICoreWebView2Controller

type ICoreWebView2Controller struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2Controller) AddAcceleratorKeyPressed

func (i *ICoreWebView2Controller) AddAcceleratorKeyPressed(eventHandler *ICoreWebView2AcceleratorKeyPressedEventHandler, token *_EventRegistrationToken) error

func (*ICoreWebView2Controller) AddRef

func (i *ICoreWebView2Controller) AddRef() uintptr

func (*ICoreWebView2Controller) GetBounds

func (i *ICoreWebView2Controller) GetBounds() (*w32.Rect, error)

func (*ICoreWebView2Controller) GetCoreWebView2

func (i *ICoreWebView2Controller) GetCoreWebView2() (*ICoreWebView2, error)

func (*ICoreWebView2Controller) GetICoreWebView2Controller2

func (i *ICoreWebView2Controller) GetICoreWebView2Controller2() *ICoreWebView2Controller2

func (*ICoreWebView2Controller) GetICoreWebView2Controller3

func (i *ICoreWebView2Controller) GetICoreWebView2Controller3() *ICoreWebView2Controller3

func (*ICoreWebView2Controller) GetICoreWebView2Controller4

func (i *ICoreWebView2Controller) GetICoreWebView2Controller4() *ICoreWebView2Controller4

func (*ICoreWebView2Controller) GetZoomFactor

func (i *ICoreWebView2Controller) GetZoomFactor() (float64, error)

func (*ICoreWebView2Controller) MoveFocus

func (*ICoreWebView2Controller) NotifyParentWindowPositionChanged

func (i *ICoreWebView2Controller) NotifyParentWindowPositionChanged() error

func (*ICoreWebView2Controller) PutBounds

func (i *ICoreWebView2Controller) PutBounds(bounds w32.Rect) error

func (*ICoreWebView2Controller) PutIsVisible

func (i *ICoreWebView2Controller) PutIsVisible(isVisible bool) error

func (*ICoreWebView2Controller) PutZoomFactor

func (i *ICoreWebView2Controller) PutZoomFactor(zoomFactor float64) error

func (*ICoreWebView2Controller) Release

func (i *ICoreWebView2Controller) Release() uintptr

type ICoreWebView2Controller2

type ICoreWebView2Controller2 struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2Controller2) AddRef

func (i *ICoreWebView2Controller2) AddRef() uintptr

func (*ICoreWebView2Controller2) GetDefaultBackgroundColor

func (i *ICoreWebView2Controller2) GetDefaultBackgroundColor() (*COREWEBVIEW2_COLOR, error)

func (*ICoreWebView2Controller2) PutDefaultBackgroundColor

func (i *ICoreWebView2Controller2) PutDefaultBackgroundColor(backgroundColor COREWEBVIEW2_COLOR) error

type ICoreWebView2Controller3

type ICoreWebView2Controller3 struct {
	Vtbl *ICoreWebView2Controller3Vtbl
}

func (*ICoreWebView2Controller3) AddRasterizationScaleChanged

func (*ICoreWebView2Controller3) AddRef

func (i *ICoreWebView2Controller3) AddRef() uintptr

func (*ICoreWebView2Controller3) GetBoundsMode

func (*ICoreWebView2Controller3) GetRasterizationScale

func (i *ICoreWebView2Controller3) GetRasterizationScale() (float64, error)

func (*ICoreWebView2Controller3) GetShouldDetectMonitorScaleChanges

func (i *ICoreWebView2Controller3) GetShouldDetectMonitorScaleChanges() (bool, error)

func (*ICoreWebView2Controller3) PutBoundsMode

func (i *ICoreWebView2Controller3) PutBoundsMode(boundsMode COREWEBVIEW2_BOUNDS_MODE) error

func (*ICoreWebView2Controller3) PutRasterizationScale

func (i *ICoreWebView2Controller3) PutRasterizationScale(scale float64) error

func (*ICoreWebView2Controller3) PutShouldDetectMonitorScaleChanges

func (i *ICoreWebView2Controller3) PutShouldDetectMonitorScaleChanges(value bool) error

func (*ICoreWebView2Controller3) RemoveRasterizationScaleChanged

func (i *ICoreWebView2Controller3) RemoveRasterizationScaleChanged(token EventRegistrationToken) error

type ICoreWebView2Controller3Vtbl

type ICoreWebView2Controller3Vtbl struct {
	GetIsVisible                       ComProc
	PutIsVisible                       ComProc
	GetBounds                          ComProc
	PutBounds                          ComProc
	GetZoomFactor                      ComProc
	PutZoomFactor                      ComProc
	AddZoomFactorChanged               ComProc
	RemoveZoomFactorChanged            ComProc
	SetBoundsAndZoomFactor             ComProc
	MoveFocus                          ComProc
	AddMoveFocusRequested              ComProc
	RemoveMoveFocusRequested           ComProc
	AddGotFocus                        ComProc
	RemoveGotFocus                     ComProc
	AddLostFocus                       ComProc
	RemoveLostFocus                    ComProc
	AddAcceleratorKeyPressed           ComProc
	RemoveAcceleratorKeyPressed        ComProc
	GetParentWindow                    ComProc
	PutParentWindow                    ComProc
	NotifyParentWindowPositionChanged  ComProc
	Close                              ComProc
	GetCoreWebView2                    ComProc
	GetDefaultBackgroundColor          ComProc
	PutDefaultBackgroundColor          ComProc
	GetRasterizationScale              ComProc
	PutRasterizationScale              ComProc
	GetShouldDetectMonitorScaleChanges ComProc
	PutShouldDetectMonitorScaleChanges ComProc
	AddRasterizationScaleChanged       ComProc
	RemoveRasterizationScaleChanged    ComProc
	GetBoundsMode                      ComProc
	PutBoundsMode                      ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Controller4

type ICoreWebView2Controller4 struct {
	Vtbl *ICoreWebView2Controller4Vtbl
}

func (*ICoreWebView2Controller4) AddRef

func (i *ICoreWebView2Controller4) AddRef() uintptr

func (*ICoreWebView2Controller4) GetAllowExternalDrop

func (i *ICoreWebView2Controller4) GetAllowExternalDrop() (bool, error)

func (*ICoreWebView2Controller4) PutAllowExternalDrop

func (i *ICoreWebView2Controller4) PutAllowExternalDrop(value bool) error

type ICoreWebView2Controller4Vtbl

type ICoreWebView2Controller4Vtbl struct {
	GetIsVisible                       ComProc
	PutIsVisible                       ComProc
	GetBounds                          ComProc
	PutBounds                          ComProc
	GetZoomFactor                      ComProc
	PutZoomFactor                      ComProc
	AddZoomFactorChanged               ComProc
	RemoveZoomFactorChanged            ComProc
	SetBoundsAndZoomFactor             ComProc
	MoveFocus                          ComProc
	AddMoveFocusRequested              ComProc
	RemoveMoveFocusRequested           ComProc
	AddGotFocus                        ComProc
	RemoveGotFocus                     ComProc
	AddLostFocus                       ComProc
	RemoveLostFocus                    ComProc
	AddAcceleratorKeyPressed           ComProc
	RemoveAcceleratorKeyPressed        ComProc
	GetParentWindow                    ComProc
	PutParentWindow                    ComProc
	NotifyParentWindowPositionChanged  ComProc
	Close                              ComProc
	GetCoreWebView2                    ComProc
	GetDefaultBackgroundColor          ComProc
	PutDefaultBackgroundColor          ComProc
	GetRasterizationScale              ComProc
	PutRasterizationScale              ComProc
	GetShouldDetectMonitorScaleChanges ComProc
	PutShouldDetectMonitorScaleChanges ComProc
	AddRasterizationScaleChanged       ComProc
	RemoveRasterizationScaleChanged    ComProc
	GetBoundsMode                      ComProc
	PutBoundsMode                      ComProc
	GetAllowExternalDrop               ComProc
	PutAllowExternalDrop               ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Cookie

type ICoreWebView2Cookie struct {
	// contains filtered or unexported fields
}

ICoreWebView2Cookie represents a cookie

func (*ICoreWebView2Cookie) AddRef

func (i *ICoreWebView2Cookie) AddRef() uintptr

Addref increments refernce count of the ICoreWebView2Cookie interface

func (*ICoreWebView2Cookie) GetDomain

func (i *ICoreWebView2Cookie) GetDomain() (string, error)

GetDomain gets the cookie domain

func (*ICoreWebView2Cookie) GetExpires

func (i *ICoreWebView2Cookie) GetExpires() (float64, error)

GetExpires gets the cookie expiration time

func (*ICoreWebView2Cookie) GetIsHttpOnly

func (i *ICoreWebView2Cookie) GetIsHttpOnly() (bool, error)

GetIsHttpOnly gets whether the cookie is HTTP-only

func (*ICoreWebView2Cookie) GetIsSecure

func (i *ICoreWebView2Cookie) GetIsSecure() (bool, error)

GetIsSecure gets whether the cookie is secure

func (*ICoreWebView2Cookie) GetName

func (i *ICoreWebView2Cookie) GetName() (string, error)

GetName gets the cookie name

func (*ICoreWebView2Cookie) GetPath

func (i *ICoreWebView2Cookie) GetPath() (string, error)

GetPath gets the cookie path

func (*ICoreWebView2Cookie) GetSameSite

func (i *ICoreWebView2Cookie) GetSameSite() (int32, error)

GetSameSite gets the cookie's SameSite attribute

func (*ICoreWebView2Cookie) GetValue

func (i *ICoreWebView2Cookie) GetValue() (string, error)

GetValue gets the cookie value

func (*ICoreWebView2Cookie) PutExpires

func (i *ICoreWebView2Cookie) PutExpires(expires float64) error

PutExpires sets the cookie expiration time

func (*ICoreWebView2Cookie) PutIsHttpOnly

func (i *ICoreWebView2Cookie) PutIsHttpOnly(isHttpOnly bool) error

PutIsHttpOnly sets whether the cookie is HTTP-only

func (*ICoreWebView2Cookie) PutIsSecure

func (i *ICoreWebView2Cookie) PutIsSecure(isSecure bool) error

PutIsSecure sets whether the cookie is secure

func (*ICoreWebView2Cookie) PutSameSite

func (i *ICoreWebView2Cookie) PutSameSite(sameSite int32) error

PutSameSite sets the cookie's SameSite attribute

func (*ICoreWebView2Cookie) PutValue

func (i *ICoreWebView2Cookie) PutValue(value string) error

PutValue sets the cookie value

func (*ICoreWebView2Cookie) QueryInterface

func (i *ICoreWebView2Cookie) QueryInterface(riid *windows.GUID, ppvObject *unsafe.Pointer) error

QueryInterface queries for a specific interface

func (*ICoreWebView2Cookie) Release

func (i *ICoreWebView2Cookie) Release() uintptr

Release decrements reference count of the ICoreWebView2Cookie interface

type ICoreWebView2CookieList

type ICoreWebView2CookieList struct {
	// contains filtered or unexported fields
}

ICoreWebView2CookieList represents a list of cookies

func (*ICoreWebView2CookieList) AddRef

func (i *ICoreWebView2CookieList) AddRef() uint32

AddRef increments reference count of the ICoreWebView2CookieList interface

func (*ICoreWebView2CookieList) GetCount

func (i *ICoreWebView2CookieList) GetCount() (uint32, error)

GetCount gets the number of cookies in the list

func (*ICoreWebView2CookieList) GetItem

GetItem gets the cookie at the specified index

func (*ICoreWebView2CookieList) Release

func (i *ICoreWebView2CookieList) Release() uint32

Release decrements reference count of the ICoreWebView2CookieList interface

type ICoreWebView2CookieManager

type ICoreWebView2CookieManager struct {
	// contains filtered or unexported fields
}

ICoreWebView2CookieManager represents the cookie manager interface

func (*ICoreWebView2CookieManager) AddOrUpdateCookie

func (i *ICoreWebView2CookieManager) AddOrUpdateCookie(cookie *ICoreWebView2Cookie) error

AddOrUpdateCookie adds or updates a cookie

func (*ICoreWebView2CookieManager) AddRef

func (i *ICoreWebView2CookieManager) AddRef() uint32

AddRef increments the reference count of ICoreWebView2CookieManager interface

func (*ICoreWebView2CookieManager) CopyCookie

CopyCookie creates a copy of the given cookie

func (*ICoreWebView2CookieManager) CreateCookie

func (i *ICoreWebView2CookieManager) CreateCookie(name, value, domain, path string) (*ICoreWebView2Cookie, error)

CreateCookie creates a new cookie with the given parameters

func (*ICoreWebView2CookieManager) DeleteAllCookies

func (i *ICoreWebView2CookieManager) DeleteAllCookies() error

DeleteAllCookies deletes all cookies

func (*ICoreWebView2CookieManager) DeleteCookie

func (i *ICoreWebView2CookieManager) DeleteCookie(cookie *ICoreWebView2Cookie) error

DeleteCookie deletes a specific cookie

func (*ICoreWebView2CookieManager) DeleteCookies

func (i *ICoreWebView2CookieManager) DeleteCookies(name, uri string) error

DeleteCookies deletes all cookies with matching name and uri

func (*ICoreWebView2CookieManager) DeleteCookiesWithDomainAndPath

func (i *ICoreWebView2CookieManager) DeleteCookiesWithDomainAndPath(domain, path string) error

DeleteCookiesWithDomainAndPath deletes all cookies matching the domain and path

func (*ICoreWebView2CookieManager) GetCookies

GetCookies gets all cookies matching the URI

func (*ICoreWebView2CookieManager) Release

func (i *ICoreWebView2CookieManager) Release() uint32

Release decrements the reference count of ICoreWebView2CookieManager interface

type ICoreWebView2Deferral

type ICoreWebView2Deferral struct {
	Vtbl *ICoreWebView2DeferralVtbl
}

func (*ICoreWebView2Deferral) AddRef

func (i *ICoreWebView2Deferral) AddRef() error

AddRef increments the reference count of ICoreWebView2Deferral interface

func (*ICoreWebView2Deferral) Complete

func (i *ICoreWebView2Deferral) Complete() error

func (*ICoreWebView2Deferral) Release

func (i *ICoreWebView2Deferral) Release() error

Release decrements the reference count of ICoreWebView2Deferral interface

type ICoreWebView2DeferralVtbl

type ICoreWebView2DeferralVtbl struct {
	Complete ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Environment

type ICoreWebView2Environment struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2Environment) CreateCoreWebView2Controller

func (e *ICoreWebView2Environment) CreateCoreWebView2Controller(parentWindow uintptr, handler *iCoreWebView2CreateCoreWebView2ControllerCompletedHandler) error

CreateCoreWebView2Controller asynchronously creates a new WebView.

func (*ICoreWebView2Environment) CreateWebResourceResponse

func (e *ICoreWebView2Environment) CreateWebResourceResponse(content []byte, statusCode int, reasonPhrase string, headers string) (*ICoreWebView2WebResourceResponse, error)

CreateWebResourceResponse creates a new ICoreWebView2WebResourceResponse, it must be released after finishing using it.

type ICoreWebView2File

type ICoreWebView2File struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2File) AddRef

func (i *ICoreWebView2File) AddRef() uint32

func (*ICoreWebView2File) GetPath

func (i *ICoreWebView2File) GetPath() (string, error)

func (*ICoreWebView2File) Release

func (i *ICoreWebView2File) Release() uint32

type ICoreWebView2HttpHeadersCollectionIterator

type ICoreWebView2HttpHeadersCollectionIterator struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2HttpHeadersCollectionIterator) AddRef

func (*ICoreWebView2HttpHeadersCollectionIterator) GetCurrentHeader

func (*ICoreWebView2HttpHeadersCollectionIterator) HasCurrentHeader

func (i *ICoreWebView2HttpHeadersCollectionIterator) HasCurrentHeader() (bool, error)

func (*ICoreWebView2HttpHeadersCollectionIterator) MoveNext

func (*ICoreWebView2HttpHeadersCollectionIterator) Release

type ICoreWebView2HttpRequestHeaders

type ICoreWebView2HttpRequestHeaders struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2HttpRequestHeaders) AddRef

func (*ICoreWebView2HttpRequestHeaders) GetHeader

func (i *ICoreWebView2HttpRequestHeaders) GetHeader(name string) (string, error)

GetHeader returns the value of the specified header. If the header is not found ERROR_ELEMENT_NOT_FOUND is returned as error.

func (*ICoreWebView2HttpRequestHeaders) GetIterator

GetIterator returns an iterator over the collection of request headers. Make sure to call Release on the returned Object after finished using it.

func (*ICoreWebView2HttpRequestHeaders) Release

func (*ICoreWebView2HttpRequestHeaders) SetHeader

func (i *ICoreWebView2HttpRequestHeaders) SetHeader(name, value string) error

SetHeader sets the specified header to the value.

type ICoreWebView2HttpResponseHeaders

type ICoreWebView2HttpResponseHeaders struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2HttpResponseHeaders) AddRef

func (*ICoreWebView2HttpResponseHeaders) AppendHeader

func (i *ICoreWebView2HttpResponseHeaders) AppendHeader(name string, value string) error

func (*ICoreWebView2HttpResponseHeaders) Release

type ICoreWebView2NavigationCompletedEventArgs

type ICoreWebView2NavigationCompletedEventArgs struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2NavigationCompletedEventArgs) AddRef

func (*ICoreWebView2NavigationCompletedEventArgs) Release

type ICoreWebView2NavigationCompletedEventHandler

type ICoreWebView2NavigationCompletedEventHandler struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2NavigationCompletedEventHandler) AddRef

type ICoreWebView2ObjectCollectionView

type ICoreWebView2ObjectCollectionView struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2ObjectCollectionView) AddRef

func (*ICoreWebView2ObjectCollectionView) GetCount

func (*ICoreWebView2ObjectCollectionView) GetValueAtIndex

func (i *ICoreWebView2ObjectCollectionView) GetValueAtIndex(index uint32) (*_IUnknownVtbl, error)

func (*ICoreWebView2ObjectCollectionView) Release

type ICoreWebView2ProcessFailedEventArgs

type ICoreWebView2ProcessFailedEventArgs struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2ProcessFailedEventArgs) GetProcessFailedKind

type ICoreWebView2ProcessFailedEventHandler

type ICoreWebView2ProcessFailedEventHandler struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2ProcessFailedEventHandler) AddRef

type ICoreWebView2RasterizationScaleChangedEventHandler

type ICoreWebView2RasterizationScaleChangedEventHandler struct {
	Vtbl *ICoreWebView2RasterizationScaleChangedEventHandlerVtbl
	// contains filtered or unexported fields
}

func (*ICoreWebView2RasterizationScaleChangedEventHandler) AddRef

type ICoreWebView2RasterizationScaleChangedEventHandlerImpl

type ICoreWebView2RasterizationScaleChangedEventHandlerImpl interface {
	IUnknownImpl
	RasterizationScaleChanged(sender *ICoreWebView2Controller, args *IUnknown) uintptr
}

type ICoreWebView2RasterizationScaleChangedEventHandlerVtbl

type ICoreWebView2RasterizationScaleChangedEventHandlerVtbl struct {
	IUnknownVtbl
	Invoke ComProc
}

type ICoreWebView2Settings

type ICoreWebView2Settings struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2Settings) AddRef

func (i *ICoreWebView2Settings) AddRef() uintptr

func (*ICoreWebView2Settings) GetAreDefaultContextMenusEnabled

func (i *ICoreWebView2Settings) GetAreDefaultContextMenusEnabled() (bool, error)

func (*ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled

func (i *ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled() (bool, error)

func (*ICoreWebView2Settings) GetAreDevToolsEnabled

func (i *ICoreWebView2Settings) GetAreDevToolsEnabled() (bool, error)

func (*ICoreWebView2Settings) GetAreHostObjectsAllowed

func (i *ICoreWebView2Settings) GetAreHostObjectsAllowed() (bool, error)

func (*ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled

func (i *ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled() (bool, error)

func (*ICoreWebView2Settings) GetIsScriptEnabled

func (i *ICoreWebView2Settings) GetIsScriptEnabled() (bool, error)

func (*ICoreWebView2Settings) GetIsStatusBarEnabled

func (i *ICoreWebView2Settings) GetIsStatusBarEnabled() (bool, error)

func (*ICoreWebView2Settings) GetIsWebMessageEnabled

func (i *ICoreWebView2Settings) GetIsWebMessageEnabled() (bool, error)

func (*ICoreWebView2Settings) GetIsZoomControlEnabled

func (i *ICoreWebView2Settings) GetIsZoomControlEnabled() (bool, error)

func (*ICoreWebView2Settings) PutAreDefaultContextMenusEnabled

func (i *ICoreWebView2Settings) PutAreDefaultContextMenusEnabled(enabled bool) error

func (*ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled

func (i *ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error

func (*ICoreWebView2Settings) PutAreDevToolsEnabled

func (i *ICoreWebView2Settings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error

func (*ICoreWebView2Settings) PutAreHostObjectsAllowed

func (i *ICoreWebView2Settings) PutAreHostObjectsAllowed(allowed bool) error

func (*ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled

func (i *ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled(enabled bool) error

func (*ICoreWebView2Settings) PutIsScriptEnabled

func (i *ICoreWebView2Settings) PutIsScriptEnabled(isScriptEnabled bool) error

func (*ICoreWebView2Settings) PutIsStatusBarEnabled

func (i *ICoreWebView2Settings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error

func (*ICoreWebView2Settings) PutIsWebMessageEnabled

func (i *ICoreWebView2Settings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error

func (*ICoreWebView2Settings) PutIsZoomControlEnabled

func (i *ICoreWebView2Settings) PutIsZoomControlEnabled(enabled bool) error

type ICoreWebView2Settings2

type ICoreWebView2Settings2 struct {
	Vtbl *ICoreWebView2Settings2Vtbl
}

func (*ICoreWebView2Settings2) AddRef

func (i *ICoreWebView2Settings2) AddRef() uintptr

func (*ICoreWebView2Settings2) GetUserAgent

func (i *ICoreWebView2Settings2) GetUserAgent() (string, error)

func (*ICoreWebView2Settings2) PutUserAgent

func (i *ICoreWebView2Settings2) PutUserAgent(userAgent string) error

type ICoreWebView2Settings2Vtbl

type ICoreWebView2Settings2Vtbl struct {
	GetIsScriptEnabled                ComProc
	PutIsScriptEnabled                ComProc
	GetIsWebMessageEnabled            ComProc
	PutIsWebMessageEnabled            ComProc
	GetAreDefaultScriptDialogsEnabled ComProc
	PutAreDefaultScriptDialogsEnabled ComProc
	GetIsStatusBarEnabled             ComProc
	PutIsStatusBarEnabled             ComProc
	GetAreDevToolsEnabled             ComProc
	PutAreDevToolsEnabled             ComProc
	GetAreDefaultContextMenusEnabled  ComProc
	PutAreDefaultContextMenusEnabled  ComProc
	GetAreHostObjectsAllowed          ComProc
	PutAreHostObjectsAllowed          ComProc
	GetIsZoomControlEnabled           ComProc
	PutIsZoomControlEnabled           ComProc
	GetIsBuiltInErrorPageEnabled      ComProc
	PutIsBuiltInErrorPageEnabled      ComProc
	GetUserAgent                      ComProc
	PutUserAgent                      ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Settings3

type ICoreWebView2Settings3 struct {
	Vtbl *ICoreWebView2Settings3Vtbl
}

func (*ICoreWebView2Settings3) AddRef

func (i *ICoreWebView2Settings3) AddRef() uintptr

func (*ICoreWebView2Settings3) GetAreBrowserAcceleratorKeysEnabled

func (i *ICoreWebView2Settings3) GetAreBrowserAcceleratorKeysEnabled() (bool, error)

func (*ICoreWebView2Settings3) PutAreBrowserAcceleratorKeysEnabled

func (i *ICoreWebView2Settings3) PutAreBrowserAcceleratorKeysEnabled(areBrowserAcceleratorKeysEnabled bool) error

type ICoreWebView2Settings3Vtbl

type ICoreWebView2Settings3Vtbl struct {
	GetIsScriptEnabled                  ComProc
	PutIsScriptEnabled                  ComProc
	GetIsWebMessageEnabled              ComProc
	PutIsWebMessageEnabled              ComProc
	GetAreDefaultScriptDialogsEnabled   ComProc
	PutAreDefaultScriptDialogsEnabled   ComProc
	GetIsStatusBarEnabled               ComProc
	PutIsStatusBarEnabled               ComProc
	GetAreDevToolsEnabled               ComProc
	PutAreDevToolsEnabled               ComProc
	GetAreDefaultContextMenusEnabled    ComProc
	PutAreDefaultContextMenusEnabled    ComProc
	GetAreHostObjectsAllowed            ComProc
	PutAreHostObjectsAllowed            ComProc
	GetIsZoomControlEnabled             ComProc
	PutIsZoomControlEnabled             ComProc
	GetIsBuiltInErrorPageEnabled        ComProc
	PutIsBuiltInErrorPageEnabled        ComProc
	GetUserAgent                        ComProc
	PutUserAgent                        ComProc
	GetAreBrowserAcceleratorKeysEnabled ComProc
	PutAreBrowserAcceleratorKeysEnabled ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Settings4

type ICoreWebView2Settings4 struct {
	Vtbl *ICoreWebView2Settings4Vtbl
}

func (*ICoreWebView2Settings4) AddRef

func (i *ICoreWebView2Settings4) AddRef() uintptr

func (*ICoreWebView2Settings4) GetIsGeneralAutofillEnabled

func (i *ICoreWebView2Settings4) GetIsGeneralAutofillEnabled() (bool, error)

func (*ICoreWebView2Settings4) GetIsPasswordAutosaveEnabled

func (i *ICoreWebView2Settings4) GetIsPasswordAutosaveEnabled() (bool, error)

func (*ICoreWebView2Settings4) PutIsGeneralAutofillEnabled

func (i *ICoreWebView2Settings4) PutIsGeneralAutofillEnabled(value bool) error

func (*ICoreWebView2Settings4) PutIsPasswordAutosaveEnabled

func (i *ICoreWebView2Settings4) PutIsPasswordAutosaveEnabled(value bool) error

PutIsPasswordAutosaveEnabled sets the IsPasswordAutosaveEnabled property. The default value is `FALSE`.

type ICoreWebView2Settings4Vtbl

type ICoreWebView2Settings4Vtbl struct {
	GetIsScriptEnabled                  ComProc
	PutIsScriptEnabled                  ComProc
	GetIsWebMessageEnabled              ComProc
	PutIsWebMessageEnabled              ComProc
	GetAreDefaultScriptDialogsEnabled   ComProc
	PutAreDefaultScriptDialogsEnabled   ComProc
	GetIsStatusBarEnabled               ComProc
	PutIsStatusBarEnabled               ComProc
	GetAreDevToolsEnabled               ComProc
	PutAreDevToolsEnabled               ComProc
	GetAreDefaultContextMenusEnabled    ComProc
	PutAreDefaultContextMenusEnabled    ComProc
	GetAreHostObjectsAllowed            ComProc
	PutAreHostObjectsAllowed            ComProc
	GetIsZoomControlEnabled             ComProc
	PutIsZoomControlEnabled             ComProc
	GetIsBuiltInErrorPageEnabled        ComProc
	PutIsBuiltInErrorPageEnabled        ComProc
	GetUserAgent                        ComProc
	PutUserAgent                        ComProc
	GetAreBrowserAcceleratorKeysEnabled ComProc
	PutAreBrowserAcceleratorKeysEnabled ComProc
	GetIsPasswordAutosaveEnabled        ComProc
	PutIsPasswordAutosaveEnabled        ComProc
	GetIsGeneralAutofillEnabled         ComProc
	PutIsGeneralAutofillEnabled         ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Settings5

type ICoreWebView2Settings5 struct {
	Vtbl *ICoreWebView2Settings5Vtbl
}

func (*ICoreWebView2Settings5) AddRef

func (i *ICoreWebView2Settings5) AddRef() uintptr

func (*ICoreWebView2Settings5) GetIsPinchZoomEnabled

func (i *ICoreWebView2Settings5) GetIsPinchZoomEnabled() (bool, error)

func (*ICoreWebView2Settings5) PutIsPinchZoomEnabled

func (i *ICoreWebView2Settings5) PutIsPinchZoomEnabled(enabled bool) error

type ICoreWebView2Settings5Vtbl

type ICoreWebView2Settings5Vtbl struct {
	GetIsScriptEnabled                  ComProc
	PutIsScriptEnabled                  ComProc
	GetIsWebMessageEnabled              ComProc
	PutIsWebMessageEnabled              ComProc
	GetAreDefaultScriptDialogsEnabled   ComProc
	PutAreDefaultScriptDialogsEnabled   ComProc
	GetIsStatusBarEnabled               ComProc
	PutIsStatusBarEnabled               ComProc
	GetAreDevToolsEnabled               ComProc
	PutAreDevToolsEnabled               ComProc
	GetAreDefaultContextMenusEnabled    ComProc
	PutAreDefaultContextMenusEnabled    ComProc
	GetAreHostObjectsAllowed            ComProc
	PutAreHostObjectsAllowed            ComProc
	GetIsZoomControlEnabled             ComProc
	PutIsZoomControlEnabled             ComProc
	GetIsBuiltInErrorPageEnabled        ComProc
	PutIsBuiltInErrorPageEnabled        ComProc
	GetUserAgent                        ComProc
	PutUserAgent                        ComProc
	GetAreBrowserAcceleratorKeysEnabled ComProc
	PutAreBrowserAcceleratorKeysEnabled ComProc
	GetIsPasswordAutosaveEnabled        ComProc
	PutIsPasswordAutosaveEnabled        ComProc
	GetIsGeneralAutofillEnabled         ComProc
	PutIsGeneralAutofillEnabled         ComProc
	GetIsPinchZoomEnabled               ComProc
	PutIsPinchZoomEnabled               ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2Settings6

type ICoreWebView2Settings6 struct {
	Vtbl *ICoreWebView2Settings6Vtbl
}

func (*ICoreWebView2Settings6) AddRef

func (i *ICoreWebView2Settings6) AddRef() uintptr

func (*ICoreWebView2Settings6) GetIsSwipeNavigationEnabled

func (i *ICoreWebView2Settings6) GetIsSwipeNavigationEnabled() (bool, error)

func (*ICoreWebView2Settings6) PutIsSwipeNavigationEnabled

func (i *ICoreWebView2Settings6) PutIsSwipeNavigationEnabled(enabled bool) error

type ICoreWebView2Settings6Vtbl

type ICoreWebView2Settings6Vtbl struct {
	GetIsScriptEnabled                  ComProc
	PutIsScriptEnabled                  ComProc
	GetIsWebMessageEnabled              ComProc
	PutIsWebMessageEnabled              ComProc
	GetAreDefaultScriptDialogsEnabled   ComProc
	PutAreDefaultScriptDialogsEnabled   ComProc
	GetIsStatusBarEnabled               ComProc
	PutIsStatusBarEnabled               ComProc
	GetAreDevToolsEnabled               ComProc
	PutAreDevToolsEnabled               ComProc
	GetAreDefaultContextMenusEnabled    ComProc
	PutAreDefaultContextMenusEnabled    ComProc
	GetAreHostObjectsAllowed            ComProc
	PutAreHostObjectsAllowed            ComProc
	GetIsZoomControlEnabled             ComProc
	PutIsZoomControlEnabled             ComProc
	GetIsBuiltInErrorPageEnabled        ComProc
	PutIsBuiltInErrorPageEnabled        ComProc
	GetUserAgent                        ComProc
	PutUserAgent                        ComProc
	GetAreBrowserAcceleratorKeysEnabled ComProc
	PutAreBrowserAcceleratorKeysEnabled ComProc
	GetIsPasswordAutosaveEnabled        ComProc
	PutIsPasswordAutosaveEnabled        ComProc
	GetIsGeneralAutofillEnabled         ComProc
	PutIsGeneralAutofillEnabled         ComProc
	GetIsPinchZoomEnabled               ComProc
	PutIsPinchZoomEnabled               ComProc
	GetIsSwipeNavigationEnabled         ComProc
	PutIsSwipeNavigationEnabled         ComProc
	// contains filtered or unexported fields
}

type ICoreWebView2WebMessageReceivedEventArgs

type ICoreWebView2WebMessageReceivedEventArgs struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2WebMessageReceivedEventArgs) GetAdditionalObjects

func (*ICoreWebView2WebMessageReceivedEventArgs) GetSource

func (*ICoreWebView2WebMessageReceivedEventArgs) TryGetWebMessageAsString

func (i *ICoreWebView2WebMessageReceivedEventArgs) TryGetWebMessageAsString() (string, error)

type ICoreWebView2WebResourceRequest

type ICoreWebView2WebResourceRequest struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2WebResourceRequest) AddRef

func (*ICoreWebView2WebResourceRequest) GetContent

func (i *ICoreWebView2WebResourceRequest) GetContent() (*IStream, error)

GetContent returns the body of the request. Returns nil if there's no body. Make sure to call Release on the returned IStream after finished using it.

func (*ICoreWebView2WebResourceRequest) GetHeaders

GetHeaders returns the mutable HTTP request headers. Make sure to call Release on the returned Object after finished using it.

func (*ICoreWebView2WebResourceRequest) GetMethod

func (i *ICoreWebView2WebResourceRequest) GetMethod() (string, error)

func (*ICoreWebView2WebResourceRequest) GetUri

func (*ICoreWebView2WebResourceRequest) Release

type ICoreWebView2WebResourceRequestedEventArgs

type ICoreWebView2WebResourceRequestedEventArgs struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2WebResourceRequestedEventArgs) AddRef

func (*ICoreWebView2WebResourceRequestedEventArgs) GetDeferral

func (*ICoreWebView2WebResourceRequestedEventArgs) GetRequest

func (*ICoreWebView2WebResourceRequestedEventArgs) PutResponse

func (*ICoreWebView2WebResourceRequestedEventArgs) Release

type ICoreWebView2WebResourceResponse

type ICoreWebView2WebResourceResponse struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2WebResourceResponse) AddRef

func (*ICoreWebView2WebResourceResponse) GetHeaders

GetHeaders returns the mutable HTTP request headers. Make sure to call Release on the returned Object after finished using it.

func (*ICoreWebView2WebResourceResponse) PutByteContent

func (i *ICoreWebView2WebResourceResponse) PutByteContent(content []byte) error

func (*ICoreWebView2WebResourceResponse) PutContent

func (i *ICoreWebView2WebResourceResponse) PutContent(content *IStream) error

func (*ICoreWebView2WebResourceResponse) PutStatusCode

func (i *ICoreWebView2WebResourceResponse) PutStatusCode(statusCode int) error

func (*ICoreWebView2WebResourceResponse) Release

type ICoreWebView2_2

type ICoreWebView2_2 struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2_2) AddRef

func (i *ICoreWebView2_2) AddRef() uint32

AddRef increments the reference count of the ICoreWebView2_2 interface

func (*ICoreWebView2_2) GetCookieManager

func (i *ICoreWebView2_2) GetCookieManager() (*ICoreWebView2CookieManager, error)

func (*ICoreWebView2_2) Release

func (i *ICoreWebView2_2) Release() uint32

Release decrements the reference count of the ICoreWebView2_2 interface

type ICoreWebView2_3

type ICoreWebView2_3 struct {
	// contains filtered or unexported fields
}

func (*ICoreWebView2_3) AddRef

func (i *ICoreWebView2_3) AddRef() uint32

func (*ICoreWebView2_3) Release

func (i *ICoreWebView2_3) Release() uint32

func (*ICoreWebView2_3) SetVirtualHostNameToFolderMapping

func (i *ICoreWebView2_3) SetVirtualHostNameToFolderMapping(hostName, folderPath string, accessKind COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND) error

type ICoreWebViewSettings

type ICoreWebViewSettings struct {
	// contains filtered or unexported fields
}

func (*ICoreWebViewSettings) AddRef

func (i *ICoreWebViewSettings) AddRef() uint32

func (*ICoreWebViewSettings) GetAreBrowserAcceleratorKeysEnabled

func (i *ICoreWebViewSettings) GetAreBrowserAcceleratorKeysEnabled() (bool, error)

func (*ICoreWebViewSettings) GetAreDefaultContextMenusEnabled

func (i *ICoreWebViewSettings) GetAreDefaultContextMenusEnabled() (bool, error)

func (*ICoreWebViewSettings) GetAreDefaultScriptDialogsEnabled

func (i *ICoreWebViewSettings) GetAreDefaultScriptDialogsEnabled() (bool, error)

func (*ICoreWebViewSettings) GetAreDevToolsEnabled

func (i *ICoreWebViewSettings) GetAreDevToolsEnabled() (bool, error)

func (*ICoreWebViewSettings) GetAreHostObjectsAllowed

func (i *ICoreWebViewSettings) GetAreHostObjectsAllowed() (bool, error)

func (*ICoreWebViewSettings) GetICoreWebView2Settings2

func (i *ICoreWebViewSettings) GetICoreWebView2Settings2() *ICoreWebView2Settings2

func (*ICoreWebViewSettings) GetICoreWebView2Settings3

func (i *ICoreWebViewSettings) GetICoreWebView2Settings3() *ICoreWebView2Settings3

func (*ICoreWebViewSettings) GetICoreWebView2Settings4

func (i *ICoreWebViewSettings) GetICoreWebView2Settings4() *ICoreWebView2Settings4

func (*ICoreWebViewSettings) GetICoreWebView2Settings5

func (i *ICoreWebViewSettings) GetICoreWebView2Settings5() *ICoreWebView2Settings5

func (*ICoreWebViewSettings) GetICoreWebView2Settings6

func (i *ICoreWebViewSettings) GetICoreWebView2Settings6() *ICoreWebView2Settings6

func (*ICoreWebViewSettings) GetIsBuiltInErrorPageEnabled

func (i *ICoreWebViewSettings) GetIsBuiltInErrorPageEnabled() (bool, error)

func (*ICoreWebViewSettings) GetIsPinchZoomEnabled

func (i *ICoreWebViewSettings) GetIsPinchZoomEnabled() (bool, error)

func (*ICoreWebViewSettings) GetIsScriptEnabled

func (i *ICoreWebViewSettings) GetIsScriptEnabled() (bool, error)

func (*ICoreWebViewSettings) GetIsStatusBarEnabled

func (i *ICoreWebViewSettings) GetIsStatusBarEnabled() (bool, error)

func (*ICoreWebViewSettings) GetIsSwipeNavigationEnabled

func (i *ICoreWebViewSettings) GetIsSwipeNavigationEnabled() (bool, error)

func (*ICoreWebViewSettings) GetIsWebMessageEnabled

func (i *ICoreWebViewSettings) GetIsWebMessageEnabled() (bool, error)

func (*ICoreWebViewSettings) GetIsZoomControlEnabled

func (i *ICoreWebViewSettings) GetIsZoomControlEnabled() (bool, error)

func (*ICoreWebViewSettings) GetUserAgent

func (i *ICoreWebViewSettings) GetUserAgent() (string, error)

func (*ICoreWebViewSettings) PutAreBrowserAcceleratorKeysEnabled

func (i *ICoreWebViewSettings) PutAreBrowserAcceleratorKeysEnabled(enabled bool) error

func (*ICoreWebViewSettings) PutAreDefaultContextMenusEnabled

func (i *ICoreWebViewSettings) PutAreDefaultContextMenusEnabled(enabled bool) error

func (*ICoreWebViewSettings) PutAreDefaultScriptDialogsEnabled

func (i *ICoreWebViewSettings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error

func (*ICoreWebViewSettings) PutAreDevToolsEnabled

func (i *ICoreWebViewSettings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error

func (*ICoreWebViewSettings) PutAreHostObjectsAllowed

func (i *ICoreWebViewSettings) PutAreHostObjectsAllowed(allowed bool) error

func (*ICoreWebViewSettings) PutIsBuiltInErrorPageEnabled

func (i *ICoreWebViewSettings) PutIsBuiltInErrorPageEnabled(enabled bool) error

func (*ICoreWebViewSettings) PutIsPinchZoomEnabled

func (i *ICoreWebViewSettings) PutIsPinchZoomEnabled(enabled bool) error

func (*ICoreWebViewSettings) PutIsScriptEnabled

func (i *ICoreWebViewSettings) PutIsScriptEnabled(isScriptEnabled bool) error

func (*ICoreWebViewSettings) PutIsStatusBarEnabled

func (i *ICoreWebViewSettings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error

func (*ICoreWebViewSettings) PutIsSwipeNavigationEnabled

func (i *ICoreWebViewSettings) PutIsSwipeNavigationEnabled(enabled bool) error

func (*ICoreWebViewSettings) PutIsWebMessageEnabled

func (i *ICoreWebViewSettings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error

func (*ICoreWebViewSettings) PutIsZoomControlEnabled

func (i *ICoreWebViewSettings) PutIsZoomControlEnabled(enabled bool) error

func (*ICoreWebViewSettings) PutUserAgent

func (i *ICoreWebViewSettings) PutUserAgent(userAgent string) error

func (*ICoreWebViewSettings) Release

func (i *ICoreWebViewSettings) Release() uint32

type IDataObject

type IDataObject struct {
	IUnknown
}

type IStream

type IStream struct {
	// contains filtered or unexported fields
}

func (*IStream) AddRef

func (i *IStream) AddRef() error

func (*IStream) Read

func (i *IStream) Read(p []byte) (int, error)

func (*IStream) Release

func (i *IStream) Release() error

type IUnknown

type IUnknown struct {
	Vtbl *IUnknownVtbl
}

IUnknown

type IUnknownImpl

type IUnknownImpl interface {
	QueryInterface(refiid, object uintptr) uintptr
	AddRef() uintptr
	Release() uintptr
}

type IUnknownVtbl

type IUnknownVtbl struct {
	QueryInterface ComProc
	AddRef         ComProc
	Release        ComProc
}

func (*IUnknownVtbl) CallRelease

func (i *IUnknownVtbl) CallRelease(this unsafe.Pointer) uint32

type POINT

type POINT struct {
	X, Y int32
}

type RECT

type RECT struct {
	Left   int32
	Top    int32
	Right  int32
	Bottom int32
}

type Rect

type Rect = w32.Rect

type VARIANT

type VARIANT uintptr

NOTE: For sure, this is wrong!

type Version

type Version struct {
	SDKVersion     string
	ReleaseNotes   string
	RuntimeVersion string
	Notes          string
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL