mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
fix(ffi): include forgotten generated files (#456)
This commit is contained in:
@@ -103,6 +103,14 @@ public partial class ConfigBuilder: IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
public uint KeyboardLayout
|
||||
{
|
||||
set
|
||||
{
|
||||
SetKeyboardLayout(value);
|
||||
}
|
||||
}
|
||||
|
||||
public uint KeyboardSubtype
|
||||
{
|
||||
set
|
||||
@@ -232,6 +240,18 @@ public partial class ConfigBuilder: IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
public void SetKeyboardLayout(uint keyboardLayout)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
if (_inner == null)
|
||||
{
|
||||
throw new ObjectDisposedException("ConfigBuilder");
|
||||
}
|
||||
Raw.ConfigBuilder.SetKeyboardLayout(_inner, keyboardLayout);
|
||||
}
|
||||
}
|
||||
|
||||
public void SetKeyboardType(KeyboardType keyboardType)
|
||||
{
|
||||
unsafe
|
||||
|
||||
@@ -31,6 +31,9 @@ public partial struct ConfigBuilder
|
||||
[DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConfigBuilder_set_enable_credssp", ExactSpelling = true)]
|
||||
public static unsafe extern void SetEnableCredssp(ConfigBuilder* self, [MarshalAs(UnmanagedType.U1)] bool enableCredssp);
|
||||
|
||||
[DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConfigBuilder_set_keyboard_layout", ExactSpelling = true)]
|
||||
public static unsafe extern void SetKeyboardLayout(ConfigBuilder* self, uint keyboardLayout);
|
||||
|
||||
[DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConfigBuilder_set_keyboard_type", ExactSpelling = true)]
|
||||
public static unsafe extern void SetKeyboardType(ConfigBuilder* self, KeyboardType keyboardType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user