wmp: Added IProvideClassInfo2::GetGUID implementation.
This commit is contained in:
parent
a6a5273959
commit
fe7c32081f
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue