Added interop types for GetConsoleScreenBufferInfo
This commit is contained in:
parent
2f5214d3b2
commit
e9b915dec5
@ -2,10 +2,14 @@
|
||||
|
||||
internal static partial class Kernel32
|
||||
{
|
||||
[LibraryImport("kernel32.dll", SetLastError = true)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
public static partial bool GetConsoleScreenBufferInfo(nint hConsoleOutput);
|
||||
|
||||
[LibraryImport("kernel32.dll", SetLastError = true)]
|
||||
public static partial uint GetFinalPathNameByHandleA(nint hFile, [MarshalAs(UnmanagedType.LPTStr)] string lpszFilePath,
|
||||
uint cchFilePath, uint dwFlags);
|
||||
|
||||
[LibraryImport("kernel32.dll")]
|
||||
[LibraryImport("kernel32.dll", SetLastError = true)]
|
||||
public static partial nuint GlobalSize(nint hPtr);
|
||||
}
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
namespace SrcMod.Shell.Interop.ObjectModels;
|
||||
|
||||
internal struct ConsoleScreenBufferInfo
|
||||
{
|
||||
|
||||
}
|
||||
6
SrcMod/Shell/Interop/ObjectModels/Coord.cs
Normal file
6
SrcMod/Shell/Interop/ObjectModels/Coord.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace SrcMod.Shell.Interop.ObjectModels;
|
||||
|
||||
internal struct Coord
|
||||
{
|
||||
|
||||
}
|
||||
6
SrcMod/Shell/Interop/ObjectModels/SmallRect.cs
Normal file
6
SrcMod/Shell/Interop/ObjectModels/SmallRect.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace SrcMod.Shell.Interop.ObjectModels;
|
||||
|
||||
internal struct SmallRect
|
||||
{
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user