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