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