I have an application which send a broadcast message to get the current tasks of a few applications which are currently running or not running. Following is an example of 16 bit application:
// Fill the m_ahtActiveList array with the Task handles of all active tasks
// This will also inform the Task that they need to exit
0, (LONG)(HTASK *)m_ahtActiveList);
Before my application start processing(installing program), it need to close all the application that currently running. In 16 bit, there are GetCurrentTask() and IsTask() that would help to do the job. Is there any similar function in 32 bit? I would appreciate if anybody help me on this problem.