Windows API reference

GetWindowThreadProcessId

Resolves the process and thread that created a window.

Library
User32.dll
Category
Enumeration
Suspicion
low

Detection summary

GetWindowThreadProcessId 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

Task managers, EDR agents, installers, backup tools and inventory software.

Open GetWindowThreadProcessId in the interactive atlas