@@ -35,25 +35,25 @@ private static IntPtr HWND_DESKTOP
35
35
}
36
36
37
37
[ 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
+
40
40
[ 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 ) ;
42
42
43
43
[ DllImport ( "user32.dll" ) ]
44
- private static extern IntPtr GetForegroundWindow ( ) ;
44
+ internal static extern IntPtr GetForegroundWindow ( ) ;
45
45
46
46
[ DllImport ( "user32.dll" ) ]
47
- private static extern IntPtr GetDesktopWindow ( ) ;
47
+ internal static extern IntPtr GetDesktopWindow ( ) ;
48
48
49
49
[ DllImport ( "user32.dll" ) ]
50
- private static extern IntPtr GetShellWindow ( ) ;
50
+ internal static extern IntPtr GetShellWindow ( ) ;
51
51
52
52
[ 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 ) ;
54
54
55
55
[ 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 ) ;
57
57
58
58
[ DllImport ( "user32.DLL" ) ]
59
59
public static extern IntPtr FindWindowEx ( IntPtr hwndParent , IntPtr hwndChildAfter , string lpszClass , string lpszWindow ) ;
0 commit comments