Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 77 of file provider.c.
{ HRESULT hr = S_OK; IDxDiagProviderImpl *This = (IDxDiagProviderImpl *)iface; TRACE("(%p,%p)\n", iface, ppInstance); if (NULL == ppInstance) { return E_INVALIDARG; } if (FALSE == This->init) { return E_INVALIDARG; /* should be E_CO_UNINITIALIZED */ } if (NULL == This->pRootContainer) { hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, (void**) &This->pRootContainer); if (FAILED(hr)) { return hr; } } return IDxDiagContainerImpl_QueryInterface((PDXDIAGCONTAINER)This->pRootContainer, &IID_IDxDiagContainer, (void**) ppInstance); }