Commit 1e8c62b0 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

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

parent bca3ec9f
...@@ -270,7 +270,7 @@ static inline IMalloc *get_malloc(void) ...@@ -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;
......
...@@ -648,7 +648,7 @@ HRESULT VARIANT_ClearInd(VARIANTARG *pVarg) ...@@ -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,7 +962,7 @@ VariantCopyInd_Return: ...@@ -962,7 +962,7 @@ 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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment