From a940718a4d77a2c9e1b2f14044d5ff3cd7fdfbcb Mon Sep 17 00:00:00 2001 From: Qian Hong Date: Fri, 16 Jan 2015 02:07:50 +0800 Subject: [PATCH] ole32: Make CoUninitialize and OleUninitialize hotpatchable. --- dlls/ole32/compobj.c | 2 +- dlls/ole32/ole2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index da466c42edb..82cc77d02c4 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -1948,7 +1948,7 @@ HRESULT WINAPI CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit) * SEE ALSO * CoInitializeEx */ -void WINAPI CoUninitialize(void) +void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void) { struct oletls * info = COM_CurrentInfo(); LONG lCOMRefCnt; diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c index f6c6c101ef3..b9cc1f05a5a 100644 --- a/dlls/ole32/ole2.c +++ b/dlls/ole32/ole2.c @@ -231,7 +231,7 @@ HRESULT WINAPI OleInitialize(LPVOID reserved) /****************************************************************************** * OleUninitialize [OLE32.@] */ -void WINAPI OleUninitialize(void) +void WINAPI DECLSPEC_HOTPATCH OleUninitialize(void) { TRACE("()\n"); -- 2.11.4.GIT