vendor dependencies using govendor, fixes #16

This commit is contained in:
Martin Lindhe
2016-09-01 15:57:51 +02:00
parent b203702cad
commit e4fc3bda11
140 changed files with 25874 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// +build windows
package ole
import (
"syscall"
"unsafe"
)
func getClassInfo(disp *IProvideClassInfo) (tinfo *ITypeInfo, err error) {
hr, _, _ := syscall.Syscall(
disp.VTable().GetClassInfo,
2,
uintptr(unsafe.Pointer(disp)),
uintptr(unsafe.Pointer(&tinfo)),
0)
if hr != 0 {
err = NewError(hr)
}
return
}