win32

package
v2.44.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

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

Variables

This section is empty.

Functions

func DomainJoined

func DomainJoined() bool

func ShellExecute

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

func ShellExecuteAsAdmin

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

Uses "runas" as verb to execute as Elevated privileges

Types

type Win32_ComputerSystem

type Win32_ComputerSystem struct {
	Partofdomain bool
}

nolint

Jump to

Keyboard shortcuts

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