Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mscrivo committed Nov 16, 2024
1 parent ebb6566 commit 86b241b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions OotD.Core/Utility/UnsafeNativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,12 @@ internal static void SendWindowToTop(Form windowToSendToTop, [CallerMemberName]
SetWindowPos(windowToSendToTop.Handle, HWND_TOPMOST, 0, 0, 0, 0, ZPOS_FLAGS);
}

[LibraryImport("user32.dll", SetLastError = true)]
private static partial int GetWindowLong(IntPtr hWnd, int nIndex);

[LibraryImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static partial bool IsWindowVisible(IntPtr hWnd);

[LibraryImport("user32.dll")]
private static partial IntPtr GetShellWindow();

[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
private static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);

[LibraryImport("user32.dll", SetLastError = true)]
private static partial uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId);

[LibraryImport("user32.dll")]
private static partial IntPtr GetWindow(IntPtr hWnd, uint wCmd);

Expand Down

0 comments on commit 86b241b

Please sign in to comment.