desktop

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 "desktop" 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 (
	CreateMenu      = 0x0004
	CreateWindow    = 0x0002
	Enumerate       = 0x0040
	HookControl     = 0x0008
	JournalPlayback = 0x0020
	JournalRecord   = 0x0010
	ReadObjects     = 0x0001
	SwitchDesktop   = 0x0100
	WriteObjects    = 0x0080

	Delete           = 0x00010000
	ReadPermissions  = 0x00020000
	WritePermissions = 0x00040000
	TakeOwnership    = 0x00080000
	Synchronize      = 0x00100000

	GenericRead = Enumerate | ReadObjects | syscall.STANDARD_RIGHTS_READ
	Write       = syscall.STANDARD_RIGHTS_WRITE | WriteObjects | CreateWindow | CreateMenu | HookControl | JournalRecord | JournalPlayback
	Execute     = syscall.STANDARD_RIGHTS_EXECUTE | SwitchDesktop

	AllAccess = syscall.STANDARD_RIGHTS_REQUIRED | ReadObjects | CreateWindow | CreateMenu | HookControl | JournalRecord | JournalPlayback | Enumerate | WriteObjects | SwitchDesktop
)

https://msdn.microsoft.com/en-us/library/windows/desktop/ms682575(v=vs.85).aspx

Variables

This section is empty.

Functions

func OpenDesktop

func OpenDesktop(desktop string, flags uint32, inherit bool, desiredAccess uint32) (syscall.Handle, error)

OpenDesktop invokes the win32 function See https://msdn.microsoft.com/en-us/library/windows/desktop/ms684303(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