Jacek Caban : ole32: Added DECLSPEC_HOTPATCHABLE to a few more functions.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Nov 13 08:34:46 CST 2015
Module: wine
Branch: master
Commit: 80c53b33fd0145e94ab92201e4071cb847aa4964
URL: http://source.winehq.org/git/wine.git/?a=commit;h=80c53b33fd0145e94ab92201e4071cb847aa4964
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Nov 12 15:58:07 2015 +0100
ole32: Added DECLSPEC_HOTPATCHABLE to a few more functions.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ole32/compobj.c | 4 ++--
dlls/ole32/ole2.c | 4 ++--
dlls/ole32/ole2stubs.c | 4 +++-
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index ffa5dae..522f66b 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -1025,7 +1025,7 @@ static HRESULT get_local_server_stream(APARTMENT *apt, IStream **ret)
* SEE ALSO
* CoRegisterClassObject
*/
-HRESULT WINAPI CoRevokeClassObject(
+HRESULT WINAPI DECLSPEC_HOTPATCH CoRevokeClassObject(
DWORD dwRegister)
{
HRESULT hr = E_INVALIDARG;
@@ -3326,7 +3326,7 @@ HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstanceEx(
/***********************************************************************
* CoGetInstanceFromFile [OLE32.@]
*/
-HRESULT WINAPI CoGetInstanceFromFile(
+HRESULT WINAPI DECLSPEC_HOTPATCH CoGetInstanceFromFile(
COSERVERINFO *server_info,
CLSID *rclsid,
IUnknown *outer,
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 40f7238..40cb5b9 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -171,7 +171,7 @@ DWORD WINAPI OleBuildVersion(void)
/***********************************************************************
* OleInitialize (OLE32.@)
*/
-HRESULT WINAPI OleInitialize(LPVOID reserved)
+HRESULT WINAPI DECLSPEC_HOTPATCH OleInitialize(LPVOID reserved)
{
HRESULT hr;
@@ -1235,7 +1235,7 @@ HRESULT WINAPI OleSetContainedObject(
* Success: S_OK.
* Failure: Any HRESULT code.
*/
-HRESULT WINAPI OleRun(LPUNKNOWN pUnknown)
+HRESULT WINAPI DECLSPEC_HOTPATCH OleRun(LPUNKNOWN pUnknown)
{
IRunnableObject *runable;
HRESULT hres;
diff --git a/dlls/ole32/ole2stubs.c b/dlls/ole32/ole2stubs.c
index de35747..1f8b9f8 100644
--- a/dlls/ole32/ole2stubs.c
+++ b/dlls/ole32/ole2stubs.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "config.h"
+
#include <stdarg.h>
#include "windef.h"
@@ -63,7 +65,7 @@ HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseT
/***********************************************************************
* OleRegEnumFormatEtc [OLE32.@]
*/
-HRESULT WINAPI OleRegEnumFormatEtc (
+HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc (
REFCLSID clsid,
DWORD dwDirection,
LPENUMFORMATETC* ppenumFormatetc)
More information about the wine-cvs
mailing list