yolobs-studio/libobs-winrt/winrt-capture.h

32 lines
905 B
C
Raw Normal View History

2020-03-25 08:07:22 +00:00
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <obs-module.h>
#ifdef __cplusplus
extern "C" {
#endif
EXPORT BOOL winrt_capture_supported();
EXPORT BOOL winrt_capture_cursor_toggle_supported();
EXPORT struct winrt_capture *winrt_capture_init(BOOL cursor, HWND window,
BOOL client_area);
EXPORT void winrt_capture_free(struct winrt_capture *capture);
2020-10-01 20:15:25 +00:00
EXPORT BOOL winrt_capture_supported(const struct winrt_capture *capture);
2020-03-25 08:07:22 +00:00
EXPORT void winrt_capture_show_cursor(struct winrt_capture *capture,
BOOL visible);
EXPORT void winrt_capture_render(struct winrt_capture *capture,
gs_effect_t *effect);
EXPORT uint32_t winrt_capture_width(const struct winrt_capture *capture);
EXPORT uint32_t winrt_capture_height(const struct winrt_capture *capture);
2020-10-01 20:15:25 +00:00
EXPORT void winrt_capture_thread_start();
EXPORT void winrt_capture_thread_stop();
2020-03-25 08:07:22 +00:00
#ifdef __cplusplus
}
#endif