c76426c5bd
Ensures that the UWP program can open the keepalive mutex to check to see whether OBS is still alive. Fixes a bug where UWP programs wouldn't capture.
11 lines
401 B
C
11 lines
401 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
extern bool is_app(HANDLE process);
|
|
extern wchar_t *get_app_sid(HANDLE process);
|
|
extern HANDLE create_app_mutex(const wchar_t *sid, const wchar_t *name);
|
|
extern HANDLE open_app_mutex(const wchar_t *sid, const wchar_t *name);
|
|
extern HANDLE open_app_event(const wchar_t *sid, const wchar_t *name);
|
|
extern HANDLE open_app_map(const wchar_t *sid, const wchar_t *name);
|