GetWindowLongPtr function user32

int GetWindowLongPtr(
  1. int hWnd,
  2. int nIndex
)

Retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory.

LONG_PTR GetWindowLongPtrW(
  HWND hWnd,
  int  nIndex
);

Implementation

int GetWindowLongPtr(int hWnd, int nIndex) => _GetWindowLongPtr(hWnd, nIndex);