connstate

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 a windows session connection state.

const (
	Active       Value = 0 // WTSActive
	Connected    Value = 1 // WTSConnected
	Connecting   Value = 2 // WTSConnectQuery
	Shadow       Value = 3 // WTSShadow
	Disconnected Value = 4 // WTSDisconnected
	Idle         Value = 5 // WTSIdle
	Listen       Value = 6 // WTSListen
	Reset        Value = 7 // WTSReset
	Down         Value = 8 // WTSDown
	Init         Value = 9 // WTSInit
)

Windows session connection states.

https://docs.microsoft.com/en-us/windows/win32/api/wtsapi32/ne-wtsapi32-wts_connectstate_class

func (Value) String

func (v Value) String() string

String returns a string representation of the connection state.

Jump to

Keyboard shortcuts

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