2 implementations of IMsoComponent
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (1)
2315
internal sealed class ThreadContext : MarshalByRefObject, UnsafeNativeMethods.
IMsoComponent
{
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (1)
250
internal class ComponentManagerProxy : MarshalByRefObject, UnsafeNativeMethods.IMsoComponentManager, UnsafeNativeMethods.
IMsoComponent
{
58 references to IMsoComponent
System.Windows.Forms (58)
winforms\Managed\System\WinForms\Application.cs (23)
1678
public UnsafeNativeMethods.
IMsoComponent
component;
1684
private UnsafeNativeMethods.
IMsoComponent
activeComponent = null;
1685
private UnsafeNativeMethods.
IMsoComponent
trackingComponent = null;
1740
bool UnsafeNativeMethods.IMsoComponentManager.FRegisterComponent(UnsafeNativeMethods.
IMsoComponent
component,
2058
UnsafeNativeMethods.
IMsoComponent
prevActive = this.activeComponent;
2066
UnsafeNativeMethods.
IMsoComponent
requestingComponent;
2086
UnsafeNativeMethods.
IMsoComponent
component;
2268
UnsafeNativeMethods.
IMsoComponent
[] ppic,
2272
UnsafeNativeMethods.
IMsoComponent
component = null;
3140
UnsafeNativeMethods.
IMsoComponent
[] activeComponents = new UnsafeNativeMethods.
IMsoComponent
[1];
3791
bool UnsafeNativeMethods.
IMsoComponent
.FDebugMessage(IntPtr hInst, int msg, IntPtr wparam, IntPtr lparam)
3804
bool UnsafeNativeMethods.
IMsoComponent
.FPreTranslateMessage(ref NativeMethods.MSG msg) {
3825
void UnsafeNativeMethods.
IMsoComponent
.OnEnterState(int uStateID, bool fEnter) {
3856
void UnsafeNativeMethods.
IMsoComponent
.OnAppActivate(bool fActive, int dwOtherThreadID) {
3864
void UnsafeNativeMethods.
IMsoComponent
.OnLoseActivation() {
3903
void UnsafeNativeMethods.
IMsoComponent
.OnActivationChange(UnsafeNativeMethods.
IMsoComponent
component, bool fSameComponent,
3928
bool UnsafeNativeMethods.
IMsoComponent
.FDoIdle(int grfidlef) {
3950
bool UnsafeNativeMethods.
IMsoComponent
.FContinueMessageLoop(int reason, int pvLoopData, NativeMethods.MSG[] msgPeeked) {
4013
bool UnsafeNativeMethods.
IMsoComponent
.FQueryTerminate(bool fPromptUser) {
4024
void UnsafeNativeMethods.
IMsoComponent
.Terminate() {
4040
IntPtr UnsafeNativeMethods.
IMsoComponent
.HwndGetWindow(int dwWhich, int dwReserved) {
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (32)
258
private Dictionary<int, UnsafeNativeMethods.
IMsoComponent
> _components;
259
private UnsafeNativeMethods.
IMsoComponent
_activeComponent;
261
private UnsafeNativeMethods.
IMsoComponent
_trackingComponent;
293
private UnsafeNativeMethods.
IMsoComponent
Component {
302
bool UnsafeNativeMethods.
IMsoComponent
.FDebugMessage(IntPtr hInst, int msg, IntPtr wparam, IntPtr lparam) {
303
UnsafeNativeMethods.
IMsoComponent
c = Component;
312
bool UnsafeNativeMethods.
IMsoComponent
.FPreTranslateMessage(ref NativeMethods.MSG msg) {
313
UnsafeNativeMethods.
IMsoComponent
c = Component;
322
void UnsafeNativeMethods.
IMsoComponent
.OnEnterState(int uStateID, bool fEnter) {
324
foreach (UnsafeNativeMethods.
IMsoComponent
c in _components.Values) {
330
void UnsafeNativeMethods.
IMsoComponent
.OnAppActivate(bool fActive, int dwOtherThreadID) {
332
foreach (UnsafeNativeMethods.
IMsoComponent
c in _components.Values) {
338
void UnsafeNativeMethods.
IMsoComponent
.OnLoseActivation() {
344
void UnsafeNativeMethods.
IMsoComponent
.OnActivationChange(UnsafeNativeMethods.
IMsoComponent
component, bool fSameComponent, int pcrinfo, bool fHostIsActivating, int pchostinfo, int dwReserved) {
346
foreach (UnsafeNativeMethods.
IMsoComponent
c in _components.Values) {
352
bool UnsafeNativeMethods.
IMsoComponent
.FDoIdle(int grfidlef) {
356
foreach (UnsafeNativeMethods.
IMsoComponent
c in _components.Values) {
364
bool UnsafeNativeMethods.
IMsoComponent
.FContinueMessageLoop(int reason, int pvLoopData, NativeMethods.MSG[] msgPeeked) {
375
foreach (UnsafeNativeMethods.
IMsoComponent
c in _components.Values) {
383
bool UnsafeNativeMethods.
IMsoComponent
.FQueryTerminate(bool fPromptUser) {
387
void UnsafeNativeMethods.
IMsoComponent
.Terminate() {
389
UnsafeNativeMethods.
IMsoComponent
[] components = new UnsafeNativeMethods.
IMsoComponent
[_components.Values.Count];
391
foreach (UnsafeNativeMethods.
IMsoComponent
c in components) {
403
IntPtr UnsafeNativeMethods.
IMsoComponent
.HwndGetWindow(int dwWhich, int dwReserved) {
404
UnsafeNativeMethods.
IMsoComponent
c = Component;
423
bool UnsafeNativeMethods.IMsoComponentManager.FRegisterComponent(UnsafeNativeMethods.
IMsoComponent
component, NativeMethods.MSOCRINFOSTRUCT pcrinfo, out IntPtr dwComponentID) {
440
_components = new Dictionary<int, UnsafeNativeMethods.
IMsoComponent
>();
556
foreach (UnsafeNativeMethods.
IMsoComponent
comp in _components.Values) {
569
foreach (UnsafeNativeMethods.
IMsoComponent
comp in _components.Values) {
603
bool UnsafeNativeMethods.IMsoComponentManager.FGetActiveComponent(int dwgac, UnsafeNativeMethods.
IMsoComponent
[] ppic, NativeMethods.MSOCRINFOSTRUCT info, int dwReserved) {
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (3)
4982
IMsoComponent
component,
5203
IMsoComponent
[] ppic,
5321
IMsoComponent
component,