MCPcopy Create free account
hub / github.com/TideSec/GoBypassAV / ShowConsoleAsync

Function ShowConsoleAsync

HideWindow/main.go:5–13  ·  view source on GitHub ↗
(commandShow uintptr)

Source from the content-addressed store, hash-verified

3import "github.com/gonutz/ide/w32"
4
5func ShowConsoleAsync(commandShow uintptr) {
6 console := w32.GetConsoleWindow()
7 if console != 0 {
8 _, consoleProcID := w32.GetWindowThreadProcessId(console)
9 if w32.GetCurrentProcessId() == consoleProcID {
10 w32.ShowWindowAsync(console, commandShow)
11 }
12 }
13}
14
15func main() {
16 ShowConsoleAsync(w32.SW_HIDE)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected