How do I get the process ID for Win32 Windows Mobile platform?

I would like to get the process id and process handle by querying it by process name. Is it possible to do this on the Windows Mobile Windows Mobile platform?

Thanks in advance.

+2


source to share


1 answer


Use CreateToolhelp32Snapshot () , following Process32First () and related functions, following the general idea in the sample code. The Process32 ... functions provide PROCESSENTRY32 for each process that contains the process ID.



+4


source







All Articles