Skip to content

Commit 975ea3c

Browse files
Update WindowsInteropHelper.cs
1 parent a5dcccd commit 975ea3c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Flow.Launcher/Helper/WindowsInteropHelper.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,25 @@ private static IntPtr HWND_DESKTOP
3535
}
3636

3737
[DllImport("user32.dll", SetLastError = true)]
38-
private static extern int GetWindowLong(IntPtr hWnd, int nIndex);
39-
38+
internal static extern int GetWindowLong(IntPtr hWnd, int nIndex);
39+
4040
[DllImport("user32.dll")]
41-
private static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
41+
internal static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
4242

4343
[DllImport("user32.dll")]
44-
private static extern IntPtr GetForegroundWindow();
44+
internal static extern IntPtr GetForegroundWindow();
4545

4646
[DllImport("user32.dll")]
47-
private static extern IntPtr GetDesktopWindow();
47+
internal static extern IntPtr GetDesktopWindow();
4848

4949
[DllImport("user32.dll")]
50-
private static extern IntPtr GetShellWindow();
50+
internal static extern IntPtr GetShellWindow();
5151

5252
[DllImport("user32.dll", SetLastError = true)]
53-
private static extern int GetWindowRect(IntPtr hwnd, out RECT rc);
53+
internal static extern int GetWindowRect(IntPtr hwnd, out RECT rc);
5454

5555
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
56-
private static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);
56+
internal static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);
5757

5858
[DllImport("user32.DLL")]
5959
public static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);

0 commit comments

Comments
 (0)