oleaut32: Add DECLSPEC_HOTPATCH to functions patched by MS Word 2010.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45199
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-09-18 00:58:59 -06:00 committed by Alexandre Julliard
parent bca3ec9fd9
commit 1e8c62b020
2 changed files with 4 additions and 4 deletions

View File

@ -270,7 +270,7 @@ static inline IMalloc *get_malloc(void)
* See BSTR. * See BSTR.
* str may be NULL, in which case this function does nothing. * str may be NULL, in which case this function does nothing.
*/ */
void WINAPI SysFreeString(BSTR str) void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
{ {
bstr_cache_entry_t *cache_entry; bstr_cache_entry_t *cache_entry;
bstr_t *bstr; bstr_t *bstr;

View File

@ -648,7 +648,7 @@ HRESULT VARIANT_ClearInd(VARIANTARG *pVarg)
* Success: S_OK. Any previous value in pVarg is freed and its type is set to VT_EMPTY. * Success: S_OK. Any previous value in pVarg is freed and its type is set to VT_EMPTY.
* Failure: DISP_E_BADVARTYPE, if the variant is not a valid variant type. * Failure: DISP_E_BADVARTYPE, if the variant is not a valid variant type.
*/ */
HRESULT WINAPI VariantClear(VARIANTARG* pVarg) HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG* pVarg)
{ {
HRESULT hres; HRESULT hres;
@ -962,8 +962,8 @@ VariantCopyInd_Return:
* The LCID used for the conversion is LOCALE_USER_DEFAULT. * The LCID used for the conversion is LOCALE_USER_DEFAULT.
* See VariantChangeTypeEx. * See VariantChangeTypeEx.
*/ */
HRESULT WINAPI VariantChangeType(VARIANTARG* pvargDest, VARIANTARG* pvargSrc, HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
USHORT wFlags, VARTYPE vt) USHORT wFlags, VARTYPE vt)
{ {
return VariantChangeTypeEx( pvargDest, pvargSrc, LOCALE_USER_DEFAULT, wFlags, vt ); return VariantChangeTypeEx( pvargDest, pvargSrc, LOCALE_USER_DEFAULT, wFlags, vt );
} }