Windows API reference

SetWindowLongPtrW

Changes a window attribute such as its window procedure or user data.

Library
User32.dll
Category
Spying, Injection
Suspicion
medium

Detection summary

SetWindowLongPtrW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Accessibility software, remote support tools, clipboard managers and screenshot utilities.

Open SetWindowLongPtrW in the interactive atlas