The process returned by PsGetCurrentProcess may differ from the process whose ID is returned by PsGetCurrentProcessId. Use PsGetCurrentProcessId to get the process ID of the process that created the current thread. Use PsGetProcessId(PsGetCurrentProcess()) to get the process ID of the process that the thread is currently attached to.
传播安全知识、拓宽行业人脉——看雪讲师团队等你加入!
#系统内核
#驱动开发
---
来源: 看雪论坛
原文链接: https://bbs.kanxue.com/thread-291402.htm
[讨论]最坑爹的API和文档(看最后一段)
218 浏览
0 回复
暂无回复,快来抢沙发吧!