关于DEBUGHOOKINFO结构体的问题(DEBUG HOOK的结构体)
六道佩恩 2020-05-31 10:05:02 这个结构体有两个成员在MSDN上的描述是:
idThread
Type: DWORD
A handle to the thread containing the filter function.
idThreadInstaller
Type: DWORD
A handle to the thread that installed the debugging filter function.
说它们是线程的句柄,可要是线程的句柄的话,为什么是DWORD,不是HANDLE?
根据类型DWORD,以及成员的名称中带有一个“id”,所以我觉得它们是线程的标识。
不知道哪个是正确的?