Added the GetConsoleWindow function.
This commit is contained in:
parent
aa0d04b094
commit
d6da6ca598
@ -6,6 +6,9 @@ internal static partial class Kernel32
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
public static partial bool GetConsoleScreenBufferInfo(nint hConsoleOutput, out ConsoleScreenBufferInfo lpConsoleScreenBufferInfo);
|
||||
|
||||
[LibraryImport("kernel32.dll", SetLastError = true)]
|
||||
public static partial nint GetConsoleWindow();
|
||||
|
||||
[LibraryImport("kernel32.dll", SetLastError = true)]
|
||||
public static partial uint GetFinalPathNameByHandleA(nint hFile, [MarshalAs(UnmanagedType.LPTStr)] string lpszFilePath,
|
||||
uint cchFilePath, uint dwFlags);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user