diff --git a/plugins/win-capture/window-helpers.c b/plugins/win-capture/window-helpers.c index fddba8b0f..0050aaac8 100644 --- a/plugins/win-capture/window-helpers.c +++ b/plugins/win-capture/window-helpers.c @@ -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]; diff --git a/plugins/win-capture/window-helpers.h b/plugins/win-capture/window-helpers.h index 2f8bc34e5..0ee41a184 100644 --- a/plugins/win-capture/window-helpers.h +++ b/plugins/win-capture/window-helpers.h @@ -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);