Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to find the Process ID of TAPI Service in windows by using VC2000

How to find the Process ID of TAPI Service in windows by using VC2000

Scheduled Pinned Locked Moved C / C++ / MFC
sysadmintutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DSPCottage
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • D DSPCottage

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      What is VC2000?

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups