Documentation
¶
Overview ¶
Package winuntil contains misc Windows/win32 helper functions.
Index ¶
Constants ¶
View Source
const RegBase = `SOFTWARE\Tailscale IPN`
Variables ¶
This section is empty.
Functions ¶
func GetDesktopPID ¶
GetDesktopPID searches the PID of the process that's running the currently active desktop and whether it was found. Usually the PID will be for explorer.exe.
func GetRegString ¶ added in v1.8.0
GetRegString looks up a registry path in our local machine path, or returns the given default if it can't.
This function will only work on GOOS=windows. Trying to run it on any other OS will always return the default value.
func WTSGetActiveConsoleSessionId ¶ added in v1.12.0
func WTSGetActiveConsoleSessionId() uint32
TODO(crawshaw): replace with x/sys/windows... one day. https://go-review.googlesource.com/c/sys/+/331909
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.