windowstation

package
v0.0.0-...-4688182 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

package windowstation implements win32 "window station" functions that don't seem to exist in other libraries see https://msdn.microsoft.com/en-us/library/windows/desktop/ms687107(v=vs.85).aspx

Index

Constants

View Source
const (
	WinStaEnumDesktops    = 1
	WinStaReadAttributes  = 2
	WinStaWriteAttributes = 0x10
	WinStaEnumerate       = 0x100
	WinStaReadScreen      = 0x200
	WinStaAllAccess       = 0x37f
	ReadControl           = 0x00020000
	WriteDAC              = 0x00040000

	GenericReadInteractive = syscall.STANDARD_RIGHTS_READ | WinStaEnumDesktops | WinStaEnumerate | WinStaReadAttributes | WinStaReadScreen
)

Window Station Security and Access Rights - see https://msdn.microsoft.com/en-gb/library/windows/desktop/ms687391(v=vs.85).aspx

Variables

This section is empty.

Functions

func OpenWindowStation

func OpenWindowStation(winSta string, inherit bool, desiredAccess uint32) (syscall.Handle, error)

OpenWindowStation invokes the win32 function See https://msdn.microsoft.com/en-us/library/windows/desktop/ms684339(v=vs.85).aspx

Types

This section is empty.

Jump to

Keyboard shortcuts

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