Commit a7ec901e authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

uiribbon: Fix IUIFramework::SetUICommandProperty() prototype.

The last parameter should be REFPROPVARIANT instead of PROPVARIANT.
parent 8f26aaf2
...@@ -111,9 +111,9 @@ static HRESULT WINAPI UIRibbonFrameworkImpl_GetUICommandProperty(IUIFramework *i ...@@ -111,9 +111,9 @@ static HRESULT WINAPI UIRibbonFrameworkImpl_GetUICommandProperty(IUIFramework *i
return E_NOTIMPL; 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; return E_NOTIMPL;
} }
......
...@@ -171,7 +171,7 @@ interface IUIFramework : IUnknown ...@@ -171,7 +171,7 @@ interface IUIFramework : IUnknown
HRESULT SetUICommandProperty( HRESULT SetUICommandProperty(
[in] UINT32 commandId, [in] UINT32 commandId,
[in] REFPROPERTYKEY key, [in] REFPROPERTYKEY key,
[in] PROPVARIANT value [in] REFPROPVARIANT value
); );
HRESULT InvalidateUICommand( HRESULT InvalidateUICommand(
[in] UINT32 commandId, [in] UINT32 commandId,
......
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