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

This commit is contained in:
jp9000
2016-07-30 11:24:39 -07:00
parent 2a343955a2
commit 383c96744e
2 changed files with 4 additions and 2 deletions

View File

@@ -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];