从句柄获取Windows Explorer路径
Get Windows Explorer Path from Handle
我有一个问题:有没有办法从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中请求的权限。
相关文章:
- 如何将更多文件夹添加到c++include路径
- 带有特殊路径部分的"std::filesystem::weakly_canonical"失败
- C++A*算法并不总是在路径中具有目标节点
- 从函数角度看ID到文件路径的内部与外部映射
- boost xml parsingl将xml的路径作为变量发送
- 对于MacOS上的G++,如何添加默认的include目录/usr/local/include和默认的库搜索路径/usr
- 如何使用cppcheck处理半相对包含路径
- 在C++中设置基于操作系统的文件路径
- 基于编译器选项的编译二进制路径
- 按边长度递归搜索图中所有可行路径
- 使用变量值作为 PlaySound 中的路径
- 如何转换真实路径 CString c++
- 从 GUID 获取 USB 卷路径
- 查找 GCD:并非所有控制路径都返回值
- C++17 文件系统::remove_all 带有通配符路径
- 在带有尾部斜杠的路径上返回 std::filesystem::create_directories() 的值
- 从句柄获取Windows Explorer路径
- 如何在C Winapi中获取活动文件Explorer窗口的路径
- Qt中是否有本机"file explorer",我可以使用它让用户选择特定文件的路径?
- Bentley ProjectWise Explorer-如何获取物理文件路径(DMS)