add last backwards-compatible version
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
foobar2000 shared.dll hook implementations
|
||||
If you're getting linker multiple-definition errors on these, change build configuration of PFC from "Debug" / "Release" to "Debug FB2K" / "Release FB2K"
|
||||
Configurations with "FB2K" suffix disable compilation of pfc-fb2k-hooks.cpp allowing these methods to be redirected to shared.dll calls
|
||||
*/
|
||||
|
||||
namespace pfc {
|
||||
void crashImpl();
|
||||
void crashHook() {crashImpl();}
|
||||
|
||||
BOOL winFormatSystemErrorMessageImpl(pfc::string_base & p_out, DWORD p_code);
|
||||
|
||||
void crashHook() {
|
||||
crashImpl();
|
||||
}
|
||||
BOOL winFormatSystemErrorMessageHook(pfc::string_base & p_out, DWORD p_code) {
|
||||
return winFormatSystemErrorMessageImpl(p_out, p_code);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user