47 references to GetIUnknownForObject
mscorlib (7)
system\__comobject.cs (1)
68
return System.Runtime.InteropServices.Marshal.
GetIUnknownForObject
(this);
system\appdomainmanager.cs (1)
212
punkAppDomainManager = Marshal.
GetIUnknownForObject
(this);
system\marshalbyrefobject.cs (1)
55
pUnk = Marshal.
GetIUnknownForObject
(this);
system\Runtime\InteropServices\ComEventsHelper.cs (1)
194
IntPtr punk = Marshal.
GetIUnknownForObject
(rcw);
system\Runtime\InteropServices\Variant.cs (2)
220
*(IntPtr*)this._typeUnion._unionTypes._byref = Marshal.
GetIUnknownForObject
(value);
644
_typeUnion._unionTypes._unknown = Marshal.
GetIUnknownForObject
(value);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1169
exceptionIUnknown = Marshal.
GetIUnknownForObject
(e);
PresentationFramework (4)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
219
IntPtr pObj = Marshal.
GetIUnknownForObject
(initData.HostBrowser);
src\Framework\MS\Internal\Controls\EnumUnknown.cs (1)
73
Marshal.WriteIntPtr(rgelt, Marshal.
GetIUnknownForObject
(this.arr[this.loc]));
src\Framework\System\Windows\Documents\TextStore.cs (1)
2700
attrval.val.data1.Value = Marshal.
GetIUnknownForObject
(obj);
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
311
IntPtr punk = Marshal.
GetIUnknownForObject
(streamContainer);
System (1)
compmod\System\Runtime\InteropServices\StandardOleMarshalObject.cs (1)
43
IntPtr pUnk = Marshal.
GetIUnknownForObject
(this);
System.Data (2)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
955
IntPtr ptr = Marshal.
GetIUnknownForObject
(value); // MDAC 80727
fx\src\data\System\Data\ProviderBase\WrappedIUnknown.cs (1)
35
base.handle = Marshal.
GetIUnknownForObject
(unknown); //
System.IO.Log (1)
System\IO\Log\SmuggledIUnknown.cs (1)
25
base.handle = Marshal.
GetIUnknownForObject
(unknown);
System.Management (6)
Instrumentation\EventSource.cs (1)
396
IntPtr pUnk = Marshal.
GetIUnknownForObject
(comObject);
managementeventwatcher.cs (1)
443
cachedObjects[i] = new IWbemClassObjectFreeThreaded(Marshal.
GetIUnknownForObject
(tempArray[i]));
managementobjectcollection.cs (1)
568
Marshal.
GetIUnknownForObject
(tempArray[i])
managementscope.cs (1)
680
IntPtr pUnk = Marshal.
GetIUnknownForObject
(wbemServices);
property.cs (2)
331
((ManagementBaseObject[])val) [i] = new ManagementBaseObject(new IWbemClassObjectFreeThreaded(Marshal.
GetIUnknownForObject
(wmiValueArray.GetValue(i))));
368
val = new ManagementBaseObject(new IWbemClassObjectFreeThreaded(Marshal.
GetIUnknownForObject
(wmiValue)));
System.ServiceModel (5)
System\ServiceModel\Administration\WbemProvider.cs (1)
164
IntPtr pUnk = Marshal.
GetIUnknownForObject
(comObject);
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (1)
440
IntPtr secCtx = Marshal.
GetIUnknownForObject
(this);
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (2)
160
IntPtr punk = Marshal.
GetIUnknownForObject
(obj);
214
IntPtr punk = Marshal.
GetIUnknownForObject
(obj);
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (1)
546
IntPtr pUnk = Marshal.
GetIUnknownForObject
(obj);
System.Web (2)
Hosting\ProcessHost.cs (1)
1340
IntPtr pUnk = Marshal.
GetIUnknownForObject
(defaultDomainCallback);
Util\Misc.cs (1)
118
IntPtr pUnk = Marshal.
GetIUnknownForObject
(proxyFunctions);
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
134
pUnknown = Marshal.
GetIUnknownForObject
(o); // AddRef
System.Windows.Forms (17)
winforms\Managed\System\WinForms\AxHost.cs (2)
3306
IntPtr pUnk = Marshal.
GetIUnknownForObject
(GetOcx());
5217
Marshal.WriteIntPtr(rgelt, Marshal.
GetIUnknownForObject
(arr[loc]));
winforms\Managed\System\WinForms\ComboBox.cs (1)
3979
punkAcc = Marshal.
GetIUnknownForObject
(iacc);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
97
objAddrs[i] = Marshal.
GetIUnknownForObject
(objs[i]);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
838
IntPtr pTypeInfoUnk = Marshal.
GetIUnknownForObject
(enumTypeInfo);
winforms\Managed\System\WinForms\Control.cs (3)
13101
punkAcc = Marshal.
GetIUnknownForObject
(iacc);
17804
unknown = Marshal.
GetIUnknownForObject
(obj);
18972
IntPtr pFont = Marshal.
GetIUnknownForObject
(oleFont);
winforms\Managed\System\WinForms\HtmlDocument.cs (2)
1211
leftPtr = Marshal.
GetIUnknownForObject
(left.NativeHtmlDocument2);
1212
rightPtr = Marshal.
GetIUnknownForObject
(right.NativeHtmlDocument2);
winforms\Managed\System\WinForms\HtmlElement.cs (2)
1544
leftPtr = Marshal.
GetIUnknownForObject
(left.NativeHtmlElement);
1545
rightPtr = Marshal.
GetIUnknownForObject
(right.NativeHtmlElement);
winforms\Managed\System\WinForms\HtmlWindow.cs (2)
789
leftPtr = Marshal.
GetIUnknownForObject
(left.NativeHtmlWindow);
790
rightPtr = Marshal.
GetIUnknownForObject
(right.NativeHtmlWindow);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4371
v.data1 = Marshal.
GetIUnknownForObject
(var);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3276
IntPtr punk = Marshal.
GetIUnknownForObject
(oleCallback);
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1838
editOlePtr = Marshal.
GetIUnknownForObject
(editOle);
UIAutomationClient (1)
MS\Internal\Automation\UiaCoreAPI.cs (1)
1152
IntPtr errorInfoAsIntPtr = Marshal.
GetIUnknownForObject
(errorInfo);