diff --git a/windows/dll_windows.go b/windows/dll_windows.go index 82076fb7..9cd147b7 100644 --- a/windows/dll_windows.go +++ b/windows/dll_windows.go @@ -32,6 +32,8 @@ type DLLError struct { func (e *DLLError) Error() string { return e.Msg } +func (e *DLLError) Unwrap() error { return e.Err } + // A DLL implements access to a single DLL. type DLL struct { Name string