fix(windows): make staticcheck happy

This commit is contained in:
Cuong Manh Le
2026-04-30 19:19:19 +07:00
committed by Cuong Manh Le
parent 0f2a930cf8
commit 2aaa78ef48
2 changed files with 3 additions and 60 deletions
-2
View File
@@ -14,9 +14,7 @@ import (
)
var (
kernel32 = windows.NewLazySystemDLL("kernel32.dll")
wtsapi32 = windows.NewLazySystemDLL("wtsapi32.dll")
procGetConsoleWindow = kernel32.NewProc("GetConsoleWindow")
procWTSGetActiveConsoleSessionId = wtsapi32.NewProc("WTSGetActiveConsoleSessionId")
procWTSQuerySessionInformation = wtsapi32.NewProc("WTSQuerySessionInformationW")
procWTSFreeMemory = wtsapi32.NewProc("WTSFreeMemory")