Changeset 8620 for trunk/src/ole32/oleproxy.c
- Timestamp:
- Jun 9, 2002, 6:37:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/oleproxy.c
r8441 r8620 250 250 } 251 251 252 /* Since we create proxy buffers and classfactory in a pair, there is 253 * no need for 2 seperate structs. Just put them in one, but remember 252 /* Since we create proxy buffers and classfactory in a pair, there is 253 * no need for 2 seperate structs. Just put them in one, but remember 254 254 * the refcount. 255 255 */ … … 348 348 TRACE("(%p,%s,%p)\n",pUnkOuter,debugstr_guid(riid),ppv); 349 349 350 /* Send CreateInstance to the remote classfactory. 350 /* Send CreateInstance to the remote classfactory. 351 351 * 352 352 * Data: Only the 'IID'. … … 437 437 PSFacBuf_QueryInterface(LPPSFACTORYBUFFER iface, REFIID iid, LPVOID *ppv) { 438 438 if (IsEqualIID(iid,&IID_IPSFactoryBuffer)||IsEqualIID(iid,&IID_IUnknown)) { 439 *ppv = (LPVOID)iface; 439 *ppv = (LPVOID)iface; 440 440 /* No ref counting, static class */ 441 441 return S_OK; … … 453 453 IRpcProxyBuffer **ppProxy, LPVOID *ppv 454 454 ) { 455 if (IsEqualIID(&IID_IClassFactory,riid)) 455 if (IsEqualIID(&IID_IClassFactory,riid) || 456 IsEqualIID(&IID_IUnknown,riid) 457 ) 456 458 return CFProxy_Construct(ppv,(LPVOID*)ppProxy); 457 459 FIXME("proxying not implemented for (%s) yet!\n",debugstr_guid(riid)); … … 468 470 TRACE("(%s,%p,%p)\n",debugstr_guid(riid),pUnkServer,ppStub); 469 471 470 if (IsEqualIID(&IID_IClassFactory,riid)) { 472 if (IsEqualIID(&IID_IClassFactory,riid) || 473 IsEqualIID(&IID_IUnknown,riid) 474 ) { 471 475 hres = CFStub_Construct(ppStub); 472 476 if (!hres) … … 498 502 if (IsEqualIID(rclsid,&CLSID_PSFactoryBuffer)) { 499 503 *ppv = &lppsfac; 500 /* If we create a ps factory, we might need a stub manager later 504 /* If we create a ps factory, we might need a stub manager later 501 505 * anyway 502 506 */ … … 504 508 return S_OK; 505 509 } 506 if (IsEqualIID(rclsid,&CLSID_DfMarshal)&&IsEqualIID(iid,&IID_IClassFactory)) 510 if (IsEqualIID(rclsid,&CLSID_DfMarshal)&&( 511 IsEqualIID(iid,&IID_IClassFactory) || 512 IsEqualIID(iid,&IID_IUnknown) 513 ) 514 ) 507 515 return MARSHAL_GetStandardMarshalCF(ppv); 508 516 FIXME("\n\tCLSID:\t%s,\n\tIID:\t%s\n",debugstr_guid(rclsid),debugstr_guid(iid));
Note:
See TracChangeset
for help on using the changeset viewer.