提交 383c9674 编写于 作者: J jp9000

win-capture: Expose helper funcs to get win. class/title

上级 2a343955
......@@ -104,7 +104,7 @@ fail:
return true;
}
static void get_window_title(struct dstr *name, HWND hwnd)
void get_window_title(struct dstr *name, HWND hwnd)
{
wchar_t *temp;
int len;
......@@ -119,7 +119,7 @@ static void get_window_title(struct dstr *name, HWND hwnd)
free(temp);
}
static void get_window_class(struct dstr *class, HWND hwnd)
void get_window_class(struct dstr *class, HWND hwnd)
{
wchar_t temp[256];
......
......@@ -14,6 +14,8 @@ enum window_search_mode {
};
extern bool get_window_exe(struct dstr *name, HWND window);
extern void get_window_title(struct dstr *name, HWND hwnd);
extern void get_window_class(struct dstr *class, HWND hwnd);
extern void fill_window_list(obs_property_t *p, enum window_search_mode mode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册