16 references to QueryInterface
mscorlib (2)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1172Marshal.QueryInterface(exceptionIUnknown, ref s_iidIErrorInfo, out exceptionIErrorInfo);
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (1)
33int hr = Marshal.QueryInterface(activationFactory, ref iid, out factoryInterface);
System.Management (2)
InteropClasses\WMIInterop.cs (1)
2133if(0 == Marshal.QueryInterface(pComThreadingInfo, ref IID_IObjectContext, out pObjectContext))
wmiutil.cs (1)
56Marshal.QueryInterface(pErrorInfo, ref IWbemClassObjectFreeThreaded.IID_IWbemClassObject, out pIWbemClassObject);
System.ServiceModel (4)
System\ServiceModel\ComIntegration\ComProxy.cs (1)
43int hr = Marshal.QueryInterface(inner, ref riid, out tearoff);
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (2)
169int hr = Marshal.QueryInterface(punk, ref iidPersistStream, out persistStream); 223int hr = Marshal.QueryInterface(punk, ref iidPersistStream, out persistStream);
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (1)
553int hr = Marshal.QueryInterface(pUnk, ref iid, out ppv);
System.Web (2)
Hosting\ProcessHost.cs (1)
1352int hresult = Marshal.QueryInterface(pUnk, ref g, out ppv);
Util\Misc.cs (1)
130int hresult = Marshal.QueryInterface(pUnk, ref g, out ppv);
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
135int hr = Marshal.QueryInterface(pUnknown, ref iid, out pInterface); // AddRef
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Application.cs (1)
2478hr = Marshal.QueryInterface(retval, ref IID_IMsoComponentManager, out pmsocm);
winforms\Managed\System\WinForms\Control.cs (2)
17830int hresult = Marshal.QueryInterface(pUnk, ref iid, out ppv); 18975int hr = Marshal.QueryInterface(pFont, ref iid, out pIFont);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3280Marshal.QueryInterface(punk, ref iidRichEditOleCallback, out pRichEditOleCallback);
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1845Marshal.QueryInterface(editOlePtr, ref iiTextDocumentGuid, out iTextDocument);