windows: remove mention of LazyDLL with System "true"

Addressing the review comment.
This commit is contained in:
Sebastiaan van Stijn
2024-12-24 21:37:55 +01:00
parent 27e91d8823
commit 1fe36ed335

View File

@@ -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 {