win

package
v0.0.0-...-1cfdf4e Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcList [4096]uintptr

Keep list of managed foreign function addresses

Functions

func Invoke

func Invoke(proc uintptr, args ...uintptr) (ret uintptr)

Simplified wrapper for syscall.SyscallN

func LazyLoad

func LazyLoad(str string) (dll *syscall.LazyDLL)

Function to lazily load a DLL

func LazyProc

func LazyProc(dll *syscall.LazyDLL, str string) (procAddr uintptr)

Function to find a foreign function within a lazily loaded DLL

func Load

func Load(str string) (dll *syscall.DLL)

Function to eagerly load a managed DLL

func MLazyLoadProc

func MLazyLoadProc(dllStr string, index int, procStr string) (dll *syscall.LazyDLL)

Function to lazily load a DLL, and find and manage a foreign function within it

func MLazyLoadProcs

func MLazyLoadProcs(str string, index int, strs []string) (dll *syscall.LazyDLL)

Function to lazily load a DLL, and find and manage a list of foreign functions within it

func MLazyProc

func MLazyProc(dll *syscall.LazyDLL, index int, str string)

Function to find and manage a foreign function within a lazily loaded DLL

func MLazyProcs

func MLazyProcs(dll *syscall.LazyDLL, index int, strs []string)

Function to find and manage a list of foreign functions within a lazily loaded DLL

func MProc

func MProc(dll *syscall.DLL, index int, str string)

Function to find and manage a foreign function within an eagerly loaded DLL

func MProcs

func MProcs(dll *syscall.DLL, index int, strs []string)

Function to find and manage a list of foreign functions within an eagerly loaded DLL

func Proc

func Proc(dll *syscall.DLL, str string) (procAddr uintptr)

Function to find a foreign function within an eagerly loaded DLL

func ReleaseAll

func ReleaseAll()

Function to release all managed eagerly loaded DLLs

func UMLoad

func UMLoad(str string) (dll *syscall.DLL)

Function to eagerly load an unmanaged DLL

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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