Show / Hide Table of Contents

Method wnd.GetWindowLong


Overload

Calls API GetWindowLongPtr.

public nint GetWindowLong(int index)
Parameters
index  (int)

A constant from GWL, or an offset in window memory reserved when registering window class.

Returns
nint

Remarks

Supports lastError. In 32-bit process actually calls GetWindowLong, because GetWindowLongPtr is unavailable.