lockstate

package
v0.0.0-...-51074a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value uint32

Value identifies the lock state of a windows session.

const (
	Locked   Value = 0          // WTS_SESSIONSTATE_LOCK
	Unlocked Value = 1          // WTS_SESSIONSTATE_UNLOCK
	Unknown  Value = 4294967295 // WTS_SESSIONSTATE_UNKNOWN
)

Windows session lock states.

https://docs.microsoft.com/en-us/windows/win32/api/wtsapi32/ns-wtsapi32-wtsinfoex_level1_w

func (Value) String

func (v Value) String() string

String returns a string representation of the lock state.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL