1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

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
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,