Commit fe7c3208 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wmp: Added IProvideClassInfo2::GetGUID implementation.

parent a6a52739
......@@ -291,8 +291,16 @@ static HRESULT WINAPI ProvideClassInfo2_GetClassInfo(IProvideClassInfo2 *iface,
static HRESULT WINAPI ProvideClassInfo2_GetGUID(IProvideClassInfo2 *iface, DWORD dwGuidKind, GUID *pGUID)
{
WindowsMediaPlayer *This = impl_from_IProvideClassInfo2(iface);
FIXME("(%p)->(%d %p)\n", This, dwGuidKind, pGUID);
return E_NOTIMPL;
TRACE("(%p)->(%d %p)\n", This, dwGuidKind, pGUID);
if(dwGuidKind != GUIDKIND_DEFAULT_SOURCE_DISP_IID) {
FIXME("Unexpected dwGuidKind %d\n", dwGuidKind);
return E_INVALIDARG;
}
*pGUID = IID__WMPOCXEvents;
return S_OK;
}
static const IProvideClassInfo2Vtbl ProvideClassInfo2Vtbl = {
......
......@@ -31,6 +31,15 @@ import "ocidl.idl";
uuid(6bf52a50-394a-11d3-b153-00c04f79Faa6)
]
library WMPLib {
importlib("stdole2.tlb");
[
hidden,
uuid(6bf52a51-394a-11d3-b153-00c04f79faa6)
]
interface _WMPOCXEvents : IDispatch
{}
[
helpstring("Windows Media Player"),
threading(apartment),
......
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