本帖最后由 666 于 2021-6-5 18:06 编辑
KeyedEvent_是全局性的- .版本 2
- Nt_KeyedEvent_ZwCreateKeyedEvent (Asm_GetH (event), #EVENT_ALL_ACCESS, 0, 0)‘创建
- handle = 取下一行子程序地址_开始 (0, c, d)
- 子程序3 (0)
- 取下一行子程序地址_恢复 (c, d)
- CreateThread (0, 0, handle, 0, 0, 0)
- CreateThread (0, 0, handle, 2, 0, 0)
- CreateThread (0, 0, handle, 4, 0, 0)
- CreateThread (0, 0, handle, 6, 0, 0)
- 信息框 (“”, 0, , )
- Nt_KeyedEvent_ZwReleaseKeyedEvent (event, 0, 假, 0)‘键值必须是偶数
- Nt_KeyedEvent_ZwReleaseKeyedEvent (event, 2, 假, 0)
- Nt_KeyedEvent_ZwReleaseKeyedEvent (event, 4, 假, 0)
- Nt_KeyedEvent_ZwReleaseKeyedEvent (event, 6, 假, 0) ’取消等待键控事件
- 信息框 (“”, 0, , )
- .子程序 子程序3
- .参数 aaz
- 调试输出 (“z”, aaz, Nt_KeyedEvent_ZwWaitForKeyedEvent (event, aaz, 假, 0)) ’等待键控事件
复制代码
|