unresolved external symbol "unsigned char * __stdcall PsGetProcessImageFileName
环境为vs.net 2008 os window2003 sp1, wnet,
定义: UCHAR *PsGetProcessImageFileName(IN PEPROCESS Process);
运行出错 错误 1 error LNK2019: unresolved external symbol "unsigned char * __stdcall PsGetProcessImageFileName(struct _KPROCESS *)" (?PsGetProcessImageFileName@@YGPAEPAU_KPROCESS@@@Z) referenced in function _NPPreCreate@12 fileprotedrv.obj FileProteDrv.WNET
难道在 wnet 中没有这个方法?
或有什么方式可以把 PsGetCurrentProcessId()得到的进程ID转成进程名的? extern"C" __declspec(dllimport)UCHAR*PsGetProcessImageFileName(IN PEPROCESS Process);
|