2018-11-08 19:20:48 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-06 00:36:35 +00:00
|
|
|
#include <stdbool.h>
|
2019-05-04 17:12:20 +00:00
|
|
|
|
2018-11-08 19:20:48 +00:00
|
|
|
#include "jvs/jvs-bus.h"
|
|
|
|
|
|
|
|
DEFINE_GUID(
|
|
|
|
jvs_guid,
|
|
|
|
0xDB6BBB45,
|
|
|
|
0xCC96,
|
|
|
|
0x4288,
|
|
|
|
0xAA, 0x00, 0x6C, 0x00, 0xD7, 0x67, 0xBD, 0xBF);
|
|
|
|
|
2019-11-06 00:36:35 +00:00
|
|
|
struct jvs_config {
|
|
|
|
bool enable;
|
|
|
|
};
|
|
|
|
|
2019-11-03 18:01:03 +00:00
|
|
|
typedef HRESULT (*jvs_provider_t)(struct jvs_node **root);
|
|
|
|
|
|
|
|
HRESULT jvs_hook_init(const struct jvs_config *cfg, jvs_provider_t provider);
|