如何在其他进程启动的第一时间内得到系统的通知

mefish 2002-05-08 05:43:23
我想通过我的程序监控另一个程序的启动和退出,请问如何在其他进程启动的第一时间内得到系统的通知?可以用waitforsingleobject的那种。
...全文
161 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
greensleeve 2002-06-03
  • 打赏
  • 举报
回复
aaaaaaaaaaaaaaaaa
saucer 2002-05-08
  • 打赏
  • 举报
回复
use
PsSetCreateProcessNotifyRoutine and PsSetCreateThreadNotifyRoutine

check out this article:
http://msdn.microsoft.com/library/en-us/dnmag00/html/VTrace.asp?frame=true
masterz 2002-05-08
  • 打赏
  • 举报
回复
look at IShellExecuteHook::Execute, it seems to be the solution.
you can refer to http://www.codeguru.com/shell/ShellLogging.html

15,473

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧