getmodulehandle
使用方法
invoke getmodulehandle,lpmodulename
lpmodulename 是一个字符串指针,它指向的字符含有模块名称。
如想得到USER32.dll句柄
可以
szuserdll db 'user32.dll',0
invoke getmodulehandle,addr szuserdll
.if eax
mov huserdllhandle,eax
.endif
如果想得到本程序的句柄
invoke getmodulehandle,null
mov hinstance,eax
WIN32汇编获取应用程序句柄
最新推荐文章于 2020-08-11 18:57:16 发布