14 Oct
2009
14 Oct
'09
4:13 a.m.
Am 14.10.2009 um 05:42 schrieb Dmitry Timoshkov:
"Stefan Dösinger" <stefan(a)codeweavers.com> wrote:
-HRESULT WINAPI DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riid, LPVOID *ppDI, LPUNKNOWN punkOuter) { +HRESULT WINAPI DECLSPEC_HOTPATCH DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riid, LPVOID *ppDI, LPUNKNOWN punkOuter) {
Probably DECLSPEC_HOTPATCH just should be a part of WINAPI. I suggested that as well, Alexandre disagreed. Windows doesn't make all functions hotpatchable either. I don't know if that is intentional, or just a bug due to the way /hotpatch works, or doesn't work, with optimization.