first commit

This commit is contained in:
2025-08-22 17:42:23 -04:00
commit a6c09a5890
120 changed files with 11443 additions and 0 deletions

View File

@ -0,0 +1,22 @@
const GUID{{.Name}} string = "{{.GUID}}"
const Signature{{.Name}} string = "{{.Signature}}"
type {{.Name}} struct {
ole.IInspectable
}
type {{.Name}}Vtbl struct {
ole.IInspectableVtbl
{{range .Funcs}}
{{funcName .}} uintptr
{{- end}}
}
func (v *{{.Name}}) VTable() *{{.Name}}Vtbl {
return (*{{.Name}}Vtbl)(unsafe.Pointer(v.RawVTable))
}
{{range .Funcs}}
{{template "func.tmpl" .}}
{{end}}