ADDED:
* Dummy implementation for IDState on Windows
This commit is contained in:
brent saner
2026-01-28 15:27:13 -05:00
parent 1130fb028d
commit ed44eb6230
10 changed files with 162 additions and 19 deletions

13
funcs_windows.go Normal file
View File

@@ -0,0 +1,13 @@
//go:build windows
package sysutils
// GetIDState returns current ID/elevation information. This is a NO-OP on Windows.
func GetIDState() (ids IDState) {
return
}
// GetIDStateProc is like GetIDState but for an arbitrary PID. This is a NO-OP on Windows.
func GetIDStateProc(pid uint32) (ids IDState, err error) {
return
}