Пример #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);
 }
Пример #2
0
 // platform-independent GetWindowLong wrapper
 private static IntPtr GetWindowLong(IntPtr window, WindowLongOffset offset)
 {
     return IsLong32 ?
         GetWindowLong32(window, (int)offset) :
         GetWindowLong64(window, (int)offset);
 }
Пример #3
0
 public static extern uint SetWindowLong(IntPtr hWnd, WindowLongOffset index, uint newValue);
Пример #4
0
 public static extern uint GetWindowLong(IntPtr hWnd, WindowLongOffset index);
Пример #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));
 }
Пример #6
0
 // platform-independent GetWindowLong wrapper
 private static IntPtr GetWindowLong(IntPtr window, WindowLongOffset offset)
 {
     return(IsLong32 ?
            GetWindowLong32(window, (int)offset) :
            GetWindowLong64(window, (int)offset));
 }