摘要:
PVOID*GetVtpl(PVOIDlpThis,intnIndex){return*(PVOID**)lpThis+nIndex;}PVOIDHookVtpl(PVOID*lpAddr,PVOIDlpNewAddr){DWORDdwOldProtect;PVOIDlpResult=NULL;if(VirtualProtect(lpAddr,sizeof(PVOID),PAGE_READWRITE,&dwOldProtect)){lpResult=*lpAddr;*lpAddr=lpNewAddr;VirtualProtect(lpAddr,sizeof(PVOID),dwOldPr 阅读全文