b2e30c955d
Having them declared statically in a header included by multiple compilation units results in duplicate functions being created.
11 lines
373 B
C
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);
|