How to find the Process ID of TAPI Service in windows by using VC2000
-
Dear Experts, In one project, I sometimes have to reset the TAPI Service when I find network cable is disconnected and connected. I know I could get TAPI process ID in VC2005 by using EnumServicesStatusEx function. But because my code is in VC2000, I have to get it in VC2000. I find a code snippet which use CreateToolhelp32Snapshot and Process32Next to find process IDs in VC2000. But it gives me several svchost.exe which only one belongs to TAPI service. My question is : how I could find TAPI service Process ID in VC2000. Regards Mahdi
-
Dear Experts, In one project, I sometimes have to reset the TAPI Service when I find network cable is disconnected and connected. I know I could get TAPI process ID in VC2005 by using EnumServicesStatusEx function. But because my code is in VC2000, I have to get it in VC2000. I find a code snippet which use CreateToolhelp32Snapshot and Process32Next to find process IDs in VC2000. But it gives me several svchost.exe which only one belongs to TAPI service. My question is : how I could find TAPI service Process ID in VC2000. Regards Mahdi