Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 VirtualQuery 识别部分进程的虚拟内存。我确定了映射文件(MEM_MAPPED)占用的区域,但是如何确定分配在那里的文件的实际文件(文件名)?我想它与 MapView* API 系列有关,但不能完全弄清楚......
看起来 GetMappedFileName() 是您想要的功能。
DWORD WINAPI GetMappedFileName( __in HANDLE hProcess, __in LPVOID lpv, __out LPTSTR lpFilename, __in DWORD nSize );
MSDN 上的 GetMappedFileName
我试图从这个网页( http://www.silvan.dk/butikker)的左侧提取城市名称。原因是我需要提取每个城市的物理地址(在链接所指的页面上可以找到,但是我暂时开始提取城市名称