crosire
crosire
These don't sound like d3d8to9 issues.
In what case did you experience a PID of zero occuring here?
I'd be interested in why it's zero though. Does the `GetWindowThreadProcessId` call fail (return zero)? What's the error returned by `GetLastError()` afterwards?
I'm not sure I see the benefit. Having the translations inline makes it immediately obvious what variable they belong to and you also have the corresponding English text to understand...