remove dead code
This commit is contained in:
parent
fd99f8956a
commit
631d1aaf7b
@ -14,17 +14,17 @@
|
|||||||
// https://dev.s-ul.net/djhackers/bemanitools/-/blob/master/src/main/dinput/device_dinput8.c
|
// https://dev.s-ul.net/djhackers/bemanitools/-/blob/master/src/main/dinput/device_dinput8.c
|
||||||
|
|
||||||
static HRESULT STDAPICALLTYPE my_CoCreateInstance(
|
static HRESULT STDAPICALLTYPE my_CoCreateInstance(
|
||||||
const IID *const rclsid,
|
const IID *const rclsid,
|
||||||
LPUNKNOWN pUnkOuter,
|
LPUNKNOWN pUnkOuter,
|
||||||
DWORD dwClsContext,
|
DWORD dwClsContext,
|
||||||
const IID *const riid,
|
const IID *const riid,
|
||||||
LPVOID *ppv);
|
LPVOID *ppv);
|
||||||
|
|
||||||
static HRESULT (STDAPICALLTYPE *next_CoCreateInstance)(
|
static HRESULT (STDAPICALLTYPE *next_CoCreateInstance)(
|
||||||
const IID *const rclsid,
|
const IID *const rclsid,
|
||||||
LPUNKNOWN pUnkOuter,
|
LPUNKNOWN pUnkOuter,
|
||||||
DWORD dwClsContext,
|
DWORD dwClsContext,
|
||||||
const IID *const riid,
|
const IID *const riid,
|
||||||
LPVOID *ppv);
|
LPVOID *ppv);
|
||||||
|
|
||||||
static const struct hook_symbol amcus_hook_syms[] = {
|
static const struct hook_symbol amcus_hook_syms[] = {
|
||||||
@ -35,9 +35,6 @@ static const struct hook_symbol amcus_hook_syms[] = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
IAuth *test;
|
|
||||||
struct amcus_updater_state *a;
|
|
||||||
|
|
||||||
HRESULT amcus_hook_init(struct amcus_config *cfg)
|
HRESULT amcus_hook_init(struct amcus_config *cfg)
|
||||||
{
|
{
|
||||||
assert(cfg != NULL);
|
assert(cfg != NULL);
|
||||||
@ -56,15 +53,15 @@ HRESULT amcus_hook_init(struct amcus_config *cfg)
|
|||||||
"ole32.dll",
|
"ole32.dll",
|
||||||
amcus_hook_syms,
|
amcus_hook_syms,
|
||||||
_countof(amcus_hook_syms));
|
_countof(amcus_hook_syms));
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT STDAPICALLTYPE my_CoCreateInstance(
|
static HRESULT STDAPICALLTYPE my_CoCreateInstance(
|
||||||
const IID *const rclsid,
|
const IID *const rclsid,
|
||||||
LPUNKNOWN pUnkOuter,
|
LPUNKNOWN pUnkOuter,
|
||||||
DWORD dwClsContext,
|
DWORD dwClsContext,
|
||||||
const IID *const riid,
|
const IID *const riid,
|
||||||
LPVOID *ppv)
|
LPVOID *ppv)
|
||||||
{
|
{
|
||||||
if (IsEqualGUID(rclsid, &amcus_rclsid)) {
|
if (IsEqualGUID(rclsid, &amcus_rclsid)) {
|
||||||
@ -74,4 +71,4 @@ static HRESULT STDAPICALLTYPE my_CoCreateInstance(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return next_CoCreateInstance(rclsid, pUnkOuter, dwClsContext, riid, ppv);
|
return next_CoCreateInstance(rclsid, pUnkOuter, dwClsContext, riid, ppv);
|
||||||
}
|
}
|
||||||
|
@ -15,4 +15,4 @@ struct amcus_config {
|
|||||||
struct es3sec_config dongle;
|
struct es3sec_config dongle;
|
||||||
};
|
};
|
||||||
|
|
||||||
void amcus_config_load(struct amcus_config *cfg, const wchar_t *filename);
|
void amcus_config_load(struct amcus_config *cfg, const wchar_t *filename);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user