跳至主要內容
文档
主页
快速上手
节点介绍
GetWindowProcessPath
Mr.Liu
2024年9月23日
小于 1 分钟
使用指南
Markdown
函数简介
获取指定窗口所在的进程的exe文件全路径。
函数原型
string GetWindowProcessPath(hwnd)
参数定义
参数
类型
描述
hwnd
整形数
窗口句柄
返回值
字符串
: 返回字符串表示的是exe全路径名。
示例
process_path = dm.GetWindowProcessPath(hwnd)
上一页
GetWindowProcessId
下一页
GetWindowRect