Commit dbac3f17 authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

shlwapi: Implement IUnknown_UIActivateIO.

parent 9b38ffe6
......@@ -1475,6 +1475,43 @@ HRESULT WINAPI IUnknown_QueryService(IUnknown* lpUnknown, REFGUID sid, REFIID ri
}
/*************************************************************************
* @ [SHLWAPI.479]
*
* Call an object's UIActivateIO method.
*
* PARAMS
* unknown [I] Object to call the UIActivateIO method on
* activate [I] Parameter for UIActivateIO call
* msg [I] Parameter for UIActivateIO call
*
* RETURNS
* Success: Value of UI_ActivateIO call
* Failure: An HRESULT error code
*
* NOTES
* unknown is expected to support the IInputObject interface.
*/
HRESULT WINAPI IUnknown_UIActivateIO(IUnknown *unknown, BOOL activate, LPMSG msg)
{
IInputObject* object = NULL;
HRESULT ret;
if (!unknown)
return E_FAIL;
/* Get an IInputObject interface from the object */
ret = IUnknown_QueryInterface(unknown, &IID_IInputObject, (LPVOID*) &object);
if (ret == S_OK)
{
ret = IInputObject_UIActivateIO(object, activate, msg);
IUnknown_Release(object);
}
return ret;
}
/*************************************************************************
* @ [SHLWAPI.177]
*
* Loads a popup menu.
......
......@@ -476,7 +476,7 @@
476 stub -noname SHGetObjectCompatFlags
477 stub -noname SHCreatePropertyBagOnMemory
478 stdcall -noname IUnknown_TranslateAcceleratorIO(ptr ptr)
479 stub -noname IUnknown_UIActivateIO
479 stdcall -noname IUnknown_UIActivateIO(ptr long ptr)
480 stdcall -noname UrlCrackW(wstr long long ptr) wininet.InternetCrackUrlW
481 stdcall -noname IUnknown_HasFocusIO(ptr)
482 stub -noname SHMessageBoxHelpA
......
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