GetWindowLong (coredll)
Last changed: -79.248.150.102

.
Summary
This function retrieves information about the specified window. GetWindowLong also retrieves the 32-bit value at the specified offset into the extra window memory of a window.

C# Signature:

[DllImport("user32.dll", SetLastError=true)]
static extern System.UInt32 GetWindowLong(IntPtr  hWnd, int nIndex);

// or
[DllImport("user32.dll", SetLastError = true)]
static extern IntPtr GetWindowLong(IntPtr window, int index);

VB Signature:

<DllImport("user32.dll")> _
    Private Shared Function GetWindowLong(ByVal hWnd As IntPtr, ByVal nIndex As Integer) As System.UInt32
End Function

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation