GetWindowLongPtrInternal() private method

private GetWindowLongPtrInternal ( HWND hWnd, GetWindowLongOffsets nIndex ) : UIntPtr
hWnd HWND
nIndex GetWindowLongOffsets
return UIntPtr
Esempio n. 1
0
 internal static UIntPtr GetWindowLong(IntPtr handle, GetWindowLongOffsets index)
 {
     if (IntPtr.Size == 4)
     {
         return((UIntPtr)Functions.GetWindowLongInternal(handle, index));
     }
     else
     {
         return(Functions.GetWindowLongPtrInternal(handle, index));
     }
 }