从句柄获取Windows Explorer路径



我有一个问题:有没有办法从Windows Explorer Intance中指向该路径,我已经有了一些数据,例如HWND,Process ID和该过程的句柄?

我在Visual Studio 2012中使用C 和Winapi/MFC。

使用getWindowThreadProcessID,OpenProcess,然后使用GetProcessimageFilename。文档https://msdn.microsoft.com/en-us/library/windows/desktop/mms683217(V=VS.85).aspx显示您需要在OpenProcess Call中请求的权限。

最新更新