sysdll

package standard library
go1.19beta1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Rendered for windows/amd64

Overview

Package sysdll is an internal leaf package that records and reports which Windows DLL names are used by Go itself. These DLLs are then only loaded from the System32 directory. See Issue 14959.

Index

Constants

This section is empty.

Variables

View Source
var IsSystemDLL = map[string]bool{}

IsSystemDLL reports whether the named dll key (a base name, like "foo.dll") is a system DLL which should only be loaded from the Windows SYSTEM32 directory.

Filenames are case sensitive, but that doesn't matter because the case registered with Add is also the same case used with LoadDLL later.

It has no associated mutex and should only be mutated serially (currently: during init), and not concurrent with DLL loading.

Functions

func Add

func Add(dll string) string

Add notes that dll is a system32 DLL which should only be loaded from the Windows SYSTEM32 directory. It returns its argument back, for ease of use in generated code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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