Esempio n. 1
0
 // platform-independent SetWindowLong wrapper
 private static IntPtr SetWindowLong(IntPtr window, WindowLongOffset offset, IntPtr value)
 {
     return IsLong32 ?
         SetWindowLong32(window, (int)offset, value) :
         SetWindowLong64(window, (int)offset, value);
 }
Esempio n. 2
0
 // platform-independent GetWindowLong wrapper
 private static IntPtr GetWindowLong(IntPtr window, WindowLongOffset offset)
 {
     return IsLong32 ?
         GetWindowLong32(window, (int)offset) :
         GetWindowLong64(window, (int)offset);
 }
Esempio n. 3
0
 public static extern uint SetWindowLong(IntPtr hWnd, WindowLongOffset index, uint newValue);
Esempio n. 4
0
 public static extern uint GetWindowLong(IntPtr hWnd, WindowLongOffset index);
Esempio n. 5
0
 // platform-independent SetWindowLong wrapper
 private static IntPtr SetWindowLong(IntPtr window, WindowLongOffset offset, IntPtr value)
 {
     return(IsLong32 ?
            SetWindowLong32(window, (int)offset, value) :
            SetWindowLong64(window, (int)offset, value));
 }
Esempio n. 6
0
 // platform-independent GetWindowLong wrapper
 private static IntPtr GetWindowLong(IntPtr window, WindowLongOffset offset)
 {
     return(IsLong32 ?
            GetWindowLong32(window, (int)offset) :
            GetWindowLong64(window, (int)offset));
 }