package sysdll
import "internal/syscall/windows/sysdll"
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 ¶
Variables ¶
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 ¶
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.
Source Files ¶
- Version
- v1.7.5
- Published
- Jan 26, 2017
- Platform
- linux/amd64
- Last checked
- 40 seconds ago –
Tools for package owners.