func (obj *Query) AddRef() uint32 {
	ret, _, _ := syscall.Syscall(
		obj.vtbl.AddRef,
		1,
		uintptr(unsafe.Pointer(obj)),
		0,
		0,
	)
	return uint32(ret)
}
AddRef increments the reference count for an interface on an object. This
method should be called for every new copy of a pointer to an interface on an
object.
package d3d9
import (
	"syscall"
	"unsafe"
)
type Query struct {
	vtbl *queryVtbl
}
type queryVtbl struct {
	QueryInterface uintptr
	AddRef         uintptr
	Release        uintptr
	GetDevice   uintptr
	GetType     uintptr
	GetDataSize uintptr
	Issue       uintptr
	GetData     uintptr
}