Skip to content

Commit

Permalink
specify DLL search path for GetStdHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed Dec 21, 2023
1 parent 3cbf689 commit e986145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Bullseye/Internal/NativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public enum StdHandle
public static extern IntPtr GetStdHandle(StdHandle nStdHandle);
#else
[LibraryImport("kernel32.dll", SetLastError = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static partial nint GetStdHandle(StdHandle nStdHandle);
#endif

Expand Down

0 comments on commit e986145

Please sign in to comment.