Skip to content

Commit

Permalink
Update stub
Browse files Browse the repository at this point in the history
  • Loading branch information
FrayxRulez committed Oct 21, 2024
1 parent 3ab2976 commit bd83d8d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Telegram/Stub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,42 @@ public static Telegram.Native.Composition.WindowVisual Create_stub(Windows.UI.Wi
throw new RuntimeException(ex);
}
}
public static Windows.UI.WindowId GetCurrentWindowId_stub()
{
try
{
return Telegram.Native.Composition.WindowVisual.GetCurrentWindowId();
}
catch (Exception ex)
{
Logger.Error(Environment.StackTrace);
throw new RuntimeException(ex);
}
}
public static uint GetWindowProcessId_stub(Windows.UI.WindowId windowId)
{
try
{
return Telegram.Native.Composition.WindowVisual.GetWindowProcessId(windowId);
}
catch (Exception ex)
{
Logger.Error(Environment.StackTrace);
throw new RuntimeException(ex);
}
}
public static bool IsValid_stub(Windows.UI.WindowId windowId, out string title)
{
try
{
return Telegram.Native.Composition.WindowVisual.IsValid(windowId, out title);
}
catch (Exception ex)
{
Logger.Error(Environment.StackTrace);
throw new RuntimeException(ex);
}
}
}
public static class AnimationController_stub
{
Expand Down

0 comments on commit bd83d8d

Please sign in to comment.