1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

MemLogger

This commit is contained in:
Brian Fiete 2025-04-01 15:37:03 -04:00
parent 96f8b1426d
commit 119da8dada
14 changed files with 377 additions and 34 deletions

View file

@ -395,8 +395,6 @@ namespace System.Net
int32 size = sizeof(SockAddr_in);
if (bind(mHandle, &service, size) == SOCKET_ERROR)
{
int err = WSAGetLastError();
Close();
return .Err;
}

View file

@ -1715,6 +1715,9 @@ namespace System
[Import("user32.lib"), CLink, CallingConvention(.Stdcall)]
public static extern HWnd SetForegroundWindow(HWnd wnd);
[Import("user32.lib"), CLink, CallingConvention(.Stdcall)]
public static extern HWnd ShowWindow(HWnd wnd, int32 cmdShow);
[Import("user32.lib"), CLink, CallingConvention(.Stdcall)]
public static extern HWnd GetForegroundWindow();