From 1fe36ed335f040797ae2c778188e40c29604f135 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 24 Dec 2024 21:37:55 +0100 Subject: [PATCH] windows: remove mention of LazyDLL with System "true" Addressing the review comment. --- windows/dll_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/dll_windows.go b/windows/dll_windows.go index 7cdb29a8..aa018d97 100644 --- a/windows/dll_windows.go +++ b/windows/dll_windows.go @@ -44,7 +44,7 @@ type DLL struct { // // Warning: using LoadDLL without an absolute path name is subject to // DLL preloading attacks. To safely load a system DLL, use [NewLazySystemDLL], -// [LazyDLL] with System set to true, or use [LoadLibraryEx] directly. +// or use [LoadLibraryEx] directly. func LoadDLL(name string) (dll *DLL, err error) { namep, err := UTF16PtrFromString(name) if err != nil {