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);
where dwPid always zero.
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);
where dwPid always zero.