Winify – Diff between revs 8 and 28

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 8 Rev 28
Line 5... Line 5...
5   5  
6 namespace Winify.Utilities 6 namespace Winify.Utilities
7 { 7 {
8 public static class Natives 8 public static class Natives
9 { 9 {
10 #region Static Fields and Constants -  
11   -  
Line 12... Line 10...
12 public const int HWND_BROADCAST = 0xffff; 10 #region Public Events & Delegates
Line 13... Line 11...
13   11  
Line 14... Line 12...
14 public static readonly int WM_SHOWME = RegisterWindowMessage("WM_SHOWME"); 12 public delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
Line -... Line 13...
-   13  
-   14 #endregion
15   15  
Line 16... Line 16...
16 #endregion 16 #region Static Fields and Constants
Line 17... Line 17...
17   17  
Line 1612... Line 1612...
1612 [DllImport("user32.dll")] 1612 [DllImport("user32.dll")]
1613 public static extern IntPtr GetForegroundWindow(); 1613 public static extern IntPtr GetForegroundWindow();
Line 1614... Line 1614...
1614   1614  
1615 [DllImport("user32.dll", CharSet = CharSet.Auto)] 1615 [DllImport("user32.dll", CharSet = CharSet.Auto)]
1616 public static extern int SystemParametersInfo(uint uiAction, 1616 public static extern int SystemParametersInfo(uint uiAction,
Line 1617... Line 1617...
1617 uint uiParam, string pvParam, uint fWinIni); 1617 uint uiParam, string pvParam, uint fWinIni);
1618   1618