forked from TeamTofuShop/segatools
cardmaker: hook, touch screen hook added
Thanks @domeori https://dev.s-ul.net/domeori/segatools/-/tree/mr-imports
This commit is contained in:
20
cmhook/cm-dll.h
Normal file
20
cmhook/cm-dll.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "cmio/cmio.h"
|
||||
|
||||
struct cm_dll {
|
||||
uint16_t api_version;
|
||||
HRESULT (*init)(void);
|
||||
HRESULT (*poll)(void);
|
||||
void (*get_opbtns)(uint8_t *opbtn);
|
||||
};
|
||||
|
||||
struct cm_dll_config {
|
||||
wchar_t path[MAX_PATH];
|
||||
};
|
||||
|
||||
extern struct cm_dll cm_dll;
|
||||
|
||||
HRESULT cm_dll_init(const struct cm_dll_config *cfg, HINSTANCE self);
|
Reference in New Issue
Block a user