From 24a023f4003468779c55fc410c0cc041420d734f Mon Sep 17 00:00:00 2001 From: KingKDot Date: Wed, 20 May 2026 15:37:19 -0500 Subject: [PATCH] add code for fixing compilation on mac and linux (oops) --- .../cmd/agent/capture/hvnc_stub.go | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Overlord-Client/cmd/agent/capture/hvnc_stub.go b/Overlord-Client/cmd/agent/capture/hvnc_stub.go index 69c9651..50da4ef 100644 --- a/Overlord-Client/cmd/agent/capture/hvnc_stub.go +++ b/Overlord-Client/cmd/agent/capture/hvnc_stub.go @@ -66,3 +66,30 @@ func HVNCAutoStartExplorer() error { func HVNCKillAll() error { return errors.New("HVNC not supported on this platform") } + +type HVNCWindowInfo struct { + HWND uintptr + Title string + X int + Y int + Width int + Height int + PID uint32 + ProcessName string + Monitor int + Visible bool +} + +type HVNCMonitorInfo struct { + Index int + Name string + X int + Y int + Width int + Height int + Primary bool +} + +func HVNCEnumWindows() ([]HVNCWindowInfo, []HVNCMonitorInfo) { + return nil, nil +}