obs-studio/plugins/win-capture/app-helpers.h
Richard Stanway b2e30c955d win-capture: Move NT functions to shared file
Having them declared statically in a header included by multiple
compilation units results in duplicate functions being created.
2021-07-24 23:15:45 +02:00

11 lines
373 B
C

#pragma once
#include <stdbool.h>
extern bool is_app(HANDLE process);
extern wchar_t *get_app_sid(HANDLE process);
HANDLE create_app_mutex(const wchar_t *sid, const wchar_t *name);
HANDLE open_app_mutex(const wchar_t *sid, const wchar_t *name);
HANDLE open_app_event(const wchar_t *sid, const wchar_t *name);
HANDLE open_app_map(const wchar_t *sid, const wchar_t *name);