From 296e5ff2ecebcc8b68e9180223294d821795f8ac Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 25 Aug 2024 22:12:09 +0900 Subject: [PATCH] purego: mention LoadLibraryEx at Dlopen Updates #273 --- dlfcn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlfcn.go b/dlfcn.go index 87ddd6f2..f70a2458 100644 --- a/dlfcn.go +++ b/dlfcn.go @@ -35,8 +35,8 @@ func init() { // Dlopen calls should be balanced with a Dlclose call. // // This function is not available on Windows. -// Use [golang.org/x/sys/windows.LoadLibrary], [golang.org/x/sys/windows.NewLazyDLL], or -// [golang.org/x/sys/windows.NewLazySystemDLL] for Windows instead. +// Use [golang.org/x/sys/windows.LoadLibrary], [golang.org/x/sys/windows.LoadLibraryEx], +// [golang.org/x/sys/windows.NewLazyDLL], or [golang.org/x/sys/windows.NewLazySystemDLL] for Windows instead. func Dlopen(path string, mode int) (uintptr, error) { u := fnDlopen(path, mode) if u == 0 {