mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
19 lines
316 B
Go
19 lines
316 B
Go
package ole
|
|
|
|
import "unsafe"
|
|
|
|
type IInspectable struct {
|
|
IUnknown
|
|
}
|
|
|
|
type IInspectableVtbl struct {
|
|
IUnknownVtbl
|
|
GetIIds uintptr
|
|
GetRuntimeClassName uintptr
|
|
GetTrustLevel uintptr
|
|
}
|
|
|
|
func (v *IInspectable) VTable() *IInspectableVtbl {
|
|
return (*IInspectableVtbl)(unsafe.Pointer(v.RawVTable))
|
|
}
|