stopping a process

hi frnds,

i am using a codec which while decoding directly plays to the sound card but the problem i have i m not able to stop the process i want to do it programmatically . its on a smart device . So any useful links will be helpful and any suggestions also will do

Thanx in advance

regards,

.netguy



Answer this question

stopping a process

  • BijuMelayil

    You can use TerminateProcess(HANDLE hProcess,DWORD uExitCode)

    where hProcess is the the handle of the process. You can get the hProcess through

    OpenProcess() API.


  • stopping a process