Posted: Thu Jul 26, 2007 12:20 am Post subject: Filter Question
I am making a type 3 plugin (processwatcher notify event), how would I distinguish between the callback being for process termination or process creation?*
*I don't want to use an internal boolean for this because the plugin could be loaded after a process is created or CE for that matter. I'd rather not be constantly querying the process to see if it dies, because it's time critical. I would understand if that's the only way, though.
Joined: 09 May 2003 Posts: 19983 Location: The netherlands
Posted: Thu Jul 26, 2007 5:23 am Post subject:
there is no way to see that directly. But you can find out if it's created or not.
When a process is created your plugin is called, but it is also called when the process is destroyed.
so if you save the processid and peprocess of a process then you can be sure that the next time you get THAT processid/peprocess combination it's a termination _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum