uiribbon: Fix IUIFramework::SetUICommandProperty() prototype.

The last parameter should be REFPROPVARIANT instead of PROPVARIANT.
This commit is contained in:
Zhiyi Zhang 2023-11-16 17:04:34 +08:00 committed by Alexandre Julliard
parent 8f26aaf2ba
commit a7ec901ea3
Notes: Alexandre Julliard 2023-11-16 23:24:55 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/4410
2 changed files with 3 additions and 3 deletions

View file

@ -111,9 +111,9 @@ static HRESULT WINAPI UIRibbonFrameworkImpl_GetUICommandProperty(IUIFramework *i
return E_NOTIMPL;
}
static HRESULT WINAPI UIRibbonFrameworkImpl_SetUICommandProperty(IUIFramework *iface, UINT32 commandId, REFPROPERTYKEY key, PROPVARIANT value)
static HRESULT WINAPI UIRibbonFrameworkImpl_SetUICommandProperty(IUIFramework *iface, UINT32 commandId, REFPROPERTYKEY key, REFPROPVARIANT value)
{
FIXME("(%u, %p): stub!\n", commandId, key);
FIXME("(%u, %p, %p): stub!\n", commandId, key, value);
return E_NOTIMPL;
}

View file

@ -171,7 +171,7 @@ interface IUIFramework : IUnknown
HRESULT SetUICommandProperty(
[in] UINT32 commandId,
[in] REFPROPERTYKEY key,
[in] PROPVARIANT value
[in] REFPROPVARIANT value
);
HRESULT InvalidateUICommand(
[in] UINT32 commandId,