[DllImport("user32.dll", SetLastError=true)]
static extern int GetWindowLong(HandleRef hWnd, int nIndex);
<DllImport("user32.dll", SetLastError:=True)> _
Private Shared Function GetWindowLong(ByVal hWnd As HandleRef, _
ByVal nIndex As Integer) As Integer
End Function
GWL_ID = (-12)
GWL_STYLE = (-16)
GWL_EXSTYLE = (-20)
This function is NOT 64-bit safe when retrieving handle or pointer values. Use GetWindowLongPtr instead when retrieving an IntPtr.
Please add some!
Please add some!
Do you know one? Please contribute it!