精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● Delphi>>Windows API函数>>从任务列表中删除程序自身的名字

主题:从任务列表中删除程序自身的名字
发信人: daji(妲姬)
整理人: teleme(2001-04-25 22:44:13), 站内信件
(指按下CTRL+ALT+DEL后的任务列表)

声明函数:
function RegisterServiceProcess(processid:longword;dwtype:longword):longword;stdcall external 'kernel32.dll'; 

在程序中下面的一条指定会删除程序自身在任务列表中的名字。
RegisterServiceProcess(0,1); 


----
                ^^                                    `_ ,
 ^^           |    |    |      Hello,                -(_)-
      ^^     )_)  )_)  )_)         My Friends!        ,  `
姬海涵      )___))___))___)\                  ,
           )____)____)_____)\\              __)\_
妲姬网苑 _____|____|____|____\\\__    (\_.-'    a`-.
---------\                   /--------(/~~````(/~^^`--------
  ^^^^^ ^^^^^^^^^^^^^^^^^^^^^
    ^^^^      ^^^^     ^^^    ^^      [email protected]
         ^^^^      ^^^

[关闭][返回]