2026-03-05 00:04:26 -06:00
|
|
|
//go:build !windows
|
|
|
|
|
|
|
|
|
|
package capture
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"errors"
|
|
|
|
|
"image"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func InitializeHVNCDesktop() error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func CleanupHVNCDesktop() {}
|
|
|
|
|
|
|
|
|
|
func SetHVNCCursorCapture(enabled bool) {}
|
|
|
|
|
|
2026-04-16 10:01:49 -05:00
|
|
|
func SetHVNCDXGIEnabled(enabled bool) {}
|
|
|
|
|
|
|
|
|
|
func GetHVNCDXGIEnabled() bool { return false }
|
|
|
|
|
|
2026-04-24 19:20:58 -05:00
|
|
|
func SetHVNCUIAEnabled(enabled bool) {}
|
|
|
|
|
|
|
|
|
|
func GetHVNCUIAEnabled() bool { return false }
|
|
|
|
|
|
2026-03-05 00:04:26 -06:00
|
|
|
func hvncCaptureDisplay(display int) (*image.RGBA, error) {
|
|
|
|
|
return nil, errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCMonitorCount() int {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-17 18:43:16 -05:00
|
|
|
func StartHVNCProcess(filePath string, operaPatch bool) error {
|
2026-03-05 00:04:26 -06:00
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCInputMouseMove(display int, x, y int32) error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCInputMouseDown(button int) error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCInputMouseUp(button int) error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCInputKeyDown(vk uint16) error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCInputKeyUp(vk uint16) error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func HVNCInputMouseWheel(delta int32) error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
2026-03-17 14:36:38 +01:00
|
|
|
|
|
|
|
|
func HVNCAutoStartExplorer() error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|
2026-04-24 09:53:28 -05:00
|
|
|
|
|
|
|
|
func HVNCKillAll() error {
|
|
|
|
|
return errors.New("HVNC not supported on this platform")
|
|
|
|
|
}
|