v1.16.0
ADDED: * Dummy implementation for IDState on Windows
This commit is contained in:
13
funcs_windows.go
Normal file
13
funcs_windows.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user