win32

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	HwndDesktop = windows.Handle(0)
)

Variables

This section is empty.

Functions

func ShellExecute

func ShellExecute(hwnd windows.Handle, verb, file, parameters, directory string, showCmd int) error

func ShellExecuteAsAdmin

func ShellExecuteAsAdmin(reason string, hwnd windows.Handle, file, parameters, directory string, showCmd int) error

Uses "runas" as verb to execute as Elevated privileges

Types

This section is empty.

Jump to

Keyboard shortcuts

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