-
-
[求助]PsGetProcessImageFileName引用失败
-
发表于:
2013-8-10 23:19
8318
-
[求助]PsGetProcessImageFileName引用失败
我照大神的方法定义,但是还是出错,请问为什么啊。
NTKERNELAPI UCHAR * PsGetProcessImageFileName(__in PEPROCESS Process);
下面是错误提示:
1>1>hook.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) unsigned char * __stdcall PsGetProcessImageFileName(struct _EPROCESS *)" (__imp_?PsGetProcessImageFileName@@YGPAEPAU_EPROCESS@@@Z) referenced in function "long __stdcall FuckSecurityProcedure(void *,enum _SECURITY_OPERATION_CODE,unsigned long *,void *,unsigned long *,void * *,enum _POOL_TYPE,struct _GENERIC_MAPPING *,unsigned long)" (?FuckSecurityProcedure@@YGJPAXW4_SECURITY_OPERATION_CODE@@PAK02PAPAXW4_POOL_TYPE@@PAU_GENERIC_MAPPING@@K@Z)
1>1>c:\ddkfile\hook\hook\hook.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) unsigned char * __stdcall PsGetProcessImageFileName(struct _EPROCESS *)" (__imp_?PsGetProcessImageFileName@@YGPAEPAU_EPROCESS@@@Z) referenced in function "long __stdcall FuckSecurityProcedure(void *,enum _SECURITY_OPERATION_CODE,unsigned long *,void *,unsigned long *,void * *,enum _POOL_TYPE,struct _GENERIC_MAPPING *,unsigned long)" (?FuckSecurityProcedure@@YGJPAXW4_SECURITY_OPERATION_CODE@@PAK02PAPAXW4_POOL_TYPE@@PAU_GENERIC_MAPPING@@K@Z)
1>1>c:\ddkfile\hook\hook\objchk_wxp_x86\i386\Hook.sys : fatal error LNK1120: 1 unresolved externals
1>1>c:\ddkfile\hook\hook\objchk_wxp_x86\i386\hook.sys : error LNK1120: 1 unresolved externals
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)