.386
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include dll.inc ;;;;;;;安装钩子的dll
includelib dll.lib
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
DlgFunc PROTO :DWORD,:DWORD,:DWORD,:DWORD
Strstr proto :DWORD,:DWORD ;一个字符串搜索函数,没贴出来
FindId proto ;寻找explorer.exe的进程句柄
;我只会这样找,,,不知道是否有更好的办法
;有的话一定要告诉我啊
.const
IDD_MAINDLG equ 101
.data
HookFlag dd FALSE
exeName db "EXPLORER.EXE",0