Raw ↗
+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
1 /*
2 * SPDX-License-Identifier: AGPL-3.0-or-later WITH Classpath-exception-2.0
3 * Copyright (c) 2026 Saif Mukhtar
4 *
5 * OpenAVX - Open Audio-Video eXchange
6 * include/avx_dshow_sink.h - Windows DirectShow Virtual Camera COM Filter
7 */
8  
9 #ifndef AVX_DSHOW_SINK_H
10 #define AVX_DSHOW_SINK_H
11  
12 #include <stdint.h>
13 #include <stdbool.h>
14 #include "openavx.h"
15  
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19  
20 /**
21 * Registers the OpenAVX DirectShow Virtual Camera in the user's registry (HKCU).
22 * Zero administrator rights required.
23 * dll_path: Path to openavx_dshow_filter.dll (or NULL to auto-detect current module directory).
24 */
25 OPENAVX_API bool avx_dshow_register_filter(const char *dll_path);
26  
27 /**
28 * Unregisters the OpenAVX DirectShow Virtual Camera from HKCU.
29 */
30 OPENAVX_API bool avx_dshow_unregister_filter(void);
31  
32 /**
33 * Checks if the OpenAVX DirectShow Virtual Camera is registered on the system.
34 */
35 OPENAVX_API bool avx_dshow_is_registered(void);
36  
37 #ifdef __cplusplus
38 }
39 #endif
40  
41 #endif /* AVX_DSHOW_SINK_H */