Skip to content

Commit

Permalink
Merge pull request #923 from adamralph/dll-search-path
Browse files Browse the repository at this point in the history
specify DLL search path for GetStdHandle
  • Loading branch information
adamralph committed Dec 21, 2023
2 parents 3cbf689 + e986145 commit f208efa
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 f208efa

Please sign in to comment.