115 references to IUnknown
ComSvcConfig (2)
ComplusTypeValidator.cs (1)
323marshalAs == UnmanagedType.IUnknown)
SafeNativeMethods.cs (1)
471[Out, MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.IUnknown, SizeParamIndex = 0)] object[] elementArray,
mscorlib (26)
system\deployment\cdf.cs (1)
49int Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, ArraySubType=UnmanagedType.IUnknown)] object[] rgelt, ref uint celtFetched);
system\deployment\isolationinterop.cs (15)
2238[return :MarshalAs(UnmanagedType.IUnknown)] 2269[return:MarshalAs(UnmanagedType.IUnknown)] 2277[return:MarshalAs(UnmanagedType.IUnknown)] 2285[return:MarshalAs(UnmanagedType.IUnknown)] 2293[return:MarshalAs(UnmanagedType.IUnknown)] 2319[return:MarshalAs(UnmanagedType.IUnknown)] 2327[return:MarshalAs(UnmanagedType.IUnknown)] 2336[return:MarshalAs(UnmanagedType.IUnknown)] 2370[return:MarshalAs(UnmanagedType.IUnknown)] 2379[return:MarshalAs(UnmanagedType.IUnknown)] 2388[return:MarshalAs(UnmanagedType.IUnknown)] 2905[return:MarshalAs(UnmanagedType.IUnknown)] 2931[return :MarshalAs(UnmanagedType.IUnknown)] 2941[return :MarshalAs(UnmanagedType.IUnknown)] 2950[return :MarshalAs(UnmanagedType.IUnknown)]
system\runtime\interopservices\ComTypes\itypeinfo.cs (3)
322void Invoke([MarshalAs(UnmanagedType.IUnknown)] Object pvInstance, int memid, Int16 wFlags, ref DISPPARAMS pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, out int puArgErr); 327void CreateInstance([MarshalAs(UnmanagedType.IUnknown)] Object pUnkOuter, [In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown), Out] out Object ppvObj);
system\runtime\interopservices\ComTypes\itypeinfo2.cs (3)
33new void Invoke([MarshalAs(UnmanagedType.IUnknown)] Object pvInstance, int memid, Int16 wFlags, ref DISPPARAMS pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, out int puArgErr); 38new void CreateInstance([MarshalAs(UnmanagedType.IUnknown)] Object pUnkOuter, [In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown), Out] out Object ppvObj);
system\runtime\interopservices\icustomadapter.cs (1)
23[return:MarshalAs(UnmanagedType.IUnknown)] Object GetUnderlyingObject();
system\runtime\interopservices\ucomitypeinfo.cs (3)
320void Invoke([MarshalAs(UnmanagedType.IUnknown)] Object pvInstance, int memid, Int16 wFlags, ref DISPPARAMS pDispParams, out Object pVarResult, out EXCEPINFO pExcepInfo, out int puArgErr); 325void CreateInstance([MarshalAs(UnmanagedType.IUnknown)] Object pUnkOuter, ref Guid riid, [MarshalAs(UnmanagedType.IUnknown), Out] out Object ppvObj);
PresentationBuildTasks (1)
BuildTasks\MS\Internal\Tasks\IVsMSBuildTaskFileManager.cs (1)
54[return:MarshalAs(UnmanagedType.IUnknown)]
PresentationFramework (18)
src\Framework\MS\Internal\AppModel\IBrowserCallbackServices.cs (1)
225int GetOleClientSite([Out, MarshalAs(UnmanagedType.IUnknown)] out object oleClientSite);
src\Framework\MS\Internal\AppModel\ShellProvider.cs (8)
117[return: MarshalAs(UnmanagedType.IUnknown)] 134[return: MarshalAs(UnmanagedType.IUnknown)] 138void AddObject([MarshalAs(UnmanagedType.IUnknown)] object punk); 327[MarshalAs(UnmanagedType.IUnknown)] object punkCreateObject, // factory for low-rights creation of type ICreateObject 666void RemoveDestination([MarshalAs(UnmanagedType.IUnknown)] object punk); 701[return: MarshalAs(UnmanagedType.IUnknown)] 908HRESULT ThumbBarSetImageList(IntPtr hwnd, [MarshalAs(UnmanagedType.IUnknown)] object himl); 956[PreserveSig] new HRESULT ThumbBarSetImageList(IntPtr hwnd, [MarshalAs(UnmanagedType.IUnknown)] object himl);
src\Framework\System\Windows\Standard\ShellProvider.cs (9)
395void Next(uint celt, [In] ref Guid riid, [Out, MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.IUnknown, IidParameterIndex = 1, SizeParamIndex = 0)] object[] rgelt, [Out] out uint pceltFetched); 421[return: MarshalAs(UnmanagedType.IUnknown)] 434[return: MarshalAs(UnmanagedType.IUnknown)] 438void AddObject([MarshalAs(UnmanagedType.IUnknown)] object punk); 640[MarshalAs(UnmanagedType.IUnknown)] object punkCreateObject, // factory for low-rights creation of type ICreateObject 789void RemoveDestination([MarshalAs(UnmanagedType.IUnknown)] object punk); 818[return: MarshalAs(UnmanagedType.IUnknown)] 928HRESULT ThumbBarSetImageList(IntPtr hwnd, [MarshalAs(UnmanagedType.IUnknown)] object himl); 972[PreserveSig] new HRESULT ThumbBarSetImageList(IntPtr hwnd, [MarshalAs(UnmanagedType.IUnknown)] object himl);
System (2)
compmod\System\Runtime\InteropServices\ComTypes\STGMEDIUM.cs (1)
16[MarshalAs(UnmanagedType.IUnknown)]
net\System\Net\UnsafeNativeMethods.cs (1)
3417[MarshalAs(UnmanagedType.IUnknown)] out Object o );
System.Management (9)
Instrumentation\EventSource.cs (1)
81[return:MarshalAs(UnmanagedType.IUnknown)]
InteropClasses\WMIInterop.cs (5)
857[PreserveSig] int CreateObjectStub_([In][MarshalAs(UnmanagedType.IUnknown)] object pObject, [Out][MarshalAs(UnmanagedType.IUnknown)] out object ppStub); 1036[PreserveSig] int Register_([In] Int32 flags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext context, [In][MarshalAs(UnmanagedType.LPWStr)] string user, [In][MarshalAs(UnmanagedType.LPWStr)] string locale, [In][MarshalAs(UnmanagedType.LPWStr)] string scope, [In][MarshalAs(UnmanagedType.LPWStr)] string registration, [In][MarshalAs(UnmanagedType.IUnknown)] object unknown); 1059[PreserveSig] int IndicateWithSD_([In] Int32 lNumObjects, [In][MarshalAs(UnmanagedType.IUnknown)] ref object apObjects, [In] Int32 lSDLength, [In] ref Byte pSD); 1062[PreserveSig] int GetRestrictedSink_([In] Int32 lNumQueries, [In][MarshalAs(UnmanagedType.LPWStr)] ref string awszQueries, [In][MarshalAs(UnmanagedType.IUnknown)] object pCallback, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemEventSink ppSink);
managementscope.cs (3)
99internal delegate int BlessIWbemServicesObject([MarshalAs(UnmanagedType.IUnknown)] object pIUnknown, 141internal delegate int GetDemultiplexedStub([In,MarshalAs(UnmanagedType.IUnknown)]object pIUnknown, [In]bool isLocal, [Out,MarshalAs(UnmanagedType.IUnknown)]out object ppIUnknown);
System.ServiceModel (6)
System\ServiceModel\Activation\ListenerUnsafeNativeMethods.cs (1)
242void GetDefaultDomain([MarshalAs(UnmanagedType.IUnknown)] out object pAppDomain);
System\ServiceModel\Administration\WbemNative.cs (1)
294[In][MarshalAs(UnmanagedType.IUnknown)] object unknown
System\ServiceModel\ComIntegration\ComPlusTypeValidator.cs (1)
49marshalAs == UnmanagedType.IUnknown)
System\ServiceModel\ComIntegration\IClassFactory.cs (1)
12object CreateInstance([In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In, MarshalAs(UnmanagedType.LPStruct)] Guid riid);
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (2)
427[In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, 452[In, MarshalAs(UnmanagedType.IUnknown)] object pIUnknown,
System.Windows.Forms (38)
parent\parent\parent\public\Internal\NDP\Inc\cdf.cs (1)
54int Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, ArraySubType=UnmanagedType.IUnknown)] object[] rgelt, ref uint celtFetched);
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (17)
2254[return :MarshalAs(UnmanagedType.IUnknown)] 2285[return:MarshalAs(UnmanagedType.IUnknown)] 2293[return:MarshalAs(UnmanagedType.IUnknown)] 2301[return:MarshalAs(UnmanagedType.IUnknown)] 2309[return:MarshalAs(UnmanagedType.IUnknown)] 2335[return:MarshalAs(UnmanagedType.IUnknown)] 2343[return:MarshalAs(UnmanagedType.IUnknown)] 2352[return:MarshalAs(UnmanagedType.IUnknown)] 2386[return:MarshalAs(UnmanagedType.IUnknown)] 2395[return:MarshalAs(UnmanagedType.IUnknown)] 2404[return:MarshalAs(UnmanagedType.IUnknown)] 2921[return:MarshalAs(UnmanagedType.IUnknown)] 2947[return :MarshalAs(UnmanagedType.IUnknown)] 2957[return :MarshalAs(UnmanagedType.IUnknown)] 2966[return :MarshalAs(UnmanagedType.IUnknown)] 2973[return :MarshalAs(UnmanagedType.IUnknown)] 2992[return :MarshalAs(UnmanagedType.IUnknown)]
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (1)
233[return: MarshalAs(UnmanagedType.IUnknown)]
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (19)
960public static extern int SendMessage(HandleRef hWnd, int msg, int wParam, [Out, MarshalAs(UnmanagedType.IUnknown)]out object editOle); 4885[PreserveSig()] int GetConfiguration([MarshalAs(UnmanagedType.IUnknown)] out object pConfiguration); 4897[MarshalAs(UnmanagedType.IUnknown)] object pIdentityArray, // Optional 4898[MarshalAs(UnmanagedType.IUnknown)] out object pAppDomain); 4901[PreserveSig()] int GetDefaultDomain([MarshalAs(UnmanagedType.IUnknown)] out object pAppDomain); 4910[MarshalAs(UnmanagedType.IUnknown)] out object pAppDomain); 4916[MarshalAs(UnmanagedType.IUnknown)] object pSetup, // Optional 4917[MarshalAs(UnmanagedType.IUnknown)] object pEvidence, // Optional 4918[MarshalAs(UnmanagedType.IUnknown)] out object pAppDomain); 4920[PreserveSig()] int CreateDomainSetup([MarshalAs(UnmanagedType.IUnknown)] out object pAppDomainSetup); 4922[PreserveSig()] int CreateEvidence([MarshalAs(UnmanagedType.IUnknown)] out object pEvidence); 4924[PreserveSig()] int UnloadDomain([MarshalAs(UnmanagedType.IUnknown)] object pAppDomain); 4927[PreserveSig()] int CurrentDomain([MarshalAs(UnmanagedType.IUnknown)] out object pAppDomain); 8527[return: MarshalAs(UnmanagedType.IUnknown)] 8662[return: MarshalAs(UnmanagedType.IUnknown)] 8727[return: MarshalAs(UnmanagedType.IUnknown)] 8800[return: MarshalAs(UnmanagedType.IUnknown)] 8808[return: MarshalAs(UnmanagedType.IUnknown)] 8880[return: MarshalAs(UnmanagedType.IUnknown)]
System.Workflow.ComponentModel (6)
AuthoringOM\Compiler\PDBReader.cs (5)
172void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object metaDataImport, [In, MarshalAs(UnmanagedType.LPWStr)] string pdbPath, [In, MarshalAs(UnmanagedType.LPWStr)] string searchPath, [In, MarshalAs(UnmanagedType.IUnknown)] object stream); 198uint GetOffset([In, MarshalAs(UnmanagedType.IUnknown)] ISymUnmanagedDocument document, uint line, uint column); 199void GetRanges([In, MarshalAs(UnmanagedType.IUnknown)] ISymUnmanagedDocument document, uint line, uint column, uint rangeCount, [Out] out uint actualRangeCount, [In, Out, MarshalAs(UnmanagedType.LPArray)] uint[] ranges); 249void OpenScope([In, MarshalAs(UnmanagedType.LPWStr)] string scope, uint flags, [In] ref Guid riid, [Out, MarshalAs(UnmanagedType.IUnknown)] out object unknown);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
781int OpenScope([In, MarshalAs(UnmanagedType.LPWStr)]string scopeName, uint openFlags, [In]ref Guid riid, [Out, MarshalAs(UnmanagedType.IUnknown)] out object unknown);
System.Workflow.Runtime (2)
DebugEngine\ProgramPublisher.cs (2)
135void Publish([MarshalAs(UnmanagedType.IUnknown)] object ProgramNode); 136void Unpublish([MarshalAs(UnmanagedType.IUnknown)] object ProgramNode);
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\Tom.cs (2)
138[PreserveSig]int GetEmbeddedObject([MarshalAs(UnmanagedType.IUnknown)]out object ppObj); 201[PreserveSig]new int GetEmbeddedObject([MarshalAs(UnmanagedType.IUnknown)]out object ppObj);
MS\Win32\UnsafeNativeMethods.cs (1)
86internal static extern int AccessibleObjectFromWindow(IntPtr hwnd, int idObject, ref Guid iid, [In, Out, MarshalAs(UnmanagedType.IUnknown)] ref object ppvObject);
WindowsBase (2)
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (2)
3419[return: MarshalAs(UnmanagedType.IUnknown)] 3436[return: MarshalAs(UnmanagedType.IUnknown)]