Function GetProcAddress Lib "kernel32" (ByVal hModule As Long, _
ByVal lpProcName As String)...As Long, _
ByVal pTemplateName As Long, ByVal hWndParent As Long, _
ByVal lpDialogFunc...保存原函数开头字节,这里是6个字节,以备后面恢复
MoveMemory ByVal VarPtr(OriginBytes(0)), ByVal pFunc, 6...api hook过程之五: 用HookBytes的内容改写API前6个字节
MoveMemory ByVal pFunc, ByVal VarPtr(HookBytes(0)),...hInstance As Long, _
ByVal pTemplateName As Long, ByVal hWndParent As Long, _
ByVal