GetWindowLong (user32)
Last changed: -212.47.207.1

.
Summary

C# Signature:

[Obsolete("This function is unsafe. Use GetWindowLongPtr instead."),
DllImport("user32.dll", SetLastError=true)]
static extern int GetWindowLong(IntPtr hWnd, int nIndex);

VB Signature:

<Obsolete("This function is unsafe. Use GetWindowLongPtr instead."),
  DllImport("user32.dll", SetLastError:=True)> _
Private Shared Function GetWindowLong(ByVal hWnd As IntPtr, _
                       ByVal nIndex As Integer) As Integer
End Function

User-Defined Types:

None.

Notes:

This function is NOT 64-bit safe! Use GetWindowLongPtr instead!

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation