shell

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEnvironment

func CreateEnvironment(hUser syscall.Token) ([]string, error)

CreateEnvironment returns a slice of environment variables for the user in the specified token

func CreateEnvironmentBlock

func CreateEnvironmentBlock(
	lpEnvironment *uintptr,
	hToken syscall.Token,
	bInherit bool,
) (err error)

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

func DestroyEnvironmentBlock

func DestroyEnvironmentBlock(
	lpEnvironment uintptr,
) (err error)

DestroyEnvironmentBlock - see https://msdn.microsoft.com/en-us/library/windows/desktop/bb762274(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