code: func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
  	syscall.Syscall6(gpGetSynciv, 5, uintptr(sync), uintptr(pname), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(values)), 0)
  }
docs: // query the properties of a sync object