func (obj *VertexDeclaration) 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 VertexDeclaration struct {
	vtbl *vertexDeclarationVtbl
}
type vertexDeclarationVtbl struct {
	QueryInterface uintptr
	AddRef         uintptr
	Release        uintptr
	GetDevice      uintptr
	GetDeclaration uintptr
}