Commit 6847d595 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null.

parent dbb5d2a8
......@@ -466,6 +466,9 @@ static HRESULT WINAPI DSCF_CreateInstance(
IClassFactoryImpl *This = (IClassFactoryImpl *)iface;
TRACE("(%p)->(%p,%s,%p)\n",This,pOuter,debugstr_guid(riid),ppobj);
if (pOuter)
return CLASS_E_NOAGGREGATION;
if (ppobj == NULL) {
WARN("invalid parameter\n");
return DSERR_INVALIDPARAM;
......
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