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:
parent
bca3ec9fd9
commit
1e8c62b020
|
@ -270,7 +270,7 @@ static inline IMalloc *get_malloc(void)
|
|||
* See BSTR.
|
||||
* 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_t *bstr;
|
||||
|
|
|
@ -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.
|
||||
* 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;
|
||||
|
||||
|
@ -962,8 +962,8 @@ VariantCopyInd_Return:
|
|||
* The LCID used for the conversion is LOCALE_USER_DEFAULT.
|
||||
* See VariantChangeTypeEx.
|
||||
*/
|
||||
HRESULT WINAPI VariantChangeType(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
|
||||
USHORT wFlags, VARTYPE vt)
|
||||
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
|
||||
USHORT wFlags, VARTYPE vt)
|
||||
{
|
||||
return VariantChangeTypeEx( pvargDest, pvargSrc, LOCALE_USER_DEFAULT, wFlags, vt );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue