Hi Sir,
Why do i keep getting zero for the return value of GetWindowThreadProcessId?
any idea? i can't seem to get the correct value for thread id.
Please help.
Thanks in advance.
hWnd = FindWindow("WindowsApp", "Windows App");
dwPid = GetWindowThreadProcessId(hWnd, NULL)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.