cds

package
v0.0.0-...-c5af768 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
}

会话、Winstation、Desktop相关功能

func GetInstance

func GetInstance() *Session

func (Session) GetActiveConsoleSessionId

func (se Session) GetActiveConsoleSessionId() uint32

The session identifier of the session that is attached to the physical console. If there is no session attached to the physical console, (for example, if the physical console session is in the process of being attached or detached), this function returns 0xFFFFFFFF.

func (Session) GetSessionState

func (se Session) GetSessionState(dwSessionId uint32) win.WTS_CONNECTSTATE_CLASS

func (Session) IsLogon

func (se Session) IsLogon() bool

func (Session) QuerySessionTokenCDS

func (se Session) QuerySessionTokenCDS(sessionId uint32) windows.Handle

func (Session) QueryUserToken

func (se Session) QueryUserToken(sessionId uint32) windows.Handle

Jump to

Keyboard shortcuts

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