| 1 | //go:build windows |
| 2 | |
| 3 | package edge |
| 4 | |
| 5 | import ( |
| 6 | "unsafe" |
| 7 | ) |
| 8 | |
| 9 | type _ICoreWebView2NavigationCompletedEventArgsVtbl struct { |
| 10 | _IUnknownVtbl |
| 11 | GetIsSuccess ComProc |
| 12 | GetWebErrorStatus ComProc |
| 13 | GetNavigationId ComProc |
| 14 | } |
| 15 | |
| 16 | type ICoreWebView2NavigationCompletedEventArgs struct { |
| 17 | vtbl *_ICoreWebView2NavigationCompletedEventArgsVtbl |
| 18 | } |
| 19 | |
| 20 | func (i *ICoreWebView2NavigationCompletedEventArgs) AddRef() uint32 { |
| 21 | ret, _, _ := i.vtbl.AddRef.Call(uintptr(unsafe.Pointer(i))) |
| 22 | |
| 23 | return uint32(ret) |
| 24 | } |
| 25 | |
| 26 | func (i *ICoreWebView2NavigationCompletedEventArgs) Release() uint32 { |
| 27 | ret, _, _ := i.vtbl.Release.Call(uintptr(unsafe.Pointer(i))) |
| 28 | |
| 29 | return uint32(ret) |
| 30 | } |
| 31 |