54 references to IDispatch
ComSvcConfig (2)
ComAdminInterfaces.cs (1)
514
[return: MarshalAs(UnmanagedType.
IDispatch
)]
ComplusTypeValidator.cs (1)
321
if (marshalAs == UnmanagedType.
IDispatch
||
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\IBrowserCallbackServices.cs (1)
315
object HostScriptObject { [return:MarshalAs(UnmanagedType.
IDispatch
)] get; }
src\Framework\MS\Internal\Controls\ActiveXHelper.cs (2)
168
[return: MarshalAs(UnmanagedType.
IDispatch
)]
169
internal static extern object CreateIDispatchSTAForwarder([MarshalAs(UnmanagedType.
IDispatch
)] object pDispatchDelegate);
System.ServiceModel (2)
System\ServiceModel\ComIntegration\AdminSDK.cs (1)
302
[return: MarshalAs(UnmanagedType.
IDispatch
)]
System\ServiceModel\ComIntegration\ComPlusTypeValidator.cs (1)
47
if (marshalAs == UnmanagedType.
IDispatch
||
System.Windows.Forms (30)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (30)
1805
[Out, MarshalAs(UnmanagedType.
IDispatch
)]
2242
[DispId(200)] object Application {[return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
2243
[DispId(201)] object Parent {[return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
2244
[DispId(202)] object Container {[return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
2245
[DispId(203)] object Document {[return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
2304
[DispId(250)] void BeforeNavigate2([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
2308
[DispId(251)] void NewWindow2([In, Out, MarshalAs(UnmanagedType.
IDispatch
)] ref object pDisp,
2310
[DispId(252)] void NavigateComplete2([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
2312
[DispId(259)] void DocumentComplete([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
2330
[DispId(271)] void NavigateError([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
2332
[DispId(225)] void PrintTemplateInstantiation([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp);
2333
[DispId(226)] void PrintTemplateTeardown([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp);
2334
[DispId(227)] void UpdatePageStatus([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
2342
[return: MarshalAs(UnmanagedType.
IDispatch
)] object GetScript();
2348
[return: MarshalAs(UnmanagedType.
IDispatch
)] object GetScript();
2469
bool AttachEvent([In] string ev, [In, MarshalAs(UnmanagedType.
IDispatch
)] object pdisp);
2470
void DetachEvent([In] string ev, [In, MarshalAs(UnmanagedType.
IDispatch
)] object pdisp);
2497
[return: MarshalAs(UnmanagedType.
IDispatch
)] object GetChildNodes();
2582
[return: MarshalAs(UnmanagedType.
IDispatch
)] object Item([In] ref object pvarIndex);
2599
[return: MarshalAs(UnmanagedType.
IDispatch
)] object GetOpener();
2659
bool AttachEvent(string ev, [In, MarshalAs(UnmanagedType.
IDispatch
)] object pdisp);
2660
void DetachEvent(string ev, [In, MarshalAs(UnmanagedType.
IDispatch
)] object pdisp);
2675
[return: MarshalAs(UnmanagedType.
IDispatch
)] object CreatePopup([In] ref object reserved);
2884
[return: MarshalAs(UnmanagedType.
IDispatch
)] object Item(object idOrName, object index);
2978
[return: MarshalAs(UnmanagedType.
IDispatch
)] object GetChildren();
2979
[return: MarshalAs(UnmanagedType.
IDispatch
)] object GetAll();
3045
bool AttachEvent(string ev, [In, MarshalAs(UnmanagedType.
IDispatch
)] object pdisp);
3046
void DetachEvent(string ev, [In, MarshalAs(UnmanagedType.
IDispatch
)] object pdisp);
7833
[return: MarshalAs(UnmanagedType.
IDispatch
)]
7842
[return: MarshalAs(UnmanagedType.
IDispatch
)]
WindowsBase (17)
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (17)
2242
[Out, MarshalAs(UnmanagedType.
IDispatch
)]
3496
object Application { [return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
3498
object Parent { [return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
3500
object Container { [return: MarshalAs(UnmanagedType.
IDispatch
)]get;}
3506
object Document { [return: MarshalAs(UnmanagedType.
IDispatch
)]
3625
void PrintTemplateInstantiation([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp);
3627
void PrintTemplateTeardown([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp);
3629
void UpdatePageStatus([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
3632
void BeforeNavigate2([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
3637
void NewWindow2([In, Out, MarshalAs(UnmanagedType.
IDispatch
)] ref object pDisp,
3640
void NavigateComplete2([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
3643
void DocumentComplete([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
3678
void NavigateError([In, MarshalAs(UnmanagedType.
IDispatch
)] object pDisp,
3796
[Out, MarshalAs(UnmanagedType.
IDispatch
)]
3831
[return: MarshalAs(UnmanagedType.
IDispatch
)]
3849
[return: MarshalAs(UnmanagedType.
IDispatch
)]
4023
[return: MarshalAs(UnmanagedType.
IDispatch
)] object CreatePopup([In] ref object reserved);