SetWindowLongPtr function Null safety user32

int SetWindowLongPtr(
  1. int hWnd,
  2. int nIndex,
  3. int dwNewLong
)

Changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory.

LONG_PTR SetWindowLongPtrW(
  HWND     hWnd,
  int      nIndex,
  LONG_PTR dwNewLong
);

Implementation

int SetWindowLongPtr(int hWnd, int nIndex, int dwNewLong) =>
    _SetWindowLongPtr(hWnd, nIndex, dwNewLong);