GetWindowLongInternal() private method

private GetWindowLongInternal ( HWND hWnd, GetWindowLongOffsets nIndex ) : ULONG
hWnd HWND
nIndex GetWindowLongOffsets
return ULONG
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));
     }
 }