func (machine* Machine) SetPointingHidType(
    pointingHidType PointingHidType) error {
  result := C.GoVboxSetMachinePointingHIDType(machine.cmachine,
      C.PRUint32(pointingHidType))
  if C.GoVboxFAILED(result) != 0 {
    return errors.New(
        fmt.Sprintf("Failed to set IMachine pointing HID type: %x", result))
  }
  return nil
}
SetPointingHidType changes the machine's emulated mouse type.
It returns a number and any error encountered.
package vbox
import "C"   
import (
  "errors"
  "fmt"
  "reflect"
  "unsafe"
)
type Machine struct {
  cmachine *C.IMachine
}
func (machine *Machine) GetName() (string, error) {
  var cname *C.char
  result := C.GoVboxGetMachineName(machine.cmachine, &cname)
  if C.GoVboxFAILED(result) != 0 || cname == nil {
    return "", errors.New(
        fmt.Sprintf("Failed to get IMachine name: %x", result))
  }
  name := C.GoString(cname)
  C.GoVboxUtf8Free(cname)
  return name, nil
}
func (machine *Machine) GetOsTypeId() (string, error) {
  var cosTypeId *C.char
  result := C.GoVboxGetMachineOSTypeId(machine.cmachine, &cosTypeId)
  if C.GoVboxFAILED(result) != 0 || cosTypeId == nil {
    return "", errors.New(
        fmt.Sprintf("Failed to get IMachine OS type ID: %x", result))
  }
  osTypeId := C.GoString(cosTypeId)
  C.GoVboxUtf8Free(cosTypeId)
  return osTypeId, nil
}
func (machine *Machine) GetSettingsFilePath() (string, error) {
  var cpath *C.char
  result := C.GoVboxGetMachineSettingsFilePath(machine.cmachine, &cpath)
  if C.GoVboxFAILED(result) != 0 || cpath == nil {
    return "", errors.New(
        fmt.Sprintf("Failed to get IMachine settings file path: %x", result))
  }
  path := C.GoString(cpath)
  C.GoVboxUtf8Free(cpath)
  return path, nil
}
func (machine *Machine) GetSettingsModified() (bool, error) {
  var cmodified C.PRBool
  result := C.GoVboxGetMachineSettingsModified(machine.cmachine, &cmodified)
  if C.GoVboxFAILED(result) != 0 {
    return false, errors.New(
        fmt.Sprintf("Failed to get IMachine modified flag: %x", result))
  }
  return cmodified != 0, nil
}
func (machine *Machine) SaveSettings() error {
  result := C.GoVboxMachineSaveSettings(machine.cmachine)
  if C.GoVboxFAILED(result) != 0 {
    return errors.New(
        fmt.Sprintf("Failed to save IMachine settings: %x", result))
  }
  return nil
}
func (machine* Machine) GetPointingHidType() (PointingHidType, error) {
  var ctype C.PRUint32
  result := C.GoVboxGetMachinePointingHIDType(machine.cmachine, &ctype)
  if C.GoVboxFAILED(result) != 0 {
    return 0, errors.New(
        fmt.Sprintf("Failed to get IMachine pointing HID type: %x", result))
  }
  return PointingHidType(ctype), nil
}