22 lines
423 B
Go
22 lines
423 B
Go
//go:build windows
|
|
|
|
package usbip
|
|
|
|
import "fmt"
|
|
|
|
func IsVHCIAvailable() bool {
|
|
return false
|
|
}
|
|
|
|
func FindFreePort(speed uint32) (int, error) {
|
|
return -1, fmt.Errorf("VHCI not supported on Windows")
|
|
}
|
|
|
|
func AttachDevice(port int, sockfd int, devID uint32, speed uint32) error {
|
|
return fmt.Errorf("VHCI not supported on Windows")
|
|
}
|
|
|
|
func DetachDevice(port int) error {
|
|
return fmt.Errorf("VHCI not supported on Windows")
|
|
}
|