-
program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessH...
program TerminateProcess {$APPTYPE CONSOLE} uses SysUtils, Windows var ProcessHwnd, WindowHwnd: THandle ProcessID: DWORD begin //得到记事本的主窗口句柄 WindowHwnd := FindWindow( Notepad , nil) if not isWindow(WindowHwnd) then ExitProcess(0) //得到记事本的进程标识 GetWindowThreadProcessId(WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess(0) //根据进程标识打开进程句柄 ProcessHwnd := OpenProcess(PROCESS_ALL_ACCESS, false, ProcessID) if ProcessHwnd = 0 then ExitProcess(0) //中止指定句柄的进程 Windows.TerminateProcess(ProcessHwnd, 0) end.-program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessHwnd, WindowHwnd : THandle ProcessID : DWORD begin// notebook to be the main window handle WindowHwnd : = FindWindow (Notepad, nil) if not isWindow (WindowHwnd) then ExitProcess (0)// notebook to be in the process logo GetWindowThreadProcessId (WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess (0)// identification process under the process opened handle ProcessHwnd : = OpenProcess (PROCESS_ALL_ACCESS, fals
- 2022-02-10 00:03:03下载
- 积分:1
-
demonstration of how the procedure can only run one process, if the procedures a...
演示了如何让程序仅仅只能运行一个进程,如果程序已经运行,再点exe就会激活原来已经运行的那个进程。-demonstration of how the procedure can only run one process, if the procedures are already running, then points exe will activate the original operation of that process.
- 2023-01-08 21:10:02下载
- 积分:1
-
使用信号量对象实现线程的同步的一个实例
使用信号量对象实现线程的同步的一个实例- The use signal quantity object realizes a line regulation
synchronization example
- 2022-01-28 10:10:45下载
- 积分:1
-
procedures VC preparation, short on how to terminate the designation process.
程序用VC编写,短小,说明如何终止指定进程。-procedures VC preparation, short on how to terminate the designation process.
- 2022-08-14 04:31:00下载
- 积分:1
-
Windows NT2000下的进程列举
Windows NT2000下的进程列举-Windows NT2000 listed under the process of
- 2022-03-13 15:37:36下载
- 积分:1
-
一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级...
一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级-a multithreaded parallel port control signals sent to the procedures, the frequency control signal to achieve microsecond
- 2023-03-11 18:30:03下载
- 积分:1
-
提供一个进程保护的通用独立模块。
也就是说可以实现多进程保护功能的DLL。...
提供一个进程保护的通用独立模块。
也就是说可以实现多进程保护功能的DLL。-provide a process independent and protection module. That is to say the process can achieve more protection DLL.
- 2022-09-06 09:15:02下载
- 积分:1
-
How to enumerate all processes of windows os.
How to enumerate all processes of windows os.-How to enumerate all processes of windows o s.
- 2023-07-03 23:50:02下载
- 积分:1
-
DKOM process hiding
DKOM 隐藏进程 直接系统内核修改
断开FLINK链表-DKOM process hiding
- 2022-01-25 14:02:42下载
- 积分:1
-
There are information audit, write
主要有信息审核、注销、管理等的功能,对每一项检索-There are information audit, write-offs, and management functions, one for each retrieval
- 2023-01-24 09:45:04下载
- 积分:1