4470 references to UnsafeNativeMethods
System.Windows.Forms (4470)
misc\DpiHelper.cs (3)
108IntPtr hDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 111deviceDpi = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), CAPS.LOGPIXELSX); 113UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hDC));
winforms\Managed\System\WinForms\AccessibleObject.cs (348)
35UnsafeNativeMethods.IAccessibleEx, 36UnsafeNativeMethods.IServiceProvider, 37UnsafeNativeMethods.IRawElementProviderSimple, 38UnsafeNativeMethods.IRawElementProviderFragment, 39UnsafeNativeMethods.IRawElementProviderFragmentRoot, 40UnsafeNativeMethods.IInvokeProvider, 41UnsafeNativeMethods.IValueProvider, 42UnsafeNativeMethods.IRangeValueProvider, 43UnsafeNativeMethods.IExpandCollapseProvider, 44UnsafeNativeMethods.IToggleProvider, 45UnsafeNativeMethods.ITableProvider, 46UnsafeNativeMethods.ITableItemProvider, 47UnsafeNativeMethods.IGridProvider, 48UnsafeNativeMethods.IGridItemProvider, 49UnsafeNativeMethods.IEnumVariant, 50UnsafeNativeMethods.IOleWindow, 51UnsafeNativeMethods.ILegacyIAccessibleProvider, 52UnsafeNativeMethods.ISelectionProvider, 53UnsafeNativeMethods.ISelectionItemProvider, 54UnsafeNativeMethods.IRawElementProviderHwndOverride, 55UnsafeNativeMethods.IScrollItemProvider { 70private UnsafeNativeMethods.IEnumVariant systemIEnumVariant = null; 71private UnsafeNativeMethods.IEnumVariant enumVariant = null; 74private UnsafeNativeMethods.IOleWindow systemIOleWindow = null; 170private UnsafeNativeMethods.IEnumVariant EnumVariant { 558return (int)(UnsafeNativeMethods.ProviderOptions.ServerSideProvider | UnsafeNativeMethods.ProviderOptions.UseComThreading); 562internal virtual UnsafeNativeMethods.IRawElementProviderSimple HostRawElementProvider { 636internal virtual UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 640internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetEmbeddedFragmentRoots() { 653internal virtual UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 663internal virtual UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { 667internal virtual UnsafeNativeMethods.IRawElementProviderFragment GetFocus() { 681internal virtual UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 683return UnsafeNativeMethods.ExpandCollapseState.Collapsed; 694internal virtual UnsafeNativeMethods.ToggleState ToggleState { 696return UnsafeNativeMethods.ToggleState.ToggleState_Indeterminate; 704internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaders() { 708internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaders() { 712internal virtual UnsafeNativeMethods.RowOrColumnMajor RowOrColumnMajor { 714return UnsafeNativeMethods.RowOrColumnMajor.RowOrColumnMajor_RowMajor; 722internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaderItems() { 726internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaderItems() { 734internal virtual UnsafeNativeMethods.IRawElementProviderSimple GetItem(int row, int column) { 778internal virtual UnsafeNativeMethods.IRawElementProviderSimple ContainingGrid { 809internal virtual UnsafeNativeMethods.IRawElementProviderSimple GetOverrideProviderForHwnd(IntPtr hwnd) { 854internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetSelection() { 889internal virtual UnsafeNativeMethods.IRawElementProviderSimple ItemSelectionContainer { 911int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid riid, out IntPtr ppvObject) { 917if (service.Equals(UnsafeNativeMethods.guid_IAccessibleEx) && 918riid.Equals(UnsafeNativeMethods.guid_IAccessibleEx)) { 922ppvObject = Marshal.GetComInterfaceForObject(this, typeof(UnsafeNativeMethods.IAccessibleEx)); 930object UnsafeNativeMethods.IAccessibleEx.GetObjectForChild(int childId) { 939int UnsafeNativeMethods.IAccessibleEx.GetIAccessiblePair(out object ppAcc, out int pidChild) { 947int[] UnsafeNativeMethods.IAccessibleEx.GetRuntimeId() { 951int UnsafeNativeMethods.IAccessibleEx.ConvertReturnedElement(object pIn, out object ppRetValOut) { 962UnsafeNativeMethods.ProviderOptions UnsafeNativeMethods.IRawElementProviderSimple.ProviderOptions { 964return (UnsafeNativeMethods.ProviderOptions) ProviderOptions; 968UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderSimple.HostRawElementProvider { 974object UnsafeNativeMethods.IRawElementProviderSimple.GetPatternProvider(int patternId) { 983object UnsafeNativeMethods.IRawElementProviderSimple.GetPropertyValue(int propertyID) { 991object UnsafeNativeMethods.IRawElementProviderFragment.Navigate(UnsafeNativeMethods.NavigateDirection direction) { 995int[] UnsafeNativeMethods.IRawElementProviderFragment.GetRuntimeId() { 999object[] UnsafeNativeMethods.IRawElementProviderFragment.GetEmbeddedFragmentRoots() { 1003void UnsafeNativeMethods.IRawElementProviderFragment.SetFocus() { 1007NativeMethods.UiaRect UnsafeNativeMethods.IRawElementProviderFragment.BoundingRectangle { 1013UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElementProviderFragment.FragmentRoot { 1023object UnsafeNativeMethods.IRawElementProviderFragmentRoot.ElementProviderFromPoint(double x, double y) { 1027object UnsafeNativeMethods.IRawElementProviderFragmentRoot.GetFocus() { 1035string UnsafeNativeMethods.ILegacyIAccessibleProvider.DefaultAction { 1041string UnsafeNativeMethods.ILegacyIAccessibleProvider.Description { 1047string UnsafeNativeMethods.ILegacyIAccessibleProvider.Help { 1053string UnsafeNativeMethods.ILegacyIAccessibleProvider.KeyboardShortcut { 1059string UnsafeNativeMethods.ILegacyIAccessibleProvider.Name { 1065uint UnsafeNativeMethods.ILegacyIAccessibleProvider.Role { 1071uint UnsafeNativeMethods.ILegacyIAccessibleProvider.State { 1077string UnsafeNativeMethods.ILegacyIAccessibleProvider.Value { 1083int UnsafeNativeMethods.ILegacyIAccessibleProvider.ChildId { 1089void UnsafeNativeMethods.ILegacyIAccessibleProvider.DoDefaultAction() { 1093IAccessible UnsafeNativeMethods.ILegacyIAccessibleProvider.GetIAccessible() { 1097object[] UnsafeNativeMethods.ILegacyIAccessibleProvider.GetSelection() { 1098return new UnsafeNativeMethods.IRawElementProviderSimple[] { 1099this.GetSelected() as UnsafeNativeMethods.IRawElementProviderSimple 1103void UnsafeNativeMethods.ILegacyIAccessibleProvider.Select(int flagsSelect) { 1107void UnsafeNativeMethods.ILegacyIAccessibleProvider.SetValue(string szValue) { 1115void UnsafeNativeMethods.IExpandCollapseProvider.Expand() { 1118void UnsafeNativeMethods.IExpandCollapseProvider.Collapse() { 1122UnsafeNativeMethods.ExpandCollapseState UnsafeNativeMethods.IExpandCollapseProvider.ExpandCollapseState { 1132void UnsafeNativeMethods.IInvokeProvider.Invoke() { 1140bool UnsafeNativeMethods.IValueProvider.IsReadOnly { 1146string UnsafeNativeMethods.IValueProvider.Value { 1152void UnsafeNativeMethods.IValueProvider.SetValue(string newValue) { 1160void UnsafeNativeMethods.IToggleProvider.Toggle() { 1164UnsafeNativeMethods.ToggleState UnsafeNativeMethods.IToggleProvider.ToggleState { 1174object[] UnsafeNativeMethods.ITableProvider.GetRowHeaders() { 1178object[] UnsafeNativeMethods.ITableProvider.GetColumnHeaders() { 1182UnsafeNativeMethods.RowOrColumnMajor UnsafeNativeMethods.ITableProvider.RowOrColumnMajor { 1192object[] UnsafeNativeMethods.ITableItemProvider.GetRowHeaderItems() { 1196object[] UnsafeNativeMethods.ITableItemProvider.GetColumnHeaderItems() { 1204object UnsafeNativeMethods.IGridProvider.GetItem(int row, int column) { 1208int UnsafeNativeMethods.IGridProvider.RowCount { 1214int UnsafeNativeMethods.IGridProvider.ColumnCount { 1224int UnsafeNativeMethods.IGridItemProvider.Row { 1230int UnsafeNativeMethods.IGridItemProvider.Column { 1236int UnsafeNativeMethods.IGridItemProvider.RowSpan { 1242int UnsafeNativeMethods.IGridItemProvider.ColumnSpan { 1248UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvider.ContainingGrid { 2152int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) { 2160if (parent is UnsafeNativeMethods.IOleWindow) { 2161return (parent as UnsafeNativeMethods.IOleWindow).GetWindow(out hwnd); 2175void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) { 2184if (parent is UnsafeNativeMethods.IOleWindow) { 2185(parent as UnsafeNativeMethods.IOleWindow).ContextSensitiveHelp(fEnterMode); 2198void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) { 2208int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { 2216void UnsafeNativeMethods.IEnumVariant.Reset() { 2226void UnsafeNativeMethods.IEnumVariant.Skip(int n) { 2392int result = UnsafeNativeMethods.CreateStdAccessibleObject( 2401result = UnsafeNativeMethods.CreateStdAccessibleObject( 2412systemIEnumVariant = (UnsafeNativeMethods.IEnumVariant)en; 2413systemIOleWindow = acc as UnsafeNativeMethods.IOleWindow; 2636UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderHwndOverride.GetOverrideProviderForHwnd(IntPtr hwnd) { 2640bool UnsafeNativeMethods.IRangeValueProvider.IsReadOnly { 2646double UnsafeNativeMethods.IRangeValueProvider.LargeChange { 2652double UnsafeNativeMethods.IRangeValueProvider.Maximum { 2658double UnsafeNativeMethods.IRangeValueProvider.Minimum { 2664double UnsafeNativeMethods.IRangeValueProvider.SmallChange { 2670double UnsafeNativeMethods.IRangeValueProvider.Value { 2676void UnsafeNativeMethods.IRangeValueProvider.SetValue(double value) { 2680object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() { 2684bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple { 2690bool UnsafeNativeMethods.ISelectionProvider.IsSelectionRequired { 2696void UnsafeNativeMethods.ISelectionItemProvider.Select() { 2700void UnsafeNativeMethods.ISelectionItemProvider.AddToSelection() { 2704void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() { 2708bool UnsafeNativeMethods.ISelectionItemProvider.IsSelected { 2714UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItemProvider.SelectionContainer { 2744result = UnsafeNativeMethods.UiaRaiseNotificationEvent( 2769if (UnsafeNativeMethods.UiaClientsAreListening()) { 2770int result = UnsafeNativeMethods.UiaRaiseAutomationEvent(this, eventId); 2778if (UnsafeNativeMethods.UiaClientsAreListening()) { 2779int result = UnsafeNativeMethods.UiaRaiseAutomationPropertyChangedEvent(this, propertyId, oldValue, newValue); 2786internal bool RaiseStructureChangedEvent(UnsafeNativeMethods.StructureChangeType structureChangeType, int[] runtimeId) { 2787if (UnsafeNativeMethods.UiaClientsAreListening()) { 2788int result = UnsafeNativeMethods.UiaRaiseStructureChangedEvent(this, structureChangeType, runtimeId, runtimeId == null ? 0 : runtimeId.Length); 2797void UnsafeNativeMethods.IScrollItemProvider.ScrollIntoView() { 2807private class EnumVariantObject : UnsafeNativeMethods.IEnumVariant { 2823void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) { 2831void UnsafeNativeMethods.IEnumVariant.Reset() { 2851void UnsafeNativeMethods.IEnumVariant.Skip(int n) { 2871int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { 2981private static bool GotoItem(UnsafeNativeMethods.IEnumVariant iev, int index, IntPtr variantPtr) { 3017UnsafeNativeMethods.IAccessibleInternal, 3019UnsafeNativeMethods.IServiceProvider, 3020UnsafeNativeMethods.IAccessibleEx, 3021UnsafeNativeMethods.IRawElementProviderSimple, 3022UnsafeNativeMethods.IRawElementProviderFragment, 3023UnsafeNativeMethods.IRawElementProviderFragmentRoot, 3024UnsafeNativeMethods.IInvokeProvider, 3025UnsafeNativeMethods.IValueProvider, 3026UnsafeNativeMethods.IRangeValueProvider, 3027UnsafeNativeMethods.IExpandCollapseProvider, 3028UnsafeNativeMethods.IToggleProvider, 3029UnsafeNativeMethods.ITableProvider, 3030UnsafeNativeMethods.ITableItemProvider, 3031UnsafeNativeMethods.IGridProvider, 3032UnsafeNativeMethods.IGridItemProvider, 3033UnsafeNativeMethods.IEnumVariant, 3034UnsafeNativeMethods.IOleWindow, 3035UnsafeNativeMethods.ILegacyIAccessibleProvider, 3036UnsafeNativeMethods.ISelectionProvider, 3037UnsafeNativeMethods.ISelectionItemProvider, 3038UnsafeNativeMethods.IRawElementProviderHwndOverride { 3041private UnsafeNativeMethods.IEnumVariant publicIEnumVariant; // AccessibleObject as IEnumVariant 3042private UnsafeNativeMethods.IOleWindow publicIOleWindow; // AccessibleObject as IOleWindow 3045private UnsafeNativeMethods.IServiceProvider publicIServiceProvider; // AccessibleObject as IServiceProvider 3046private UnsafeNativeMethods.IAccessibleEx publicIAccessibleEx; // AccessibleObject as IAccessibleEx 3049private UnsafeNativeMethods.IRawElementProviderSimple publicIRawElementProviderSimple; // AccessibleObject as IRawElementProviderSimple 3050private UnsafeNativeMethods.IRawElementProviderFragment publicIRawElementProviderFragment;// AccessibleObject as IRawElementProviderFragment 3051private UnsafeNativeMethods.IRawElementProviderFragmentRoot publicIRawElementProviderFragmentRoot;// AccessibleObject as IRawElementProviderFragmentRoot 3052private UnsafeNativeMethods.IInvokeProvider publicIInvokeProvider; // AccessibleObject as IInvokeProvider 3053private UnsafeNativeMethods.IValueProvider publicIValueProvider; // AccessibleObject as IValueProvider 3054private UnsafeNativeMethods.IRangeValueProvider publicIRangeValueProvider; // AccessibleObject as IRangeValueProvider 3055private UnsafeNativeMethods.IExpandCollapseProvider publicIExpandCollapseProvider; // AccessibleObject as IExpandCollapseProvider 3056private UnsafeNativeMethods.IToggleProvider publicIToggleProvider; // AccessibleObject as IToggleProvider 3057private UnsafeNativeMethods.ITableProvider publicITableProvider; // AccessibleObject as ITableProvider 3058private UnsafeNativeMethods.ITableItemProvider publicITableItemProvider; // AccessibleObject as ITableItemProvider 3059private UnsafeNativeMethods.IGridProvider publicIGridProvider; // AccessibleObject as IGridProvider 3060private UnsafeNativeMethods.IGridItemProvider publicIGridItemProvider; // AccessibleObject as IGridItemProvider 3061private UnsafeNativeMethods.ILegacyIAccessibleProvider publicILegacyIAccessibleProvider; // AccessibleObject as ILegayAccessibleProvider 3062private UnsafeNativeMethods.ISelectionProvider publicISelectionProvider; // AccessibleObject as ISelectionProvider 3063private UnsafeNativeMethods.ISelectionItemProvider publicISelectionItemProvider; // AccessibleObject as ISelectionItemProvider 3064private UnsafeNativeMethods.IRawElementProviderHwndOverride publicIRawElementProviderHwndOverride; // AccessibleObject as IRawElementProviderHwndOverride 3075publicIEnumVariant = (UnsafeNativeMethods.IEnumVariant) accessibleImplemention; 3076publicIOleWindow = (UnsafeNativeMethods.IOleWindow) accessibleImplemention; 3078publicIServiceProvider = (UnsafeNativeMethods.IServiceProvider) accessibleImplemention; 3079publicIAccessibleEx = (UnsafeNativeMethods.IAccessibleEx) accessibleImplemention; 3080publicIRawElementProviderSimple = (UnsafeNativeMethods.IRawElementProviderSimple) accessibleImplemention; 3081publicIRawElementProviderFragment = (UnsafeNativeMethods.IRawElementProviderFragment)accessibleImplemention; 3082publicIRawElementProviderFragmentRoot = (UnsafeNativeMethods.IRawElementProviderFragmentRoot)accessibleImplemention; 3083publicIInvokeProvider = (UnsafeNativeMethods.IInvokeProvider)accessibleImplemention; 3084publicIValueProvider = (UnsafeNativeMethods.IValueProvider) accessibleImplemention; 3085publicIRangeValueProvider = (UnsafeNativeMethods.IRangeValueProvider)accessibleImplemention; 3086publicIExpandCollapseProvider = (UnsafeNativeMethods.IExpandCollapseProvider) accessibleImplemention; 3087publicIToggleProvider = (UnsafeNativeMethods.IToggleProvider)accessibleImplemention; 3088publicITableProvider = (UnsafeNativeMethods.ITableProvider)accessibleImplemention; 3089publicITableItemProvider = (UnsafeNativeMethods.ITableItemProvider)accessibleImplemention; 3090publicIGridProvider = (UnsafeNativeMethods.IGridProvider)accessibleImplemention; 3091publicIGridItemProvider = (UnsafeNativeMethods.IGridItemProvider)accessibleImplemention; 3092publicILegacyIAccessibleProvider = (UnsafeNativeMethods.ILegacyIAccessibleProvider)accessibleImplemention; 3093publicISelectionProvider = (UnsafeNativeMethods.ISelectionProvider)accessibleImplemention; 3094publicISelectionItemProvider = (UnsafeNativeMethods.ISelectionItemProvider)accessibleImplemention; 3095publicIRawElementProviderHwndOverride = (UnsafeNativeMethods.IRawElementProviderHwndOverride)accessibleImplemention; 3128void UnsafeNativeMethods.IAccessibleInternal.accDoDefaultAction(object childID) { 3133object UnsafeNativeMethods.IAccessibleInternal.accHitTest(int xLeft, int yTop) { 3138void UnsafeNativeMethods.IAccessibleInternal.accLocation(out int l, out int t, out int w, out int h, Object childID) { 3143object UnsafeNativeMethods.IAccessibleInternal.accNavigate(int navDir, object childID) { 3148void UnsafeNativeMethods.IAccessibleInternal.accSelect(int flagsSelect, Object childID) { 3153object UnsafeNativeMethods.IAccessibleInternal.get_accChild(object childID) { 3158int UnsafeNativeMethods.IAccessibleInternal.get_accChildCount() { 3163string UnsafeNativeMethods.IAccessibleInternal.get_accDefaultAction(Object childID) { 3168string UnsafeNativeMethods.IAccessibleInternal.get_accDescription(Object childID) { 3173object UnsafeNativeMethods.IAccessibleInternal.get_accFocus() { 3178string UnsafeNativeMethods.IAccessibleInternal.get_accHelp(Object childID) { 3183int UnsafeNativeMethods.IAccessibleInternal.get_accHelpTopic(out string pszHelpFile, Object childID) { 3188string UnsafeNativeMethods.IAccessibleInternal.get_accKeyboardShortcut(Object childID) { 3193string UnsafeNativeMethods.IAccessibleInternal.get_accName(Object childID) { 3198object UnsafeNativeMethods.IAccessibleInternal.get_accParent() { 3203object UnsafeNativeMethods.IAccessibleInternal.get_accRole(object childID) { 3208object UnsafeNativeMethods.IAccessibleInternal.get_accSelection() { 3213object UnsafeNativeMethods.IAccessibleInternal.get_accState(object childID) { 3218string UnsafeNativeMethods.IAccessibleInternal.get_accValue(object childID) { 3223void UnsafeNativeMethods.IAccessibleInternal.set_accName(Object childID, string newName) { 3228void UnsafeNativeMethods.IAccessibleInternal.set_accValue(Object childID, string newValue) { 3237void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) { 3242int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { 3247void UnsafeNativeMethods.IEnumVariant.Reset() { 3252void UnsafeNativeMethods.IEnumVariant.Skip(int n) { 3261int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) { 3266void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) { 3331int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid riid, out IntPtr ppvObject) { 3338ppvObject = Marshal.GetComInterfaceForObject(this, typeof(UnsafeNativeMethods.IAccessibleEx)); 3348object UnsafeNativeMethods.IAccessibleEx.GetObjectForChild(int idChild) { 3353int UnsafeNativeMethods.IAccessibleEx.GetIAccessiblePair(out object ppAcc, out int pidChild) { 3363int[] UnsafeNativeMethods.IAccessibleEx.GetRuntimeId() { 3369int UnsafeNativeMethods.IAccessibleEx.ConvertReturnedElement(object pIn, out object ppRetValOut) { 3379UnsafeNativeMethods.ProviderOptions UnsafeNativeMethods.IRawElementProviderSimple.ProviderOptions { 3386UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderSimple.HostRawElementProvider { 3393object UnsafeNativeMethods.IRawElementProviderSimple.GetPatternProvider(int patternId) { 3402return (UnsafeNativeMethods.IExpandCollapseProvider)this; 3405return (UnsafeNativeMethods.IValueProvider)this; 3408return (UnsafeNativeMethods.IRangeValueProvider)this; 3411return (UnsafeNativeMethods.IToggleProvider)this; 3414return (UnsafeNativeMethods.ITableProvider)this; 3417return (UnsafeNativeMethods.ITableItemProvider)this; 3420return (UnsafeNativeMethods.IGridProvider)this; 3423return (UnsafeNativeMethods.IGridItemProvider)this; 3426return (UnsafeNativeMethods.IInvokeProvider)this; 3429return (UnsafeNativeMethods.ILegacyIAccessibleProvider)this; 3432return (UnsafeNativeMethods.ISelectionProvider)this; 3435return (UnsafeNativeMethods.ISelectionItemProvider)this; 3446object UnsafeNativeMethods.IRawElementProviderSimple.GetPropertyValue(int propertyID) { 3455object UnsafeNativeMethods.IRawElementProviderFragment.Navigate(UnsafeNativeMethods.NavigateDirection direction) { 3460int[] UnsafeNativeMethods.IRawElementProviderFragment.GetRuntimeId() { 3465object[] UnsafeNativeMethods.IRawElementProviderFragment.GetEmbeddedFragmentRoots() { 3470void UnsafeNativeMethods.IRawElementProviderFragment.SetFocus() { 3475NativeMethods.UiaRect UnsafeNativeMethods.IRawElementProviderFragment.BoundingRectangle { 3482UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElementProviderFragment.FragmentRoot { 3489return AsNativeAccessible(publicIRawElementProviderFragment.FragmentRoot) as UnsafeNativeMethods.IRawElementProviderFragmentRoot; 3497object UnsafeNativeMethods.IRawElementProviderFragmentRoot.ElementProviderFromPoint(double x, double y) { 3502object UnsafeNativeMethods.IRawElementProviderFragmentRoot.GetFocus() { 3511string UnsafeNativeMethods.ILegacyIAccessibleProvider.DefaultAction { 3518string UnsafeNativeMethods.ILegacyIAccessibleProvider.Description { 3525string UnsafeNativeMethods.ILegacyIAccessibleProvider.Help { 3532string UnsafeNativeMethods.ILegacyIAccessibleProvider.KeyboardShortcut { 3539string UnsafeNativeMethods.ILegacyIAccessibleProvider.Name { 3546uint UnsafeNativeMethods.ILegacyIAccessibleProvider.Role { 3553uint UnsafeNativeMethods.ILegacyIAccessibleProvider.State { 3560string UnsafeNativeMethods.ILegacyIAccessibleProvider.Value { 3567int UnsafeNativeMethods.ILegacyIAccessibleProvider.ChildId { 3574void UnsafeNativeMethods.ILegacyIAccessibleProvider.DoDefaultAction() { 3579IAccessible UnsafeNativeMethods.ILegacyIAccessibleProvider.GetIAccessible() { 3584object[] UnsafeNativeMethods.ILegacyIAccessibleProvider.GetSelection() { 3589void UnsafeNativeMethods.ILegacyIAccessibleProvider.Select(int flagsSelect) { 3594void UnsafeNativeMethods.ILegacyIAccessibleProvider.SetValue(string szValue) { 3603void UnsafeNativeMethods.IInvokeProvider.Invoke() { 3612bool UnsafeNativeMethods.IValueProvider.IsReadOnly { 3619string UnsafeNativeMethods.IValueProvider.Value { 3626void UnsafeNativeMethods.IValueProvider.SetValue(string newValue) { 3635bool UnsafeNativeMethods.IRangeValueProvider.IsReadOnly { 3642double UnsafeNativeMethods.IRangeValueProvider.LargeChange { 3649double UnsafeNativeMethods.IRangeValueProvider.Maximum { 3656double UnsafeNativeMethods.IRangeValueProvider.Minimum { 3663double UnsafeNativeMethods.IRangeValueProvider.SmallChange { 3670double UnsafeNativeMethods.IRangeValueProvider.Value { 3677void UnsafeNativeMethods.IRangeValueProvider.SetValue(double newValue) { 3686void UnsafeNativeMethods.IExpandCollapseProvider.Expand() { 3691void UnsafeNativeMethods.IExpandCollapseProvider.Collapse() { 3696UnsafeNativeMethods.ExpandCollapseState UnsafeNativeMethods.IExpandCollapseProvider.ExpandCollapseState { 3707void UnsafeNativeMethods.IToggleProvider.Toggle() { 3712UnsafeNativeMethods.ToggleState UnsafeNativeMethods.IToggleProvider.ToggleState { 3723object[] UnsafeNativeMethods.ITableProvider.GetRowHeaders() { 3728object[] UnsafeNativeMethods.ITableProvider.GetColumnHeaders() { 3733UnsafeNativeMethods.RowOrColumnMajor UnsafeNativeMethods.ITableProvider.RowOrColumnMajor { 3744object[] UnsafeNativeMethods.ITableItemProvider.GetRowHeaderItems() { 3749object[] UnsafeNativeMethods.ITableItemProvider.GetColumnHeaderItems() { 3758object UnsafeNativeMethods.IGridProvider.GetItem(int row, int column) { 3763int UnsafeNativeMethods.IGridProvider.RowCount { 3770int UnsafeNativeMethods.IGridProvider.ColumnCount { 3781int UnsafeNativeMethods.IGridItemProvider.Row { 3788int UnsafeNativeMethods.IGridItemProvider.Column { 3795int UnsafeNativeMethods.IGridItemProvider.RowSpan { 3802int UnsafeNativeMethods.IGridItemProvider.ColumnSpan { 3809UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvider.ContainingGrid { 3818return AsNativeAccessible(publicIGridItemProvider.ContainingGrid) as UnsafeNativeMethods.IRawElementProviderSimple; 3830object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() { 3840bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple { 3852bool UnsafeNativeMethods.ISelectionProvider.IsSelectionRequired { 3867void UnsafeNativeMethods.ISelectionItemProvider.Select() { 3875void UnsafeNativeMethods.ISelectionItemProvider.AddToSelection() { 3883void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() { 3892bool UnsafeNativeMethods.ISelectionItemProvider.IsSelected { 3903UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItemProvider.SelectionContainer { 3920UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderHwndOverride.GetOverrideProviderForHwnd(IntPtr hwnd) {
winforms\Managed\System\WinForms\Application.cs (115)
155IntPtr hModule = UnsafeNativeMethods.GetModuleHandle(ExternDll.Comctl32); 158IntPtr pFunc = UnsafeNativeMethods.GetProcAddress(new HandleRef(null, hModule), "ImageList_WriteEx"); 164hModule = UnsafeNativeMethods.LoadLibraryFromSystemPathIfAvailable(ExternDll.Comctl32); 166IntPtr pFunc = UnsafeNativeMethods.GetProcAddress(new HandleRef(null, hModule), "ImageList_WriteEx"); 370StringBuilder sb = UnsafeNativeMethods.GetModuleFileNameLongPath(NativeMethods.NullHandleRef); 645StringBuilder sb = UnsafeNativeMethods.GetModuleFileNameLongPath(NativeMethods.NullHandleRef); 815UnsafeNativeMethods.EnumChildWindows(new HandleRef(null, handle), 820UnsafeNativeMethods.SendMessage(new HandleRef(null, handle), NativeMethods.WM_THEMECHANGED, 0, 0); 1066useVisualStyles = UnsafeNativeMethods.ThemingScope.CreateActivationContext(assemblyFileName, nativeResourceID); 1308Debug.Assert(UnsafeNativeMethods.IsWindow(handle), "Handle being parked is not a valid window handle"); 1309Debug.Assert(((int)UnsafeNativeMethods.GetWindowLong(handle, NativeMethods.GWL_STYLE) & NativeMethods.WS_CHILD) != 0, "Only WS_CHILD windows should be parked."); 1443UnsafeNativeMethods.CorLaunchApplication(hostType, appFullName, 0, null, 0, null, new UnsafeNativeMethods.PROCESS_INFORMATION()); 1543return UnsafeNativeMethods.SetSuspendState(state == PowerState.Hibernate, force, disableWakeEvent); 1672private class ComponentManager : UnsafeNativeMethods.IMsoComponentManager 1678public UnsafeNativeMethods.IMsoComponent component; 1684private UnsafeNativeMethods.IMsoComponent activeComponent = null; 1685private UnsafeNativeMethods.IMsoComponent trackingComponent = null; 1706int UnsafeNativeMethods.IMsoComponentManager.QueryService( 1723bool UnsafeNativeMethods.IMsoComponentManager.FDebugMessage( 1740bool UnsafeNativeMethods.IMsoComponentManager.FRegisterComponent(UnsafeNativeMethods.IMsoComponent component, 1764bool UnsafeNativeMethods.IMsoComponentManager.FRevokeComponent(IntPtr dwComponentID) { 1797bool UnsafeNativeMethods.IMsoComponentManager.FUpdateComponentRegistration( 1827bool UnsafeNativeMethods.IMsoComponentManager.FOnComponentActivate(IntPtr dwComponentID) { 1861bool UnsafeNativeMethods.IMsoComponentManager.FSetTrackingComponent(IntPtr dwComponentID, bool fTrack) { 1919void UnsafeNativeMethods.IMsoComponentManager.OnComponentEnterState( 1970bool UnsafeNativeMethods.IMsoComponentManager.FOnComponentExitState( 2006bool UnsafeNativeMethods.IMsoComponentManager.FInState(int uStateID, IntPtr pvoid) { 2016bool UnsafeNativeMethods.IMsoComponentManager.FContinueIdle() { 2022return !UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE); 2042bool UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop( 2058UnsafeNativeMethods.IMsoComponent prevActive = this.activeComponent; 2066UnsafeNativeMethods.IMsoComponent requestingComponent; 2086UnsafeNativeMethods.IMsoComponent component; 2098bool peeked = UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE); 2112UnsafeNativeMethods.GetMessageW(ref msg, NativeMethods.NullHandleRef, 0, 0); 2116UnsafeNativeMethods.GetMessageA(ref msg, NativeMethods.NullHandleRef, 0, 0); 2125UnsafeNativeMethods.PostQuitMessage((int)msg.wParam); 2139UnsafeNativeMethods.TranslateMessage(ref msg); 2141UnsafeNativeMethods.DispatchMessageW(ref msg); 2144UnsafeNativeMethods.DispatchMessageA(ref msg); 2185UnsafeNativeMethods.MsgWaitForMultipleObjectsEx(0, IntPtr.Zero, 100, NativeMethods.QS_ALLINPUT, NativeMethods.MWMO_INPUTAVAILABLE); 2197if (!UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE)) { 2198UnsafeNativeMethods.WaitMessage(); 2230bool UnsafeNativeMethods.IMsoComponentManager.FCreateSubComponentManager( 2250bool UnsafeNativeMethods.IMsoComponentManager.FGetParentComponentManager(out UnsafeNativeMethods.IMsoComponentManager ppicm) { 2266bool UnsafeNativeMethods.IMsoComponentManager.FGetActiveComponent( 2268UnsafeNativeMethods.IMsoComponent[] ppic, 2272UnsafeNativeMethods.IMsoComponent component = null; 2315internal sealed class ThreadContext : MarshalByRefObject, UnsafeNativeMethods.IMsoComponent { 2362private UnsafeNativeMethods.IMsoComponentManager componentManager; 2396UnsafeNativeMethods.DuplicateHandle(new HandleRef(null, SafeNativeMethods.GetCurrentProcess()), new HandleRef(null, SafeNativeMethods.GetCurrentThread()), 2419internal UnsafeNativeMethods.IMsoComponentManager ComponentManager { 2440UnsafeNativeMethods.IMsoComponentManager msocm = null; 2447if (NativeMethods.Succeeded(UnsafeNativeMethods.CoRegisterMessageFilter(NativeMethods.NullHandleRef, ref msgFilterPtr)) && msgFilterPtr != (IntPtr)0) { 2450UnsafeNativeMethods.CoRegisterMessageFilter(new HandleRef(null, msgFilterPtr), ref dummy); 2455UnsafeNativeMethods.IOleServiceProvider sp = msgFilterObj as UnsafeNativeMethods.IOleServiceProvider; 2477Guid IID_IMsoComponentManager = typeof(UnsafeNativeMethods.IMsoComponentManager).GUID; 2728UnsafeNativeMethods.IMsoComponentManager cm = ComponentManager; 2809UnsafeNativeMethods.OleUninitialize(); 2818UnsafeNativeMethods.CloseHandle(new HandleRef(this, handle)); 2940UnsafeNativeMethods.IMsoComponentManager cm = ComponentManager; 3008UnsafeNativeMethods.CloseHandle(new HandleRef(this, handle)); 3017UnsafeNativeMethods.IMsoComponentManager cm = ComponentManager; 3030UnsafeNativeMethods.IMsoComponentManager cm = ComponentManager; 3140UnsafeNativeMethods.IMsoComponent[] activeComponents = new UnsafeNativeMethods.IMsoComponent[1]; 3182int ret = UnsafeNativeMethods.OleInitialize(); 3312UnsafeNativeMethods.PostThreadMessage(id, NativeMethods.WM_QUIT, IntPtr.Zero, IntPtr.Zero); 3344userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 3351UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 3428hwndOwner = new HandleRef(null, UnsafeNativeMethods.GetWindowLong(new HandleRef(currentForm, currentForm.Handle), NativeMethods.GWL_HWNDPARENT)); 3527bool peeked = UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE); 3537if (!UnsafeNativeMethods.GetMessageW(ref msg, NativeMethods.NullHandleRef, 0, 0)) { 3544if (!UnsafeNativeMethods.GetMessageA(ref msg, NativeMethods.NullHandleRef, 0, 0)) { 3550UnsafeNativeMethods.TranslateMessage(ref msg); 3552UnsafeNativeMethods.DispatchMessageW(ref msg); 3555UnsafeNativeMethods.DispatchMessageA(ref msg); 3566else if (!UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE)) { 3567UnsafeNativeMethods.WaitMessage(); 3697IntPtr hwndRoot = UnsafeNativeMethods.GetAncestor(new HandleRef(null, msg.hwnd), NativeMethods.GA_ROOT); 3702if (hwndRoot != IntPtr.Zero && UnsafeNativeMethods.IsDialogMessage(new HandleRef(null, hwndRoot), ref msg)) 3727UnsafeNativeMethods.IMsoComponentManager msocm = componentManager; 3791bool UnsafeNativeMethods.IMsoComponent.FDebugMessage(IntPtr hInst, int msg, IntPtr wparam, IntPtr lparam) 3804bool UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(ref NativeMethods.MSG msg) { 3825void UnsafeNativeMethods.IMsoComponent.OnEnterState(int uStateID, bool fEnter) { 3856void UnsafeNativeMethods.IMsoComponent.OnAppActivate(bool fActive, int dwOtherThreadID) { 3864void UnsafeNativeMethods.IMsoComponent.OnLoseActivation() { 3903void UnsafeNativeMethods.IMsoComponent.OnActivationChange(UnsafeNativeMethods.IMsoComponent component, bool fSameComponent, 3928bool UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef) { 3950bool UnsafeNativeMethods.IMsoComponent.FContinueMessageLoop(int reason, int pvLoopData, NativeMethods.MSG[] msgPeeked) { 3968SafeNativeMethods.GetWindowThreadProcessId(new HandleRef(null, UnsafeNativeMethods.GetActiveWindow()), out pid); 3990if (!UnsafeNativeMethods.PeekMessage(ref tempMsg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE)) { 4013bool UnsafeNativeMethods.IMsoComponent.FQueryTerminate(bool fPromptUser) { 4024void UnsafeNativeMethods.IMsoComponent.Terminate() { 4040IntPtr UnsafeNativeMethods.IMsoComponent.HwndGetWindow(int dwWhich, int dwReserved) { 4156UnsafeNativeMethods.PostMessage(new HandleRef(this, HandleInternal), WM_CHECKDESTROY, IntPtr.Zero, IntPtr.Zero); 4167IntPtr hwndChild = UnsafeNativeMethods.GetWindow(new HandleRef(this, Handle), NativeMethods.GW_CHILD); 4187UnsafeNativeMethods.SetParent(handle, new HandleRef(this, Handle)); 4196Debug.Assert(UnsafeNativeMethods.GetParent(handle) != Handle, "Always set the handle's parent to someone else before calling UnparkHandle"); 4211UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), WM_CHECKDESTROY, IntPtr.Zero, IntPtr.Zero); 4240UnsafeNativeMethods.EnumThreadWindows(SafeNativeMethods.GetCurrentThreadId(), 4275if (UnsafeNativeMethods.IsWindow(new HandleRef(null, hWnd))) { 4288activeHwnd = UnsafeNativeMethods.GetActiveWindow(); 4294focusedHwnd = UnsafeNativeMethods.GetFocus(); 4301if (UnsafeNativeMethods.IsWindow(new HandleRef(null, hWnd))) SafeNativeMethods.EnableWindow(new HandleRef(null, hWnd), state); 4313if (activeHwnd != IntPtr.Zero && UnsafeNativeMethods.IsWindow(new HandleRef(null, activeHwnd))) { 4314UnsafeNativeMethods.SetActiveWindow(new HandleRef(null, activeHwnd)); 4317if (focusedHwnd != IntPtr.Zero && UnsafeNativeMethods.IsWindow(new HandleRef(null, focusedHwnd))) { 4318UnsafeNativeMethods.SetFocus(new HandleRef(null, focusedHwnd)); 4345IntPtr parentHandle = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, MainForm.Handle), NativeMethods.GWL_HWNDPARENT);
winforms\Managed\System\WinForms\AxHost.cs (205)
129private static Guid icf2_Guid = typeof(UnsafeNativeMethods.IClassFactory2).GUID; 130private static Guid ifont_Guid = typeof(UnsafeNativeMethods.IFont).GUID; 132private static Guid ipicture_Guid = typeof(UnsafeNativeMethods.IPicture).GUID; 133private static Guid ipictureDisp_Guid = typeof(UnsafeNativeMethods.IPictureDisp).GUID; 134private static Guid ivbformat_Guid = typeof(UnsafeNativeMethods.IVBFormat).GUID; 135private static Guid ioleobject_Guid = typeof(UnsafeNativeMethods.IOleObject).GUID; 214private UnsafeNativeMethods.IOleInPlaceObject iOleInPlaceObject; 215private UnsafeNativeMethods.IOleObject iOleObject; 216private UnsafeNativeMethods.IOleControl iOleControl; 217private UnsafeNativeMethods.IOleInPlaceActiveObject iOleInPlaceActiveObject; 218private UnsafeNativeMethods.IOleInPlaceActiveObject iOleInPlaceActiveObjectExternal; 221private UnsafeNativeMethods.IPersistPropertyBag iPersistPropBag; 222private UnsafeNativeMethods.IPersistStream iPersistStream; 223private UnsafeNativeMethods.IPersistStreamInit iPersistStreamInit; 224private UnsafeNativeMethods.IPersistStorage iPersistStorage; 1242UnsafeNativeMethods.IOleControl oleCtl = this.GetOcx() as UnsafeNativeMethods.IOleControl; 1348uiDeactivate = !UnsafeNativeMethods.IsChild(new HandleRef(this, GetHandleNoCreate()), new HandleRef(null, hwndFocus)); 1452IntPtr hDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 1455logPixelsX = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), NativeMethods.LOGPIXELSX); 1456logPixelsY = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), NativeMethods.LOGPIXELSY); 1458UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hDC)); 1469((UnsafeNativeMethods.IOleControlSite)oleSite).TransformCoords(phm, pcont, NativeMethods.ActiveX.XFORMCOORDS_SIZE | NativeMethods.ActiveX.XFORMCOORDS_HIMETRICTOCONTAINER); 1479((UnsafeNativeMethods.IOleControlSite)oleSite).TransformCoords(phm, pcont, NativeMethods.ActiveX.XFORMCOORDS_SIZE | NativeMethods.ActiveX.XFORMCOORDS_CONTAINERTOHIMETRIC); 1615IntPtr currentWndproc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC); 1626UnsafeNativeMethods.SetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC, new HandleRef(this, currentWndproc)); 1870((UnsafeNativeMethods.IOleClientSite)oleSite).ShowObject(); 2049UnsafeNativeMethods.IOleInPlaceActiveObject activeObj = GetInPlaceActiveObject(); 2120UnsafeNativeMethods.GetCursorPos(p); 2228iPersistStream.Save(new UnsafeNativeMethods.ComStreamFromDataStream(ms), true); 2231iPersistStreamInit.Save(new UnsafeNativeMethods.ComStreamFromDataStream(ms), true); 2535UnsafeNativeMethods.IClassFactory2 icf2 = UnsafeNativeMethods.CoGetClassObject(ref clsid, INPROC_SERVER, 0, ref icf2_Guid); 2560ret = UnsafeNativeMethods.CoCreateInstance(ref clsid, null, INPROC_SERVER, ref NativeMethods.ActiveX.IID_IUnknown); 2569UnsafeNativeMethods.IClassFactory2 icf2 = UnsafeNativeMethods.CoGetClassObject(ref clsid, INPROC_SERVER, 0, ref icf2_Guid); 2690IntPtr hwndFocus = UnsafeNativeMethods.GetFocus(); 3074private void DepersistFromIPropertyBag(UnsafeNativeMethods.IPropertyBag propBag) { 3078private void DepersistFromIStream(UnsafeNativeMethods.IStream istream) { 3083private void DepersistFromIStreamInit(UnsafeNativeMethods.IStream istream) { 3088private void DepersistFromIStorage(UnsafeNativeMethods.IStorage storage) { 3110if (instance is UnsafeNativeMethods.IPersistStreamInit) { 3111iPersistStreamInit = (UnsafeNativeMethods.IPersistStreamInit) instance; 3121if (instance is UnsafeNativeMethods.IPersistStream) { 3123iPersistStream = (UnsafeNativeMethods.IPersistStream) instance; 3126if (instance is UnsafeNativeMethods.IPersistStorage) { 3129iPersistStorage = (UnsafeNativeMethods.IPersistStorage) instance; 3138if (instance is UnsafeNativeMethods.IPersistPropertyBag) { 3140iPersistPropBag = (UnsafeNativeMethods.IPersistPropertyBag) instance; 3157iPersistStream = (UnsafeNativeMethods.IPersistStream) instance; 3165if (instance is UnsafeNativeMethods.IPersistStreamInit) { 3167iPersistStreamInit = (UnsafeNativeMethods.IPersistStreamInit) instance; 3183iPersistStorage = (UnsafeNativeMethods.IPersistStorage) instance; 3197iPersistPropBag = (UnsafeNativeMethods.IPersistPropertyBag)instance; 3313UnsafeNativeMethods.OleCreatePropertyFrameIndirect(opcparams); 3385((UnsafeNativeMethods.IPropertyNotifySink)oleSite).OnChanged(NativeMethods.MEMBERID_NIL); 3498UnsafeNativeMethods.IOleInPlaceObject ipo = GetInPlaceObject(); 3561IntPtr wndProc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC); 3562m.Result = UnsafeNativeMethods.CallWindowProc(wndProc, handle, m.Msg, m.WParam, m.LParam); 3591wndprocAddr = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_WNDPROC); 3692private UnsafeNativeMethods.IConnectionPoint connectionPoint; 3708if (source is UnsafeNativeMethods.IConnectionPointContainer) { 3709UnsafeNativeMethods.IConnectionPointContainer cpc = (UnsafeNativeMethods.IConnectionPointContainer)source; 3886: UnsafeNativeMethods.IOleControlSite, UnsafeNativeMethods.IOleClientSite, UnsafeNativeMethods.IOleInPlaceSite, UnsafeNativeMethods.ISimpleFrameSite, UnsafeNativeMethods.IVBGetControl, UnsafeNativeMethods.IGetVBAObject, UnsafeNativeMethods.IPropertyNotifySink, IReflect, IDisposable { 3931connectionPoint = new ConnectionPointCookie(nativeObject, this, typeof(UnsafeNativeMethods.IPropertyNotifySink)); 3959int UnsafeNativeMethods.IGetVBAObject.GetObject(ref Guid riid, UnsafeNativeMethods.IVBFormat[] rval, int dwReserved) { 3977int UnsafeNativeMethods.IVBGetControl.EnumControls(int dwOleContF, int dwWhich, out UnsafeNativeMethods.IEnumUnknown ppenum) { 3986int UnsafeNativeMethods.ISimpleFrameSite.PreMessageFilter(IntPtr hwnd, int msg, IntPtr wp, IntPtr lp, ref IntPtr plResult, ref int pdwCookie) { 3990int UnsafeNativeMethods.ISimpleFrameSite.PostMessageFilter(IntPtr hwnd, int msg, IntPtr wp, IntPtr lp, ref IntPtr plResult, int dwCookie) { 4057int UnsafeNativeMethods.IOleControlSite.OnControlInfoChanged() { 4062int UnsafeNativeMethods.IOleControlSite.LockInPlaceActive(int fLock) { 4067int UnsafeNativeMethods.IOleControlSite.GetExtendedControl(out object ppDisp) { 4076int UnsafeNativeMethods.IOleControlSite.TransformCoords(NativeMethods._POINTL pPtlHimetric, NativeMethods.tagPOINTF pPtfContainer, int dwFlags) { 4117int UnsafeNativeMethods.IOleControlSite.TranslateAccelerator(ref NativeMethods.MSG pMsg, int grfModifiers) { 4136int UnsafeNativeMethods.IOleControlSite.OnFocus(int fGotFocus) { 4141int UnsafeNativeMethods.IOleControlSite.ShowPropertyFrame() { 4151int UnsafeNativeMethods.IOleClientSite.SaveObject() { 4156int UnsafeNativeMethods.IOleClientSite.GetMoniker(int dwAssign, int dwWhichMoniker, out Object moniker) { 4162int UnsafeNativeMethods.IOleClientSite.GetContainer(out UnsafeNativeMethods.IOleContainer container) { 4169int UnsafeNativeMethods.IOleClientSite.ShowObject() { 4200else if (host.GetInPlaceObject() is UnsafeNativeMethods.IOleInPlaceObjectWindowless) { 4208int UnsafeNativeMethods.IOleClientSite.OnShowWindow(int fShow) { 4213int UnsafeNativeMethods.IOleClientSite.RequestNewObjectLayout() { 4226IntPtr UnsafeNativeMethods.IOleInPlaceSite.GetWindow() { 4241int UnsafeNativeMethods.IOleInPlaceSite.ContextSensitiveHelp(int fEnterMode) { 4246int UnsafeNativeMethods.IOleInPlaceSite.CanInPlaceActivate() { 4251int UnsafeNativeMethods.IOleInPlaceSite.OnInPlaceActivate() { 4259int UnsafeNativeMethods.IOleInPlaceSite.OnUIActivate() { 4266int UnsafeNativeMethods.IOleInPlaceSite.GetWindowContext(out UnsafeNativeMethods.IOleInPlaceFrame ppFrame, out UnsafeNativeMethods.IOleInPlaceUIWindow ppDoc, 4282int UnsafeNativeMethods.IOleInPlaceSite.Scroll(NativeMethods.tagSIZE scrollExtant) { 4293int UnsafeNativeMethods.IOleInPlaceSite.OnUIDeactivate(int fUndoable) { 4302int UnsafeNativeMethods.IOleInPlaceSite.OnInPlaceDeactivate() { 4305((UnsafeNativeMethods.IOleInPlaceSite)this).OnUIDeactivate(0); 4314int UnsafeNativeMethods.IOleInPlaceSite.DiscardUndoState() { 4319int UnsafeNativeMethods.IOleInPlaceSite.DeactivateAndUndo() { 4324int UnsafeNativeMethods.IOleInPlaceSite.OnPosRectChange(NativeMethods.COMRECT lprcPosRect) { 4348void UnsafeNativeMethods.IPropertyNotifySink.OnChanged(int dispid) { 4412int UnsafeNativeMethods.IPropertyNotifySink.OnRequestEdit(int dispid) { 4428if (!(instance is UnsafeNativeMethods.IQuickActivate)) return false; 4429UnsafeNativeMethods.IQuickActivate iqa = (UnsafeNativeMethods.IQuickActivate) instance; 4431UnsafeNativeMethods.tagQACONTAINER qaContainer = new UnsafeNativeMethods.tagQACONTAINER(); 4432UnsafeNativeMethods.tagQACONTROL qaControl = new UnsafeNativeMethods.tagQACONTROL(); 4652private UnsafeNativeMethods.IOleControl GetOleControl() { 4655iOleControl = (UnsafeNativeMethods.IOleControl) instance; 4660private UnsafeNativeMethods.IOleInPlaceActiveObject GetInPlaceActiveObject() { 4670iOleInPlaceActiveObject = (UnsafeNativeMethods.IOleInPlaceActiveObject)instance; 4679private UnsafeNativeMethods.IOleObject GetOleObject() { 4682iOleObject = (UnsafeNativeMethods.IOleObject) instance; 4687private UnsafeNativeMethods.IOleInPlaceObject GetInPlaceObject() { 4690iOleInPlaceObject = (UnsafeNativeMethods.IOleInPlaceObject) instance; 4769return UnsafeNativeMethods.OleCreateIPictureIndirect(pictdesc, ref ipicture_Guid, true); 4782return UnsafeNativeMethods.OleCreateIPictureIndirect(pictdesc, ref ipicture_Guid, true); 4795return UnsafeNativeMethods.OleCreateIPictureDispIndirect(pictdesc, ref ipictureDisp_Guid, true); 4808UnsafeNativeMethods.IPicture pict = (UnsafeNativeMethods.IPicture)picture; 4830UnsafeNativeMethods.IPictureDisp pict = (UnsafeNativeMethods.IPictureDisp)picture; 4928return (UnsafeNativeMethods.IFont)UnsafeNativeMethods.OleCreateIFontIndirect(GetFONTDESCFromFont(font), ref ifont_Guid); 4945UnsafeNativeMethods.IFont oleFont = (UnsafeNativeMethods.IFont)font; 4987UnsafeNativeMethods.IFont ifont = font as UnsafeNativeMethods.IFont; 5146private class VBFormat : UnsafeNativeMethods.IVBFormat { 5150int UnsafeNativeMethods.IVBFormat.Format(ref Object var, IntPtr pszFormat, IntPtr lpBuffer, short cpBuffer, int lcid, short firstD, short firstW, short[] result) { 5160int hr = UnsafeNativeMethods.VarFormat(ref var, new HandleRef(null, pszFormat), firstD, firstW, 32 /* VAR_FORMAT_NOSUBSTITUTE */, ref pbstr); 5186internal class EnumUnknown : UnsafeNativeMethods.IEnumUnknown { 5202unsafe int UnsafeNativeMethods.IEnumUnknown.Next(int celt, IntPtr rgelt, IntPtr pceltFetched) { 5233int UnsafeNativeMethods.IEnumUnknown.Skip(int celt) { 5241void UnsafeNativeMethods.IEnumUnknown.Reset() { 5245void UnsafeNativeMethods.IEnumUnknown.Clone(out UnsafeNativeMethods.IEnumUnknown ppenum) { 5253internal class AxContainer : UnsafeNativeMethods.IOleContainer, UnsafeNativeMethods.IOleInPlaceFrame, IReflect { 5344internal UnsafeNativeMethods.IExtender GetProxyForControl(Control ctl) { 5345UnsafeNativeMethods.IExtender rval = null; 5350rval = (UnsafeNativeMethods.IExtender) proxyCache[ctl]; 5450internal UnsafeNativeMethods.IEnumUnknown EnumControls(Control ctl, int dwOleContF, int dwWhich) { 5920int UnsafeNativeMethods.IOleContainer.ParseDisplayName(Object pbc, string pszDisplayName, int[] pchEaten, Object[] ppmkOut) { 5932int UnsafeNativeMethods.IOleContainer.EnumObjects(int grfFlags, out UnsafeNativeMethods.IEnumUnknown ppenum) { 5954int UnsafeNativeMethods.IOleContainer.LockContainer(bool fLock) { 5961IntPtr UnsafeNativeMethods.IOleInPlaceFrame.GetWindow() { 5966int UnsafeNativeMethods.IOleInPlaceFrame.ContextSensitiveHelp(int fEnterMode) { 5975int UnsafeNativeMethods.IOleInPlaceFrame.GetBorder(NativeMethods.COMRECT lprectBorder) { 5984int UnsafeNativeMethods.IOleInPlaceFrame.RequestBorderSpace(NativeMethods.COMRECT pborderwidths) { 5993int UnsafeNativeMethods.IOleInPlaceFrame.SetBorderSpace(NativeMethods.COMRECT pborderwidths) { 6011int UnsafeNativeMethods.IOleInPlaceFrame.SetActiveObject(UnsafeNativeMethods.IOleInPlaceActiveObject pActiveObject, string pszObjName) { 6029if (pActiveObject is UnsafeNativeMethods.IOleObject) { 6030UnsafeNativeMethods.IOleObject oleObject = (UnsafeNativeMethods.IOleObject) pActiveObject; 6031UnsafeNativeMethods.IOleClientSite clientSite = null; 6068int UnsafeNativeMethods.IOleInPlaceFrame.InsertMenus(IntPtr hmenuShared, NativeMethods.tagOleMenuGroupWidths lpMenuWidths) { 6077int UnsafeNativeMethods.IOleInPlaceFrame.SetMenu(IntPtr hmenuShared, IntPtr holemenu, IntPtr hwndActiveObject) { 6086int UnsafeNativeMethods.IOleInPlaceFrame.RemoveMenus(IntPtr hmenuShared) { 6095int UnsafeNativeMethods.IOleInPlaceFrame.SetStatusText(string pszStatusText) { 6104int UnsafeNativeMethods.IOleInPlaceFrame.EnableModeless(bool fEnable) { 6112int UnsafeNativeMethods.IOleInPlaceFrame.TranslateAccelerator(ref NativeMethods.MSG lpmsg, short wID) { 6121private class ExtenderProxy : UnsafeNativeMethods.IExtender, UnsafeNativeMethods.IVBGetControl, UnsafeNativeMethods.IGetVBAObject, UnsafeNativeMethods.IGetOleObject, IReflect { 6138int UnsafeNativeMethods.IVBGetControl.EnumControls(int dwOleContF, int dwWhich, out UnsafeNativeMethods.IEnumUnknown ppenum) { 6144object UnsafeNativeMethods.IGetOleObject.GetOleObject(ref Guid riid) { 6157int UnsafeNativeMethods.IGetVBAObject.GetObject(ref Guid riid, UnsafeNativeMethods.IVBFormat[] rval, int dwReserved) { 6573private UnsafeNativeMethods.IStorage storage; 6574private UnsafeNativeMethods.ILockBytes iLockBytes; 6693hglobal = UnsafeNativeMethods.GlobalAlloc(NativeMethods.GMEM_MOVEABLE, length); 6694IntPtr pointer = UnsafeNativeMethods.GlobalLock(new HandleRef(null, hglobal)); 6701UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, hglobal)); 6706iLockBytes = UnsafeNativeMethods.CreateILockBytesOnHGlobal(new HandleRef(null, hglobal), true); 6708storage = UnsafeNativeMethods.StgCreateDocfileOnILockBytes(iLockBytes, 6712storage = UnsafeNativeMethods.StgOpenStorageOnILockBytes(iLockBytes, 6722UnsafeNativeMethods.GlobalFree(new HandleRef(null, hglobal)); 6731internal UnsafeNativeMethods.IPropertyBag GetPropBag() { 6735internal UnsafeNativeMethods.IStorage GetStorage() { 6741internal UnsafeNativeMethods.IStream GetStream() { 6750return new UnsafeNativeMethods.ComStreamFromDataStream(ms); 6781internal State RefreshStorage(UnsafeNativeMethods.IPersistStorage iPersistStorage) { 6795IntPtr hglobal = UnsafeNativeMethods.GetHGlobalFromILockBytes(iLockBytes); 6796IntPtr pointer = UnsafeNativeMethods.GlobalLock(new HandleRef(null, hglobal)); 6807UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, hglobal)); 6868internal class PropertyBagStream : UnsafeNativeMethods.IPropertyBag { 6882int UnsafeNativeMethods.IPropertyBag.Read(string pszPropName, ref object pVar, UnsafeNativeMethods.IErrorLog pErrorLog) { 6899int UnsafeNativeMethods.IPropertyBag.Write(string pszPropName, ref object pVar) { 6937((UnsafeNativeMethods.IOleControlSite)host.oleSite).ShowPropertyFrame();
winforms\Managed\System\WinForms\Button.cs (1)
306if (UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle && !ValidationCancelled) {
winforms\Managed\System\WinForms\CheckBox.cs (1)
648if (UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
1672UnsafeNativeMethods.ClientToScreen(new HandleRef(ParentCheckedListBox, ParentCheckedListBox.Handle), pt);
winforms\Managed\System\WinForms\Clipboard.cs (4)
173hr = UnsafeNativeMethods.OleSetClipboard((IComDataObject)data); 176hr = UnsafeNativeMethods.OleSetClipboard(dataObject); 191hr = UnsafeNativeMethods.OleFlushClipboard(); 245hr = UnsafeNativeMethods.OleGetClipboard(ref dataObject);
winforms\Managed\System\WinForms\ColorDialog.cs (1)
187get { return UnsafeNativeMethods.GetModuleHandle(null);}
winforms\Managed\System\WinForms\ColumnHeader.cs (4)
397IntPtr hwndHdr = UnsafeNativeMethods.SendMessage(new HandleRef(listview, listview.Handle), NativeMethods.LVM_GETHEADER, 0, 0); 399int nativeColumnCount = (int)UnsafeNativeMethods.SendMessage(new HandleRef(listview, hwndHdr), NativeMethods.HDM_GETITEMCOUNT, 0, 0); 401width = (int)UnsafeNativeMethods.SendMessage(new HandleRef(listview, listview.Handle), NativeMethods.LVM_GETCOLUMNWIDTH, Index, 0); 475 UnsafeNativeMethods.SendMessage(new HandleRef(this.listview, this.listview.Handle), NativeMethods.LVM_SETCOLUMNORDERARRAY, cols.Length, cols);
winforms\Managed\System\WinForms\ComboBox.cs (80)
654IntPtr focus = UnsafeNativeMethods.GetFocus(); 1132UnsafeNativeMethods.SendMessage(new HandleRef(this, childEdit.Handle), NativeMethods.EM_REPLACESEL, NativeMethods.InvalidIntPtr, str); 1152UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.CB_GETEDITSEL, start, end); 1173UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.CB_GETEDITSEL, value, (int[])null); 1608UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref comboRectMid); 1613UnsafeNativeMethods.GetWindowRect(new HandleRef(this, childEdit.Handle), ref editRectMid); 1766UnsafeNativeMethods.SendMessage(new HandleRef(this, childEdit.Handle), NativeMethods.EM_SETMARGINS, 1835UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 1927UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.WM_CONTEXTMENU, m.WParam, m.LParam); 1980UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref rect); 2356UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.CB_GETLBTEXT, index, sb); 2437IntPtr hwnd = UnsafeNativeMethods.GetWindow(new HandleRef(this, Handle), NativeMethods.GW_CHILD); 2448hwnd = UnsafeNativeMethods.GetWindow(new HandleRef(this, hwnd), NativeMethods.GW_HWNDNEXT); 2456UnsafeNativeMethods.SendMessage(new HandleRef(this, childEdit.Handle), NativeMethods.EM_SETMARGINS, 2558UnsafeNativeMethods.ExpandCollapseState.Collapsed, 2559UnsafeNativeMethods.ExpandCollapseState.Expanded); 2969UnsafeNativeMethods.ExpandCollapseState.Expanded, 2970UnsafeNativeMethods.ExpandCollapseState.Collapsed); 3440UnsafeNativeMethods.SendMessage(new HandleRef(this, childEdit.Handle), NativeMethods.WM_SETTEXT, IntPtr.Zero, s); 3686UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.WM_MOUSELEAVE, 0, 0); 3721UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 3772dc = UnsafeNativeMethods.BeginPaint(new HandleRef(this, Handle), ref ps); 3796UnsafeNativeMethods.EndPaint(new HandleRef(this, Handle), ref ps); 3936m.Result = UnsafeNativeMethods.UiaReturnRawElementProvider( 3958UnsafeNativeMethods.IAccessibleInternal iacc = null; 3972iacc = (UnsafeNativeMethods.IAccessibleInternal)_accessibilityObject; 3980m.Result = UnsafeNativeMethods.LresultFromObject(ref IID_IAccessible, m.WParam, new HandleRef(this, punkAcc)); 4576internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 4578return ownerItem.DroppedDown == true ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed; 4632internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 4634case UnsafeNativeMethods.NavigateDirection.Parent: 4636case UnsafeNativeMethods.NavigateDirection.NextSibling: 4647case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 4664internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 4818internal override UnsafeNativeMethods.IRawElementProviderSimple ItemSelectionContainer { 4891internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 4892if (direction == UnsafeNativeMethods.NavigateDirection.FirstChild) { 4895else if (direction == UnsafeNativeMethods.NavigateDirection.LastChild) { 4905internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 4911internal override UnsafeNativeMethods.IRawElementProviderSimple GetOverrideProviderForHwnd(IntPtr hwnd) { 5048internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 5050case UnsafeNativeMethods.NavigateDirection.Parent: 5053case UnsafeNativeMethods.NavigateDirection.NextSibling: 5067case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 5085internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 5130internal override UnsafeNativeMethods.IRawElementProviderSimple HostRawElementProvider { 5133UnsafeNativeMethods.IRawElementProviderSimple provider; 5134UnsafeNativeMethods.UiaHostProviderFromHwnd(new HandleRef(this, _handle), out provider); 5148return (int)UnsafeNativeMethods.ProviderOptions.ClientSideProvider; 5192internal override UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { 5215internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 5217case UnsafeNativeMethods.NavigateDirection.FirstChild: 5219case UnsafeNativeMethods.NavigateDirection.LastChild: 5234internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 5299internal override UnsafeNativeMethods.IRawElementProviderFragment GetFocus() { 5308internal override UnsafeNativeMethods.IRawElementProviderSimple[] GetSelection() { 5313return new UnsafeNativeMethods.IRawElementProviderSimple[] { 5318return new UnsafeNativeMethods.IRawElementProviderSimple[0]; 5348internal override UnsafeNativeMethods.IRawElementProviderSimple HostRawElementProvider { 5351UnsafeNativeMethods.IRawElementProviderSimple provider; 5352UnsafeNativeMethods.UiaHostProviderFromHwnd(new HandleRef(this, _childListControlhandle), out provider); 5441internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 5443case UnsafeNativeMethods.NavigateDirection.Parent: 5445case UnsafeNativeMethods.NavigateDirection.NextSibling: 5455case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 5473internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 5605internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 5606if (direction == UnsafeNativeMethods.NavigateDirection.Parent) { 5609else if (direction == UnsafeNativeMethods.NavigateDirection.PreviousSibling) { 5627internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 5764UnsafeNativeMethods.EnumChildWindows(new HandleRef(this, acHandle), 5868UnsafeNativeMethods.EnumThreadWindows(SafeNativeMethods.GetCurrentThreadId(), new NativeMethods.EnumThreadWindowsCallback(this.Callback), new HandleRef(null, IntPtr.Zero)); 5884UnsafeNativeMethods.GetClassName(hRef, sb, MaxClassName);
winforms\Managed\System\WinForms\CommonDialog.cs (11)
155UnsafeNativeMethods.SetFocus(new HandleRef(null, wparam)); 158UnsafeNativeMethods.PostMessage(new HandleRef(null, hWnd), CDM_SETDEFAULTFOCUS, 0, 0); 165UnsafeNativeMethods.SetFocus(new HandleRef(this, defaultControlHwnd)); 178UnsafeNativeMethods.GetWindowRect(new HandleRef(null, hWnd), ref r); 224return UnsafeNativeMethods.CallWindowProc(defOwnerWndProc, hWnd, msg, wparam, lparam); 283hwndOwner = UnsafeNativeMethods.GetActiveWindow(); 304defOwnerWndProc = UnsafeNativeMethods.SetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.GWL_WNDPROC, ownerProc); 307userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 319IntPtr currentSubClass = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.GWL_WNDPROC); 321UnsafeNativeMethods.SetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.GWL_WNDPROC, new HandleRef(this, defOwnerWndProc)); 323UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (60)
169public UnsafeNativeMethods.IMsoComponentManager GetProxy(long pCM) { 171UnsafeNativeMethods.IMsoComponentManager original = (UnsafeNativeMethods.IMsoComponentManager)Marshal.GetObjectForIUnknown((IntPtr)pCM); 188internal static UnsafeNativeMethods.IMsoComponentManager GetComponentManager(IntPtr pOriginal) { 197UnsafeNativeMethods.ICorRuntimeHost host = (UnsafeNativeMethods.ICorRuntimeHost) RuntimeEnvironment.GetRuntimeInterfaceAsObject(typeof(UnsafeNativeMethods.CorRuntimeHost).GUID, typeof(UnsafeNativeMethods.ICorRuntimeHost).GUID); 250internal class ComponentManagerProxy : MarshalByRefObject, UnsafeNativeMethods.IMsoComponentManager, UnsafeNativeMethods.IMsoComponent { 253private UnsafeNativeMethods.IMsoComponentManager _original; 258private Dictionary<int, UnsafeNativeMethods.IMsoComponent> _components; 259private UnsafeNativeMethods.IMsoComponent _activeComponent; 261private UnsafeNativeMethods.IMsoComponent _trackingComponent; 264internal ComponentManagerProxy(ComponentManagerBroker broker, UnsafeNativeMethods.IMsoComponentManager original) { 293private UnsafeNativeMethods.IMsoComponent Component { 302bool UnsafeNativeMethods.IMsoComponent.FDebugMessage(IntPtr hInst, int msg, IntPtr wparam, IntPtr lparam) { 303UnsafeNativeMethods.IMsoComponent c = Component; 312bool UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(ref NativeMethods.MSG msg) { 313UnsafeNativeMethods.IMsoComponent c = Component; 322void UnsafeNativeMethods.IMsoComponent.OnEnterState(int uStateID, bool fEnter) { 324foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 330void UnsafeNativeMethods.IMsoComponent.OnAppActivate(bool fActive, int dwOtherThreadID) { 332foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 338void UnsafeNativeMethods.IMsoComponent.OnLoseActivation() { 344void UnsafeNativeMethods.IMsoComponent.OnActivationChange(UnsafeNativeMethods.IMsoComponent component, bool fSameComponent, int pcrinfo, bool fHostIsActivating, int pchostinfo, int dwReserved) { 346foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 352bool UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef) { 356foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 364bool UnsafeNativeMethods.IMsoComponent.FContinueMessageLoop(int reason, int pvLoopData, NativeMethods.MSG[] msgPeeked) { 375foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 383bool UnsafeNativeMethods.IMsoComponent.FQueryTerminate(bool fPromptUser) { 387void UnsafeNativeMethods.IMsoComponent.Terminate() { 389UnsafeNativeMethods.IMsoComponent[] components = new UnsafeNativeMethods.IMsoComponent[_components.Values.Count]; 391foreach (UnsafeNativeMethods.IMsoComponent c in components) { 403IntPtr UnsafeNativeMethods.IMsoComponent.HwndGetWindow(int dwWhich, int dwReserved) { 404UnsafeNativeMethods.IMsoComponent c = Component; 415int UnsafeNativeMethods.IMsoComponentManager.QueryService(ref Guid guidService, ref Guid iid, out object ppvObj) { 419bool UnsafeNativeMethods.IMsoComponentManager.FDebugMessage(IntPtr hInst, int msg, IntPtr wparam, IntPtr lparam) { 423bool UnsafeNativeMethods.IMsoComponentManager.FRegisterComponent(UnsafeNativeMethods.IMsoComponent component, NativeMethods.MSOCRINFOSTRUCT pcrinfo, out IntPtr dwComponentID) { 440_components = new Dictionary<int, UnsafeNativeMethods.IMsoComponent>(); 467bool UnsafeNativeMethods.IMsoComponentManager.FRevokeComponent(IntPtr dwComponentID) { 500bool UnsafeNativeMethods.IMsoComponentManager.FUpdateComponentRegistration(IntPtr dwComponentID, NativeMethods.MSOCRINFOSTRUCT info) { 506bool UnsafeNativeMethods.IMsoComponentManager.FOnComponentActivate(IntPtr dwComponentID) { 524bool UnsafeNativeMethods.IMsoComponentManager.FSetTrackingComponent(IntPtr dwComponentID, bool fTrack) { 552void UnsafeNativeMethods.IMsoComponentManager.OnComponentEnterState(IntPtr dwComponentID, int uStateID, int uContext, int cpicmExclude, int rgpicmExclude, int dwReserved) { 556foreach (UnsafeNativeMethods.IMsoComponent comp in _components.Values) { 565bool UnsafeNativeMethods.IMsoComponentManager.FOnComponentExitState(IntPtr dwComponentID, int uStateID, int uContext, int cpicmExclude, int rgpicmExclude ) { 569foreach (UnsafeNativeMethods.IMsoComponent comp in _components.Values) { 578bool UnsafeNativeMethods.IMsoComponentManager.FInState(int uStateID, IntPtr pvoid) { 583bool UnsafeNativeMethods.IMsoComponentManager.FContinueIdle() { 588bool UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, int reason, int pvLoopData) { 593bool UnsafeNativeMethods.IMsoComponentManager.FCreateSubComponentManager(object punkOuter, object punkServProv, ref Guid riid, out IntPtr ppvObj) { 598bool UnsafeNativeMethods.IMsoComponentManager.FGetParentComponentManager(out UnsafeNativeMethods.IMsoComponentManager ppicm) { 603bool UnsafeNativeMethods.IMsoComponentManager.FGetActiveComponent(int dwgac, UnsafeNativeMethods.IMsoComponent[] ppic, NativeMethods.MSOCRINFOSTRUCT info, int dwReserved) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2AboutBoxPropertyDescriptor.cs (4)
35return typeof(UnsafeNativeMethods.IDispatch); 161if (Marshal.IsComObject(component) && component is UnsafeNativeMethods.IDispatch) { 162UnsafeNativeMethods.IDispatch pDisp = (UnsafeNativeMethods.IDispatch)component;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2FontConverter.cs (4)
53UnsafeNativeMethods.IFont nativeFont = nativeValue as UnsafeNativeMethods.IFont; 114UnsafeNativeMethods.IFont nativeFont = (UnsafeNativeMethods.IFont)pd.GetNativeValue(pd.TargetObject);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
75if (typeof(UnsafeNativeMethods.IDispatch).IsAssignableFrom(sender.PropertyType)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (1)
76if (typeof(UnsafeNativeMethods.IDispatch).IsAssignableFrom(sender.PropertyType)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (2)
117if (typeof(UnsafeNativeMethods.IDispatch).IsAssignableFrom(sender.PropertyType) && sender.CanShow){ 185if (sender.CanShow && typeof(UnsafeNativeMethods.IDispatch).IsAssignableFrom(sender.PropertyType)){
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PictureConverter.cs (6)
59Debug.Assert(nativeValue is UnsafeNativeMethods.IPicture, "nativevalue is not IPicture"); 61UnsafeNativeMethods.IPicture nativePicture = (UnsafeNativeMethods.IPicture)nativeValue; 111Guid g = typeof(UnsafeNativeMethods.IPicture).GUID; 126UnsafeNativeMethods.IPicture pict = UnsafeNativeMethods.OleCreatePictureIndirect(pictdesc, ref g, own);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Properties.cs (2)
340UnsafeNativeMethods.ITypeInfo[] pTypeInfos = Com2TypeInfoProcessor.FindTypeInfos(comObject, false); 407private unsafe long GetTypeInfoVersion(UnsafeNativeMethods.ITypeInfo pTypeInfo) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
46IntPtr parentHandle = (IntPtr)UnsafeNativeMethods.GetFocus();
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (17)
159oleConverters[typeof(UnsafeNativeMethods.IFont).GUID] = typeof(Com2FontConverter); 160oleConverters[typeof(UnsafeNativeMethods.IPictureDisp).GUID] = typeof(Com2PictureConverter); 161oleConverters[typeof(UnsafeNativeMethods.IPicture).GUID] = typeof(Com2PictureConverter); 214if (this.canShow && (propType == typeof(Object) || (valueConverter == null && propType == typeof(UnsafeNativeMethods.IDispatch)))) { 369return typeof(UnsafeNativeMethods.IDispatch); 763if (!typeof(UnsafeNativeMethods.IDispatch).IsAssignableFrom(this.PropertyType)) { 870if (component == null || !Marshal.IsComObject(component) || !(component is UnsafeNativeMethods.IDispatch)) 873UnsafeNativeMethods.IDispatch pDisp = (UnsafeNativeMethods.IDispatch)component; 1218if (owner == null || !Marshal.IsComObject(owner) || !(owner is UnsafeNativeMethods.IDispatch)) { 1231UnsafeNativeMethods.IDispatch pDisp = (UnsafeNativeMethods.IDispatch)owner; 1278if (pDisp is UnsafeNativeMethods.ISupportErrorInfo) { 1279g = typeof(UnsafeNativeMethods.IDispatch).GUID; 1280if (NativeMethods.Succeeded(((UnsafeNativeMethods.ISupportErrorInfo)pDisp).InterfaceSupportsErrorInfo(ref g))) { 1281UnsafeNativeMethods.IErrorInfo pErrorInfo = null; 1282UnsafeNativeMethods.GetErrorInfo(0, ref pErrorInfo);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
43IntPtr hWndParent = UnsafeNativeMethods.GetFocus(); // Windows.GetForegroundWindow
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (32)
68public static UnsafeNativeMethods.ITypeInfo FindTypeInfo(Object obj, bool wantCoClass) { 69UnsafeNativeMethods.ITypeInfo pTypeInfo = null; 95if (obj is UnsafeNativeMethods.IDispatch) { 96UnsafeNativeMethods.IDispatch iDispatch = (UnsafeNativeMethods.IDispatch)obj; 115public static UnsafeNativeMethods.ITypeInfo[] FindTypeInfos(Object obj, bool wantCoClass){ 117UnsafeNativeMethods.ITypeInfo[] typeInfos = null; 119UnsafeNativeMethods.ITypeInfo temp = null; 128typeInfos = new UnsafeNativeMethods.ITypeInfo[n]; 143typeInfos = new UnsafeNativeMethods.ITypeInfo[]{temp}; 155public static int GetNameDispId(UnsafeNativeMethods.IDispatch obj){ 210UnsafeNativeMethods.ITypeInfo[] typeInfos = FindTypeInfos(obj, false); 226UnsafeNativeMethods.ITypeInfo ti = typeInfos[i]; 282private static Guid GetGuidForTypeInfo(UnsafeNativeMethods.ITypeInfo typeInfo, StructCache structCache, int[] versions) { 300UnsafeNativeMethods.PtrToStructure(pTypeAttr, typeAttr); 324private static Type GetValueTypeFromTypeDesc(NativeMethods.tagTYPEDESC typeDesc, UnsafeNativeMethods.ITypeInfo typeInfo, Object[] typeData, StructCache structCache) { 355UnsafeNativeMethods.PtrToStructure(typeDesc.unionMember, refTypeDesc); 376UnsafeNativeMethods.ITypeInfo refTypeInfo = null; 398UnsafeNativeMethods.PtrToStructure(pRefTypeAttr, refTypeAttr); 436private static PropertyDescriptor[] InternalGetProperties(Object obj, UnsafeNativeMethods.ITypeInfo typeInfo, int dispidToGet, ref int defaultIndex) { 444int nameDispID = GetNameDispId((UnsafeNativeMethods.IDispatch)obj); 525private static PropInfo ProcessDataCore(UnsafeNativeMethods.ITypeInfo typeInfo, IDictionary propInfoList, int dispid, int nameDispID, NativeMethods.tagTYPEDESC typeDesc, int flags, StructCache structCache) { 620private static void ProcessFunctions(UnsafeNativeMethods.ITypeInfo typeInfo, IDictionary propInfoList, int dispidToGet, int nameDispID, ref bool addAboutBox, StructCache structCache) { 629UnsafeNativeMethods.PtrToStructure(pTypeAttr, typeAttr); 653UnsafeNativeMethods.PtrToStructure(pFuncDesc, funcDesc); 716private static Type ProcessTypeInfoEnum(UnsafeNativeMethods.ITypeInfo enumTypeInfo, StructCache structCache) { 734UnsafeNativeMethods.PtrToStructure(pTypeAttr, typeAttr); 772UnsafeNativeMethods.PtrToStructure(pVarDesc, varDesc); 883private static void ProcessVariables(UnsafeNativeMethods.ITypeInfo typeInfo, IDictionary propInfoList, int dispidToGet, int nameDispID, StructCache structCache) { 892UnsafeNativeMethods.PtrToStructure(pTypeAttr, typeAttr); 910UnsafeNativeMethods.PtrToStructure(pVarDesc, varDesc); 984return typeof(UnsafeNativeMethods.IDispatch);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (11)
105UnsafeNativeMethods.ITypeInfo pTypeInfo = Com2TypeInfoProcessor.FindTypeInfo(component, true); 139if (!(component is UnsafeNativeMethods.IDispatch)) { 143int dispid = Com2TypeInfoProcessor.GetNameDispId((UnsafeNativeMethods.IDispatch)component); 157if (!(component is UnsafeNativeMethods.IDispatch)) { 161UnsafeNativeMethods.IDispatch iDispatch = (UnsafeNativeMethods.IDispatch)component; 180if (!(component is UnsafeNativeMethods.IDispatch)) { 195if (!(component is UnsafeNativeMethods.IDispatch)) { 198UnsafeNativeMethods.IDispatch iDispatch = (UnsafeNativeMethods.IDispatch)component; 243return dispid == Com2TypeInfoProcessor.GetNameDispId((UnsafeNativeMethods.IDispatch)obj);
winforms\Managed\System\WinForms\ContainerControl.cs (7)
677IntPtr focusHandle = UnsafeNativeMethods.GetFocus(); 679UnsafeNativeMethods.SetFocus(new HandleRef(activeControl, activeControl.Handle)); 698UnsafeNativeMethods.SetFocus(new HandleRef(cc, cc.Handle)); 716UnsafeNativeMethods.GetClientRect(new HandleRef(this, this.Handle), ref clientRectangle); 718UnsafeNativeMethods.ClientToScreen(new HandleRef(this, this.Handle), topLeftPoint); 739IntPtr dc = UnsafeNativeMethods.CreateCompatibleDC(NativeMethods.NullHandleRef); 779UnsafeNativeMethods.DeleteCompatibleDC(hdc);
winforms\Managed\System\WinForms\Control.cs (382)
70UnsafeNativeMethods.IOleControl, 71UnsafeNativeMethods.IOleObject, 72UnsafeNativeMethods.IOleInPlaceObject, 73UnsafeNativeMethods.IOleInPlaceActiveObject, 74UnsafeNativeMethods.IOleWindow, 75UnsafeNativeMethods.IViewObject, 76UnsafeNativeMethods.IViewObject2, 77UnsafeNativeMethods.IPersist, 78UnsafeNativeMethods.IPersistStreamInit, 79UnsafeNativeMethods.IPersistPropertyBag, 80UnsafeNativeMethods.IPersistStorage, 81UnsafeNativeMethods.IQuickActivate, 1475return IsHandleCreated && UnsafeNativeMethods.GetCapture() == Handle; 1480UnsafeNativeMethods.SetCapture(new HandleRef(this, Handle)); 1668IntPtr focusHwnd = UnsafeNativeMethods.GetFocus(); 1678if (UnsafeNativeMethods.IsChild(new HandleRef(this, this.Handle), new HandleRef(this, focusHwnd))) { 1845if ((UnsafeNativeMethods.GetModuleHandle(ExternDll.Comctl32) != IntPtr.Zero) 1846|| (UnsafeNativeMethods.LoadLibraryFromSystemPathIfAvailable(ExternDll.Comctl32) != IntPtr.Zero)) { 2088UnsafeNativeMethods.GetCursorPos(p); 2089UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 2091if ((r.left <= p.x && p.x < r.right && r.top <= p.y && p.y < r.bottom) || UnsafeNativeMethods.GetCapture() == Handle) 2479return IsHandleCreated && UnsafeNativeMethods.GetFocus() == Handle; 2929IntPtr parentHandle = UnsafeNativeMethods.GetParent(new HandleRef(this, Handle)); 2937int len = UnsafeNativeMethods.GetClassName(new HandleRef(null, lastParentHandle), null, 0); 2941UnsafeNativeMethods.GetClassName(new HandleRef(null, lastParentHandle), sb, sb.Capacity); 2949parentHandle = UnsafeNativeMethods.GetParent(new HandleRef(null, parentHandle)); 3000UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref temp); 3015(next = UnsafeNativeMethods.GetWindow(new HandleRef(null, prev), NativeMethods.GW_HWNDPREV)) != IntPtr.Zero; 3018UnsafeNativeMethods.GetWindowRect(new HandleRef(null, next), ref temp); 3343if (UnsafeNativeMethods.GetKeyState((int)Keys.ShiftKey) < 0) modifiers |= Keys.Shift; 3344if (UnsafeNativeMethods.GetKeyState((int)Keys.ControlKey) < 0) modifiers |= Keys.Control; 3345if (UnsafeNativeMethods.GetKeyState((int)Keys.Menu) < 0) modifiers |= Keys.Alt; 3360if (UnsafeNativeMethods.GetKeyState((int)Keys.LButton) < 0) buttons |= MouseButtons.Left; 3361if (UnsafeNativeMethods.GetKeyState((int)Keys.RButton) < 0) buttons |= MouseButtons.Right; 3362if (UnsafeNativeMethods.GetKeyState((int)Keys.MButton) < 0) buttons |= MouseButtons.Middle; 3363if (UnsafeNativeMethods.GetKeyState((int)Keys.XButton1) < 0) buttons |= MouseButtons.XButton1; 3364if (UnsafeNativeMethods.GetKeyState((int)Keys.XButton2) < 0) buttons |= MouseButtons.XButton2; 3383UnsafeNativeMethods.GetCursorPos(pt); 3592if (UnsafeNativeMethods.SetWindowRgn(new HandleRef(this, Handle), new HandleRef(this, regionHandle), SafeNativeMethods.IsWindowVisible(new HandleRef(this, Handle))) != 0) { 4219UnsafeNativeMethods.SendMessage(new HandleRef(TopMostParent, TopMostParent.Handle), 4262UnsafeNativeMethods.SendMessage(new HandleRef(TopMostParent, TopMostParent.Handle), 4415returnValue = UnsafeNativeMethods.GetExitCodeThread(threadHandle, out exitCode); 4472return unchecked((int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_EXSTYLE)); 4475UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_EXSTYLE, new HandleRef(null, (IntPtr)value)); 4485return unchecked((int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE)); 4488UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE, new HandleRef(null, (IntPtr)value)); 4546UnsafeNativeMethods.GetWindowText(new HandleRef(window, Handle), sb, sb.Capacity); 4554UnsafeNativeMethods.SetWindowText(new HandleRef(window, Handle), value); 5293UnsafeNativeMethods.NotifyWinEvent((int)accEvent, new HandleRef(this, Handle), objectID, childID + 1); 5797userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 5832UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 5948if (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, Handle), threadCallbackMessage, 5978if (0 != (NativeMethods.WS_EX_MDICHILD & (int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(window, InternalHandle), NativeMethods.GWL_EXSTYLE))) { 5979UnsafeNativeMethods.DefMDIChildProc(InternalHandle, NativeMethods.WM_CLOSE, IntPtr.Zero, IntPtr.Zero); 6105UnsafeNativeMethods.IOleDropSource dropSource = new DropSource( this ); 6174UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.WM_PRINT, (IntPtr)hDc, 6370UnsafeNativeMethods.SetFocus(new HandleRef(this, Handle)); 6409handle = UnsafeNativeMethods.GetAncestor(new HandleRef(null, handle), NativeMethods.GA_PARENT); 6485IntPtr hwnd = UnsafeNativeMethods.ChildWindowFromPointEx(new HandleRef(null, Handle), pt.X, pt.Y, value); 6675int id = UnsafeNativeMethods.GetMenuItemID(new HandleRef(null, hmenu), item); 6678childMenu = UnsafeNativeMethods.GetSubMenu(new HandleRef(null, hmenu), item); 6679int count = UnsafeNativeMethods.GetMenuItemCount(new HandleRef(null, childMenu)); 6802for (IntPtr hWndChild = UnsafeNativeMethods.GetWindow(new HandleRef(null, hWndParent), NativeMethods.GW_CHILD); 6804hWndChild = UnsafeNativeMethods.GetWindow(new HandleRef(null, hWndChild), NativeMethods.GW_HWNDNEXT)) { 7047Debug.Assert(hWnd == IntPtr.Zero || UnsafeNativeMethods.IsWindow(new HandleRef(null, hWnd))); 7053if (hWnd == IntPtr.Zero || UnsafeNativeMethods.IsWindow(new HandleRef(null, hWnd))) { 7147return UnsafeNativeMethods.GetStockObject(NativeMethods.HOLLOW_BRUSH); 7171hwndMouseWheel = UnsafeNativeMethods.FindWindow(NativeMethods.MOUSEZ_CLASSNAME, NativeMethods.MOUSEZ_TITLE); 7573int result = UnsafeNativeMethods.GetKeyState((int)keyVal); 7838UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), threadCallbackMessage, IntPtr.Zero, IntPtr.Zero); 8405UnsafeNativeMethods.SetParent(new HandleRef(this, this.Handle), new HandleRef(parent, parent.Handle)); 8732deviceDpi = (int)UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this, HandleInternal)); 8752if (UnsafeNativeMethods.SetWindowRgn(new HandleRef(this, Handle), new HandleRef(this, regionHandle), SafeNativeMethods.IsWindowVisible(new HandleRef(this, Handle))) != 0) { 8792UnsafeNativeMethods.SetWindowText(new HandleRef(this, Handle), text); 8817UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), threadCallbackMessage, IntPtr.Zero, IntPtr.Zero); 8833if (UnsafeNativeMethods.GetScrollInfo(new HandleRef(this, Handle), NativeMethods.SB_HORZ,si) != false) { 9404UnsafeNativeMethods.GetClientRect(new HandleRef(window, InternalHandle), ref rect); 10090UnsafeNativeMethods.MapWindowPoints(NativeMethods.NullHandleRef, new HandleRef(this, Handle), point, 1); 10107UnsafeNativeMethods.MapWindowPoints(new HandleRef(this, Handle), NativeMethods.NullHandleRef, point, 1); 10338Debug.Assert(UnsafeNativeMethods.GetObjectType(hDC) == NativeMethods.OBJ_ENHMETADC, 10379bool success = UnsafeNativeMethods.GetWindowRect(new HandleRef(null, this.Handle), ref windowRect); 10546int stringLength = UnsafeNativeMethods.MultiByteToWideChar(0 /*CP_ACP*/, UnsafeNativeMethods.MB_PRECOMPOSED, b, b.Length, unicodeCharArray, 0); 10549UnsafeNativeMethods.MultiByteToWideChar(0 /*CP_ACP*/, UnsafeNativeMethods.MB_PRECOMPOSED, b, b.Length, unicodeCharArray, unicodeCharArray.Length); 10605int bytesNeeded = UnsafeNativeMethods.WideCharToMultiByte(0 /*CP_ACP*/, 0, keyChar, keyChar.Length, null, 0, IntPtr.Zero, IntPtr.Zero); 10610UnsafeNativeMethods.WideCharToMultiByte(0 /*CP_ACP*/, 0, keyChar, keyChar.Length, mbcsBytes, mbcsBytes.Length, IntPtr.Zero, IntPtr.Zero); 10626UnsafeNativeMethods.WideCharToMultiByte(0 /*CP_ACP*/, 10824UnsafeNativeMethods.SendMessage( 10826UnsafeNativeMethods.GetParent(new HandleRef(null, topMostParent.Handle)) == IntPtr.Zero ? NativeMethods.WM_CHANGEUISTATE : NativeMethods.WM_UPDATEUISTATE, 10858while (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, hwnd), 10970HandleRef parentHandle = new HandleRef(this, UnsafeNativeMethods.GetParent(new HandleRef(this, this.Handle))); 11032&& UnsafeNativeMethods.IsWindow(parentHandle)) { // and still is a window 11036UnsafeNativeMethods.SetParent(new HandleRef(this, this.Handle), parentHandle); 11062UnsafeNativeMethods.MapWindowPoints(NativeMethods.NullHandleRef, new HandleRef(this, Handle), ref rect, 2); 11079UnsafeNativeMethods.MapWindowPoints(new HandleRef(this, Handle), NativeMethods.NullHandleRef, ref rect, 2); 11121UnsafeNativeMethods.UiaReturnRawElementProvider(new HandleRef(this, handle), new IntPtr(0), new IntPtr(0), null); 11246int n = UnsafeNativeMethods.RegisterDragDrop(new HandleRef(this, Handle), (UnsafeNativeMethods.IOleDropTarget)(new DropTarget(this))); 11255int n = UnsafeNativeMethods.RevokeDragDrop(new HandleRef(this, Handle)); 11732return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, wparam, lparam); 11741return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, ref wparam, ref lparam); 11745return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, (IntPtr)wparam, lparam); 11750return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, wparam, lparam); 11755return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, wparam, (IntPtr)lparam); 11764return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, wparam, ref lparam); 11773return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, wparam, lparam); 11782return UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), msg, wparam, lparam); 11971IntPtr parentHandle = UnsafeNativeMethods.GetParent(new HandleRef(window, Handle)); 12002UnsafeNativeMethods.SetParent(new HandleRef(window, Handle), new HandleRef(null, value)); 12014UnsafeNativeMethods.SetParent(new HandleRef(window, Handle), new HandleRef(null, IntPtr.Zero)); 12418int styleFlags = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 12419UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE, new HandleRef(null, (IntPtr)(value? styleFlags | flag: styleFlags & ~flag))); 12517UnsafeNativeMethods.GetClientRect(new HandleRef(window, InternalHandle), ref rect); 12520UnsafeNativeMethods.GetWindowRect(new HandleRef(window, InternalHandle), ref rect); 12522UnsafeNativeMethods.MapWindowPoints(NativeMethods.NullHandleRef, new HandleRef(null, UnsafeNativeMethods.GetParent(new HandleRef(window, InternalHandle))), ref rect, 2); 12644while ((hWnd = UnsafeNativeMethods.GetWindow(new HandleRef(null, hWnd), NativeMethods.GW_HWNDPREV)) != IntPtr.Zero) { 12672IntPtr parentHandle = UnsafeNativeMethods.GetParent(new HandleRef(this, Handle)); 12705if (UnsafeNativeMethods.GetWindow(new HandleRef(ctl.window, ctl.Handle), NativeMethods.GW_HWNDPREV) != prevHandle) { 12800parentHandle = UnsafeNativeMethods.GetParent(new HandleRef(null, parentHandle)); 12802int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(null, lastParentHandle), NativeMethods.GWL_STYLE))); 12811UnsafeNativeMethods.PostMessage(new HandleRef(null, lastParentHandle), NativeMethods.WM_CLOSE, IntPtr.Zero, IntPtr.Zero); 12965UnsafeNativeMethods.GetClientRect(new HandleRef(this, Handle), ref rc); 13044m.Result = UnsafeNativeMethods.UiaReturnRawElementProvider( 13090UnsafeNativeMethods.IAccessibleInternal iacc = (UnsafeNativeMethods.IAccessibleInternal) intAccessibleObject; 13110m.Result = UnsafeNativeMethods.LresultFromObject(ref IID_IAccessible, m.WParam, new HandleRef(ctrlAccessibleObject, punkAcc)); 13423deviceDpi = (int)UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this, HandleInternal)); 13450uint dpi = UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this, HandleInternal)); 13510if (GetState(STATE_MOUSEPRESSED) && !IsDisposed && UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) { 13586m.Result = UnsafeNativeMethods.SendMessage(new HandleRef(null, nmhdr->hwndFrom), NativeMethods.WM_REFLECT + m.Msg, m.WParam, m.LParam); 13590UnsafeNativeMethods.SendMessage(new HandleRef(null, nmhdr->hwndFrom), NativeMethods.WM_REFLECT + m.Msg, m.WParam, m.LParam); 13617IntPtr p = UnsafeNativeMethods.GetDlgItem(new HandleRef(null, m.HWnd), ctrlId); 13669dc = UnsafeNativeMethods.BeginPaint(new HandleRef(this, hWnd), ref ps); 13778UnsafeNativeMethods.EndPaint(new HandleRef(this, hWnd), ref ps); 13795IntPtr dc = UnsafeNativeMethods.GetDC(new HandleRef(this, Handle)); 13801UnsafeNativeMethods.ReleaseDC(new HandleRef(this, Handle), new HandleRef(null, dc)); 13873hWnd = UnsafeNativeMethods.GetDlgItem(new HandleRef(this, Handle), NativeMethods.Util.HIWORD(m.WParam)); 14075if (parent != null && UnsafeNativeMethods.GetParent(new HandleRef(window, InternalHandle)) == parent.InternalHandle && 14412keyState |= (Keys)((UnsafeNativeMethods.GetKeyState((int)Keys.ControlKey) < 0) ? NativeMethods.MK_CONTROL : 0); 14413keyState |= (Keys)((UnsafeNativeMethods.GetKeyState((int)Keys.ShiftKey) < 0) ? NativeMethods.MK_SHIFT : 0); 14415IntPtr hwndFocus = UnsafeNativeMethods.GetFocus(); 14422IntPtr hwndDesktop = UnsafeNativeMethods.GetDesktopWindow(); 14425result = UnsafeNativeMethods.SendMessage(new HandleRef(null, hwndFocus), 14429hwndFocus = UnsafeNativeMethods.GetParent(new HandleRef(null, hwndFocus)); 15274int UnsafeNativeMethods.IOleControl.GetControlInfo(NativeMethods.tagCONTROLINFO pCI) { 15297int UnsafeNativeMethods.IOleControl.OnMnemonic(ref NativeMethods.MSG pMsg) { 15311int UnsafeNativeMethods.IOleControl.OnAmbientPropertyChange(int dispID) { 15323int UnsafeNativeMethods.IOleControl.FreezeEvents(int bFreeze) { 15334int UnsafeNativeMethods.IOleInPlaceActiveObject.GetWindow(out IntPtr hwnd) { 15335return((UnsafeNativeMethods.IOleInPlaceObject)this).GetWindow(out hwnd); 15342void UnsafeNativeMethods.IOleInPlaceActiveObject.ContextSensitiveHelp(int fEnterMode) { 15343((UnsafeNativeMethods.IOleInPlaceObject)this).ContextSensitiveHelp(fEnterMode); 15350int UnsafeNativeMethods.IOleInPlaceActiveObject.TranslateAccelerator(ref NativeMethods.MSG lpmsg) { 15358void UnsafeNativeMethods.IOleInPlaceActiveObject.OnFrameWindowActivate(bool fActivate) { 15368void UnsafeNativeMethods.IOleInPlaceActiveObject.OnDocWindowActivate(int fActivate) { 15379void UnsafeNativeMethods.IOleInPlaceActiveObject.ResizeBorder(NativeMethods.COMRECT prcBorder, UnsafeNativeMethods.IOleInPlaceUIWindow pUIWindow, bool fFrameWindow) { 15388void UnsafeNativeMethods.IOleInPlaceActiveObject.EnableModeless(int fEnable) { 15397int UnsafeNativeMethods.IOleInPlaceObject.GetWindow(out IntPtr hwnd) { 15408void UnsafeNativeMethods.IOleInPlaceObject.ContextSensitiveHelp(int fEnterMode) { 15419void UnsafeNativeMethods.IOleInPlaceObject.InPlaceDeactivate() { 15430int UnsafeNativeMethods.IOleInPlaceObject.UIDeactivate() { 15439void UnsafeNativeMethods.IOleInPlaceObject.SetObjectRects(NativeMethods.COMRECT lprcPosRect, NativeMethods.COMRECT lprcClipRect) { 15450void UnsafeNativeMethods.IOleInPlaceObject.ReactivateAndUndo() { 15459int UnsafeNativeMethods.IOleObject.SetClientSite(UnsafeNativeMethods.IOleClientSite pClientSite) { 15469UnsafeNativeMethods.IOleClientSite UnsafeNativeMethods.IOleObject.GetClientSite() { 15478int UnsafeNativeMethods.IOleObject.SetHostNames(string szContainerApp, string szContainerObj) { 15489int UnsafeNativeMethods.IOleObject.Close(int dwSaveOption) { 15499int UnsafeNativeMethods.IOleObject.SetMoniker(int dwWhichMoniker, Object pmk) { 15508int UnsafeNativeMethods.IOleObject.GetMoniker(int dwAssign, int dwWhichMoniker, out Object moniker) { 15518int UnsafeNativeMethods.IOleObject.InitFromData(IComDataObject pDataObject, int fCreation, int dwReserved) { 15527int UnsafeNativeMethods.IOleObject.GetClipboardData(int dwReserved, out IComDataObject data) { 15537int UnsafeNativeMethods.IOleObject.DoVerb(int iVerb, IntPtr lpmsg, UnsafeNativeMethods.IOleClientSite pActiveSite, int lindex, IntPtr hwndParent, NativeMethods.COMRECT lprcPosRect) { 15575int UnsafeNativeMethods.IOleObject.EnumVerbs(out UnsafeNativeMethods.IEnumOLEVERB e) { 15584int UnsafeNativeMethods.IOleObject.OleUpdate() { 15593int UnsafeNativeMethods.IOleObject.IsUpToDate() { 15602int UnsafeNativeMethods.IOleObject.GetUserClassID(ref Guid pClsid) { 15612int UnsafeNativeMethods.IOleObject.GetUserType(int dwFormOfType, out string userType) { 15627int UnsafeNativeMethods.IOleObject.SetExtent(int dwDrawAspect, NativeMethods.tagSIZEL pSizel) { 15639int UnsafeNativeMethods.IOleObject.GetExtent(int dwDrawAspect, NativeMethods.tagSIZEL pSizel) { 15652int UnsafeNativeMethods.IOleObject.Advise(IAdviseSink pAdvSink, out int cookie) { 15662int UnsafeNativeMethods.IOleObject.Unadvise(int dwConnection) { 15674int UnsafeNativeMethods.IOleObject.EnumAdvise(out IEnumSTATDATA e) { 15684int UnsafeNativeMethods.IOleObject.GetMiscStatus(int dwAspect, out int cookie) { 15711int UnsafeNativeMethods.IOleObject.SetColorScheme(NativeMethods.tagLOGPALETTE pLogpal) { 15720int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) { 15721return((UnsafeNativeMethods.IOleInPlaceObject)this).GetWindow(out hwnd); 15728void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) { 15729((UnsafeNativeMethods.IOleInPlaceObject)this).ContextSensitiveHelp(fEnterMode); 15736void UnsafeNativeMethods.IPersist.GetClassID(out Guid pClassID) { 15745void UnsafeNativeMethods.IPersistPropertyBag.InitNew() { 15753void UnsafeNativeMethods.IPersistPropertyBag.GetClassID(out Guid pClassID) { 15762void UnsafeNativeMethods.IPersistPropertyBag.Load(UnsafeNativeMethods.IPropertyBag pPropBag, UnsafeNativeMethods.IErrorLog pErrorLog) { 15773void UnsafeNativeMethods.IPersistPropertyBag.Save(UnsafeNativeMethods.IPropertyBag pPropBag, bool fClearDirty, bool fSaveAllProperties) { 15784void UnsafeNativeMethods.IPersistStorage.GetClassID(out Guid pClassID) { 15793int UnsafeNativeMethods.IPersistStorage.IsDirty() { 15802void UnsafeNativeMethods.IPersistStorage.InitNew(UnsafeNativeMethods.IStorage pstg) { 15810int UnsafeNativeMethods.IPersistStorage.Load(UnsafeNativeMethods.IStorage pstg) { 15822void UnsafeNativeMethods.IPersistStorage.Save(UnsafeNativeMethods.IStorage pstg, bool fSameAsLoad) { 15833void UnsafeNativeMethods.IPersistStorage.SaveCompleted(UnsafeNativeMethods.IStorage pStgNew) { 15841void UnsafeNativeMethods.IPersistStorage.HandsOffStorage() { 15849void UnsafeNativeMethods.IPersistStreamInit.GetClassID(out Guid pClassID) { 15858int UnsafeNativeMethods.IPersistStreamInit.IsDirty() { 15867void UnsafeNativeMethods.IPersistStreamInit.Load(UnsafeNativeMethods.IStream pstm) { 15878void UnsafeNativeMethods.IPersistStreamInit.Save(UnsafeNativeMethods.IStream pstm, bool fClearDirty) { 15889void UnsafeNativeMethods.IPersistStreamInit.GetSizeMax(long pcbSize) { 15897void UnsafeNativeMethods.IPersistStreamInit.InitNew() { 15905void UnsafeNativeMethods.IQuickActivate.QuickActivate(UnsafeNativeMethods.tagQACONTAINER pQaContainer, UnsafeNativeMethods.tagQACONTROL pQaControl) { 15916void UnsafeNativeMethods.IQuickActivate.SetContentExtent(NativeMethods.tagSIZEL pSizel) { 15927void UnsafeNativeMethods.IQuickActivate.GetContentExtent(NativeMethods.tagSIZEL pSizel) { 15938int UnsafeNativeMethods.IViewObject.Draw(int dwDrawAspect, int lindex, IntPtr pvAspect, NativeMethods.tagDVTARGETDEVICE ptd, 15963int UnsafeNativeMethods.IViewObject.GetColorSet(int dwDrawAspect, int lindex, IntPtr pvAspect, NativeMethods.tagDVTARGETDEVICE ptd, 15977int UnsafeNativeMethods.IViewObject.Freeze(int dwDrawAspect, int lindex, IntPtr pvAspect, IntPtr pdwFreeze) { 15986int UnsafeNativeMethods.IViewObject.Unfreeze(int dwFreeze) { 15995void UnsafeNativeMethods.IViewObject.SetAdvise(int aspects, int advf, IAdviseSink pAdvSink) { 16004void UnsafeNativeMethods.IViewObject.GetAdvise(int[] paspects, int[] padvf, IAdviseSink[] pAdvSink) { 16013void UnsafeNativeMethods.IViewObject2.Draw(int dwDrawAspect, int lindex, IntPtr pvAspect, NativeMethods.tagDVTARGETDEVICE ptd, 16027int UnsafeNativeMethods.IViewObject2.GetColorSet(int dwDrawAspect, int lindex, IntPtr pvAspect, NativeMethods.tagDVTARGETDEVICE ptd, 16041int UnsafeNativeMethods.IViewObject2.Freeze(int dwDrawAspect, int lindex, IntPtr pvAspect, IntPtr pdwFreeze) { 16050int UnsafeNativeMethods.IViewObject2.Unfreeze(int dwFreeze) { 16059void UnsafeNativeMethods.IViewObject2.SetAdvise(int aspects, int advf, IAdviseSink pAdvSink) { 16068void UnsafeNativeMethods.IViewObject2.GetAdvise(int[] paspects, int[] padvf, IAdviseSink[] pAdvSink) { 16077void UnsafeNativeMethods.IViewObject2.GetExtent(int dwDrawAspect, int lindex, NativeMethods.tagDVTARGETDEVICE ptd, NativeMethods.tagSIZEL lpsizel) { 16081((UnsafeNativeMethods.IOleObject)this).GetExtent(dwDrawAspect, lpsizel); 16194UnsafeNativeMethods.GetWindowRect(new HandleRef(this, this.Handle), ref rectangle); 16214UnsafeNativeMethods.GetKeyboardState(tempKeyboardStateArray); 16287private UnsafeNativeMethods.IOleClientSite clientSite; 16288private UnsafeNativeMethods.IOleInPlaceUIWindow inPlaceUiWindow; 16289private UnsafeNativeMethods.IOleInPlaceFrame inPlaceFrame; 16377UnsafeNativeMethods.IFont ifont = (UnsafeNativeMethods.IFont)obj; 16482UnsafeNativeMethods.IOleContainer container; 16489if (container != null && UnsafeNativeMethods.IsComObject(container)) { 16490UnsafeNativeMethods.ReleaseComObject(container); 16509IntPtr dc = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 16510logPixels.X = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, dc), NativeMethods.LOGPIXELSX); 16511logPixels.Y = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, dc), NativeMethods.LOGPIXELSY); 16512UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, dc)); 16551internal void DoVerb(int iVerb, IntPtr lpmsg, UnsafeNativeMethods.IOleClientSite pActiveSite, int lindex, IntPtr hwndParent, NativeMethods.COMRECT lprcPosRect) { 16565NativeMethods.MSG msg = (NativeMethods.MSG)UnsafeNativeMethods.PtrToStructure(lpmsg, typeof(NativeMethods.MSG)); 16576UnsafeNativeMethods.MapWindowPoints(new HandleRef(null, hwndMap), new HandleRef(control, control.Handle), pt, 1); 16584UnsafeNativeMethods.MapWindowPoints(new HandleRef(target, target.Handle), new HandleRef(realTarget, realTarget.Handle), pt, 1); 16666int hdcType = UnsafeNativeMethods.GetObjectType(new HandleRef(null, hdcDraw)); 16734internal static int EnumVerbs(out UnsafeNativeMethods.IEnumOLEVERB e) { 16823if (clientSite is UnsafeNativeMethods.IDispatch) { 16826UnsafeNativeMethods.IDispatch disp = (UnsafeNativeMethods.IDispatch)clientSite; 16858internal UnsafeNativeMethods.IOleClientSite GetClientSite() { 16875int accelSize = UnsafeNativeMethods.SizeOf(typeof(NativeMethods.ACCEL)); 16900accel.key = (short)(UnsafeNativeMethods.VkKeyScan(ch) & 0x00FF); 16914short scan = (short)(UnsafeNativeMethods.VkKeyScan(ch)); 16933 UnsafeNativeMethods.DestroyAcceleratorTable(new HandleRef(this, accelTable)); 16937accelTable = UnsafeNativeMethods.CreateAcceleratorTable(new HandleRef(null, accelBlob), accelCount); 17037UnsafeNativeMethods.IOleInPlaceSite inPlaceSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 17068inPlaceFrameInfo.cb = UnsafeNativeMethods.SizeOf(typeof(NativeMethods.tagOIFI)); 17075UnsafeNativeMethods.IOleInPlaceFrame pFrame; 17076UnsafeNativeMethods.IOleInPlaceUIWindow pWindow; 17080if (inPlaceUiWindow != null && UnsafeNativeMethods.IsComObject(inPlaceUiWindow)) { 17081UnsafeNativeMethods.ReleaseComObject(inPlaceUiWindow); 17085if (inPlaceFrame != null && UnsafeNativeMethods.IsComObject(inPlaceFrame)) { 17086UnsafeNativeMethods.ReleaseComObject(inPlaceFrame); 17105UnsafeNativeMethods.SetParent(new HandleRef(control, control.Handle), new HandleRef(null, hwndParent)); 17153UnsafeNativeMethods.ThrowExceptionForHR(hr); 17160UnsafeNativeMethods.ThrowExceptionForHR(hr); 17196UnsafeNativeMethods.IOleInPlaceSite oleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 17210if (inPlaceUiWindow != null && UnsafeNativeMethods.IsComObject(inPlaceUiWindow)) { 17211UnsafeNativeMethods.ReleaseComObject(inPlaceUiWindow); 17215if (inPlaceFrame != null && UnsafeNativeMethods.IsComObject(inPlaceFrame)) { 17216UnsafeNativeMethods.ReleaseComObject(inPlaceFrame); 17259internal void Load(UnsafeNativeMethods.IStorage stg) { 17260UnsafeNativeMethods.IStream stream = null; 17282if (UnsafeNativeMethods.IsComObject(stg)) { 17283UnsafeNativeMethods.ReleaseComObject(stg); 17291internal void Load(UnsafeNativeMethods.IStream stream) { 17299if (UnsafeNativeMethods.IsComObject(stream)) { 17300UnsafeNativeMethods.ReleaseComObject(stream); 17307internal void Load(UnsafeNativeMethods.IPropertyBag pPropBag, UnsafeNativeMethods.IErrorLog pErrorLog) { 17410if (UnsafeNativeMethods.IsComObject(pPropBag)) { 17411UnsafeNativeMethods.ReleaseComObject(pPropBag); 17574UnsafeNativeMethods.ThrowExceptionForHR(hr); 17584if (activeXState[inPlaceActive] && clientSite is UnsafeNativeMethods.IOleControlSite) { 17587((UnsafeNativeMethods.IOleControlSite)clientSite).OnFocus(focus ? 1 : 0); 17614internal void QuickActivate(UnsafeNativeMethods.tagQACONTAINER pQaContainer, UnsafeNativeMethods.tagQACONTROL pQaControl) { 17634UnsafeNativeMethods.IFont ifont = (UnsafeNativeMethods.IFont)objfont; 17656pQaControl.cbSize = UnsafeNativeMethods.SizeOf(typeof(UnsafeNativeMethods.tagQACONTROL)); 17666((UnsafeNativeMethods.IOleObject)control).GetMiscStatus(NativeMethods.DVASPECT_CONTENT, out status); 17705if (pQaContainer.pPropertyNotifySink != null && UnsafeNativeMethods.IsComObject(pQaContainer.pPropertyNotifySink)) { 17706UnsafeNativeMethods.ReleaseComObject(pQaContainer.pPropertyNotifySink); 17709if (pQaContainer.pUnkEventSink != null && UnsafeNativeMethods.IsComObject(pQaContainer.pUnkEventSink)) { 17710UnsafeNativeMethods.ReleaseComObject(pQaContainer.pUnkEventSink); 17985internal void Save(UnsafeNativeMethods.IStorage stg, bool fSameAsLoad) { 17986UnsafeNativeMethods.IStream stream = null; 17997UnsafeNativeMethods.ReleaseComObject(stream); 18004internal void Save(UnsafeNativeMethods.IStream stream, bool fClearDirty) { 18017if (UnsafeNativeMethods.IsComObject(stream)) { 18018UnsafeNativeMethods.ReleaseComObject(stream); 18026internal void Save(UnsafeNativeMethods.IPropertyBag pPropBag, bool fClearDirty, bool fSaveAllProperties) { 18069if (UnsafeNativeMethods.IsComObject(pPropBag)) { 18070UnsafeNativeMethods.ReleaseComObject(pPropBag); 18109if (viewAdviseSink != null && UnsafeNativeMethods.IsComObject(viewAdviseSink)) { 18110UnsafeNativeMethods.ReleaseComObject(viewAdviseSink); 18126internal void SetClientSite(UnsafeNativeMethods.IOleClientSite value) { 18161if (UnsafeNativeMethods.IsComObject(clientSite)) { 18194UnsafeNativeMethods.DestroyAcceleratorTable(new HandleRef(this, accelTable)); 18259UnsafeNativeMethods.IOleInPlaceSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 18407IntPtr hWndParent = UnsafeNativeMethods.GetParent(new HandleRef(control, control.Handle)); 18412UnsafeNativeMethods.MapWindowPoints(new HandleRef(null, hWndParent), new HandleRef(control, control.Handle), ref rcIntersect, 2); 18438UnsafeNativeMethods.SetWindowRgn(new HandleRef(control, control.Handle), new HandleRef(this, finalClipRegion), SafeNativeMethods.IsWindowVisible(new HandleRef(control, control.Handle))); 18533UnsafeNativeMethods.TranslateMessage(ref lpmsg); 18535UnsafeNativeMethods.DispatchMessageW(ref lpmsg); 18538UnsafeNativeMethods.DispatchMessageA(ref lpmsg); 18555UnsafeNativeMethods.IOleControlSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleControlSite; 18559if (UnsafeNativeMethods.GetKeyState(NativeMethods.VK_SHIFT) < 0) keyState |= 1; 18560if (UnsafeNativeMethods.GetKeyState(NativeMethods.VK_CONTROL) < 0) keyState |= 2; 18561if (UnsafeNativeMethods.GetKeyState(NativeMethods.VK_MENU) < 0) keyState |= 4; 18598UnsafeNativeMethods.IOleInPlaceSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 18617if (sink != null && UnsafeNativeMethods.IsComObject(sink)) { 18618UnsafeNativeMethods.ReleaseComObject(sink); 18628UnsafeNativeMethods.IOleInPlaceSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 18685UnsafeNativeMethods.IOleControlSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleControlSite; 18722if (UnsafeNativeMethods.IsComObject(viewAdviseSink)) { 18723UnsafeNativeMethods.ReleaseComObject(viewAdviseSink); 18761private class PropertyBagStream : UnsafeNativeMethods.IPropertyBag { 18765internal void Read(UnsafeNativeMethods.IStream istream) { 18805int UnsafeNativeMethods.IPropertyBag.Read(string pszPropName, ref object pVar, UnsafeNativeMethods.IErrorLog pErrorLog) 18815int UnsafeNativeMethods.IPropertyBag.Write(string pszPropName, ref object pVar) 18822internal void Write(UnsafeNativeMethods.IStream istream) 18833private UnsafeNativeMethods.IOleClientSite clientSite; 18838internal AxSourcingSite(IComponent component, UnsafeNativeMethods.IOleClientSite clientSite, string name) { 18863UnsafeNativeMethods.IOleContainer iOlecontainer; 18879&& (iOlecontainer is UnsafeNativeMethods.IHTMLDocument)) { 18886retVal = new HtmlDocument(shimManager, iOlecontainer as UnsafeNativeMethods.IHTMLDocument); 18969Guid iid = typeof(UnsafeNativeMethods.IFont).GUID; 18971UnsafeNativeMethods.IFont oleFont = UnsafeNativeMethods.OleCreateFontIndirect(fontDesc, ref iid); 18987UnsafeNativeMethods.IFont nativeFont = (UnsafeNativeMethods.IFont)Marshal.GetObjectForIUnknown(pObj); 19022private class ActiveXVerbEnum : UnsafeNativeMethods.IEnumOLEVERB { 19081public void Clone(out UnsafeNativeMethods.IEnumOLEVERB ppenum) { 19238Debug.Assert(UnsafeNativeMethods.GetObjectType(hOriginalDC) == NativeMethods.OBJ_ENHMETADC, 19248hBitmapDC = new HandleRef(this, UnsafeNativeMethods.CreateCompatibleDC(NativeMethods.NullHandleRef)); 19250int planes = UnsafeNativeMethods.GetDeviceCaps(hBitmapDC, NativeMethods.PLANES); 19251int bitsPixel = UnsafeNativeMethods.GetDeviceCaps(hBitmapDC, NativeMethods.BITSPIXEL); 19274success = UnsafeNativeMethods.DeleteCompatibleDC(hBitmapDC); 19313if (UnsafeNativeMethods.GetObject(hBitmap, Marshal.SizeOf(bmp), bmp) == 0) { 19647oleAccAvailable = UnsafeNativeMethods.LoadLibraryFromSystemPathIfAvailable("oleacc.dll"); 19660UnsafeNativeMethods.FreeLibrary(new HandleRef(null, oleAccAvailable)); 19873UnsafeNativeMethods.NotifyWinEvent((int)accEvent, new HandleRef(this, Handle), NativeMethods.OBJID_CLIENT, 0); 19887UnsafeNativeMethods.NotifyWinEvent((int)accEvent, new HandleRef(this, Handle), NativeMethods.OBJID_CLIENT, childID + 1); 19901UnsafeNativeMethods.NotifyWinEvent((int)accEvent, new HandleRef(this, Handle), objectID, childID + 1); 19950internal override UnsafeNativeMethods.IRawElementProviderSimple HostRawElementProvider { 19953UnsafeNativeMethods.IRawElementProviderSimple provider; 19954UnsafeNativeMethods.UiaHostProviderFromHwnd(new HandleRef(this, Handle), out provider);
winforms\Managed\System\WinForms\Control.Ime.cs (34)
48UnsafeNativeMethods.IOleControl, 49UnsafeNativeMethods.IOleObject, 50UnsafeNativeMethods.IOleInPlaceObject, 51UnsafeNativeMethods.IOleInPlaceActiveObject, 52UnsafeNativeMethods.IOleWindow, 53UnsafeNativeMethods.IViewObject, 54UnsafeNativeMethods.IViewObject2, 55UnsafeNativeMethods.IPersist, 56UnsafeNativeMethods.IPersistStreamInit, 57UnsafeNativeMethods.IPersistPropertyBag, 58UnsafeNativeMethods.IPersistStorage, 59UnsafeNativeMethods.IQuickActivate, 296ctl = FromChildHandleInternal( UnsafeNativeMethods.GetFocus() ); 418IntPtr focusHandle = UnsafeNativeMethods.GetFocus(); 426focusHandle = UnsafeNativeMethods.GetAncestor(new HandleRef(null, focusHandle), NativeMethods.GA_ROOT); 899IntPtr oldContext = UnsafeNativeMethods.ImmAssociateContext( new HandleRef( null, handle ), NativeMethods.NullHandleRef ); 918IntPtr inputContext = UnsafeNativeMethods.ImmGetContext( new HandleRef( null, handle ) ); 925inputContext = UnsafeNativeMethods.ImmCreateContext(); 928UnsafeNativeMethods.ImmAssociateContext( new HandleRef( null, handle ), new HandleRef( null, inputContext ) ); 933UnsafeNativeMethods.ImmAssociateContext( new HandleRef( null, handle ), new HandleRef( null, originalImeContext ) ); 938UnsafeNativeMethods.ImmReleaseContext( new HandleRef( null, handle ), new HandleRef( null, inputContext ) ); 971inputContext = UnsafeNativeMethods.ImmGetContext( new HandleRef( null, handle ) ); 993UnsafeNativeMethods.ImmGetConversionStatus( new HandleRef( null, inputContext ), ref conversion, ref sentence ); 1020UnsafeNativeMethods.ImmReleaseContext( new HandleRef( null, handle ), new HandleRef( null, inputContext ) ); 1110IntPtr inputContext = UnsafeNativeMethods.ImmGetContext( new HandleRef( null, handle ) ); 1117retval = UnsafeNativeMethods.ImmGetOpenStatus( new HandleRef( null, inputContext ) ); 1119UnsafeNativeMethods.ImmReleaseContext( new HandleRef( null, handle ), new HandleRef( null, inputContext ) ); 1201IntPtr inputContext = UnsafeNativeMethods.ImmGetContext( new HandleRef( null, handle ) ); 1204UnsafeNativeMethods.ImmGetConversionStatus( new HandleRef( null, inputContext ), ref conversion, ref sentence ); 1210bool retval = UnsafeNativeMethods.ImmSetConversionStatus( new HandleRef( null, inputContext ), conversion, sentence ); 1212UnsafeNativeMethods.ImmReleaseContext( new HandleRef( null, handle ), new HandleRef( null, inputContext ) ); 1231IntPtr inputContext = UnsafeNativeMethods.ImmGetContext( new HandleRef( null, handle ) ); 1236bool succeeded = UnsafeNativeMethods.ImmSetOpenStatus( new HandleRef( null, inputContext ), open ); 1241succeeded = UnsafeNativeMethods.ImmReleaseContext( new HandleRef( null, handle ), new HandleRef( null, inputContext ) );
winforms\Managed\System\WinForms\ControlPaint.cs (19)
164UnsafeNativeMethods.GetObject(new HandleRef(null, palette), 2, ref entryCount); 307IntPtr hdcS = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 308IntPtr source = UnsafeNativeMethods.CreateCompatibleDC(new HandleRef(null, hdcS)); 309IntPtr target = UnsafeNativeMethods.CreateCompatibleDC(new HandleRef(null, hdcS)); 310UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hdcS)); 328UnsafeNativeMethods.DeleteCompatibleDC(new HandleRef(null, source)); 329UnsafeNativeMethods.DeleteCompatibleDC(new HandleRef(null, target)); 1783IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(null, UnsafeNativeMethods.GetDesktopWindow()), NativeMethods.NullHandleRef, NativeMethods.DCX_WINDOW | NativeMethods.DCX_LOCKWINDOWUPDATE | NativeMethods.DCX_CACHE); 1798IntPtr oldBrush = SafeNativeMethods.SelectObject(new HandleRef(null, dc), new HandleRef(null, UnsafeNativeMethods.GetStockObject(NativeMethods.HOLLOW_BRUSH))); 1812UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, dc)); 1826IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(null, UnsafeNativeMethods.GetDesktopWindow()), NativeMethods.NullHandleRef, NativeMethods.DCX_WINDOW | NativeMethods.DCX_LOCKWINDOWUPDATE | NativeMethods.DCX_CACHE); 1830IntPtr oldBrush = SafeNativeMethods.SelectObject(new HandleRef(null, dc), new HandleRef(null, UnsafeNativeMethods.GetStockObject(NativeMethods.HOLLOW_BRUSH))); 1841UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, dc)); 2007IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(null, UnsafeNativeMethods.GetDesktopWindow()), NativeMethods.NullHandleRef, NativeMethods.DCX_WINDOW | NativeMethods.DCX_LOCKWINDOWUPDATE | NativeMethods.DCX_CACHE); 2019UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, dc)); 2035internal static bool FontToIFont(Font source, UnsafeNativeMethods.IFont target) {
winforms\Managed\System\WinForms\Cursor.cs (22)
63LoadPicture(new UnsafeNativeMethods.ComStreamFromDataStream(new MemoryStream(cursorData))); 93LoadPicture(new UnsafeNativeMethods.ComStreamFromDataStream(new MemoryStream(cursorData))); 131LoadPicture(new UnsafeNativeMethods.ComStreamFromDataStream(new MemoryStream(cursorData))); 153LoadPicture(new UnsafeNativeMethods.ComStreamFromDataStream(new MemoryStream(cursorData))); 190UnsafeNativeMethods.ClipCursor(null); 194UnsafeNativeMethods.ClipCursor(ref rcClip); 231UnsafeNativeMethods.SetCursor(new HandleRef(value, handle)); 312UnsafeNativeMethods.GetCursorPos(p); 317UnsafeNativeMethods.SetCursorPos(value.X, value.Y); 332UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXCURSOR), 333UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYCURSOR) 375UnsafeNativeMethods.DestroyCursor(new HandleRef(this, handle)); 568UnsafeNativeMethods.ShowCursor(false); 597UnsafeNativeMethods.GetObject(new HandleRef(null, info.hbmColor), Marshal.SizeOf(typeof(NativeMethods.BITMAP)), bmp); 602UnsafeNativeMethods.GetObject(new HandleRef(null, info.hbmMask), Marshal.SizeOf(typeof(NativeMethods.BITMAP)), bmp); 617private void LoadPicture(UnsafeNativeMethods.IStream stream) { 623Guid g = typeof(UnsafeNativeMethods.IPicture).GUID; 624UnsafeNativeMethods.IPicture picture = null; 629picture = UnsafeNativeMethods.OleCreateIPictureIndirect(null, ref g, true); 630UnsafeNativeMethods.IPersistStream ipictureAsIPersist = (UnsafeNativeMethods.IPersistStream)picture; 695UnsafeNativeMethods.ShowCursor(true);
winforms\Managed\System\WinForms\DataGrid.cs (3)
5784cachedScrollableRegion = UnsafeNativeMethods.GetRectsFromRegion(handle); 5857IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(this, parentHandle), NativeMethods.NullHandleRef, NativeMethods.DCX_CACHE | NativeMethods.DCX_LOCKWINDOWUPDATE); 5863UnsafeNativeMethods.ReleaseDC(new HandleRef(this, parentHandle), new HandleRef(this, dc));
winforms\Managed\System\WinForms\DataGridToolTip.cs (4)
49UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 51UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETDELAYTIME, NativeMethods.TTDT_INITIAL, 0); 73UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_ADDTOOL, 0, toolInfo); 82UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_DELTOOL, 0, toolInfo);
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (22)
352internal override UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaders() 359UnsafeNativeMethods.IRawElementProviderSimple[] result = new UnsafeNativeMethods.IRawElementProviderSimple[this.owner.Rows.Count]; 368internal override UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaders() 375UnsafeNativeMethods.IRawElementProviderSimple[] result = new UnsafeNativeMethods.IRawElementProviderSimple[this.owner.Columns.Count]; 383internal override UnsafeNativeMethods.RowOrColumnMajor RowOrColumnMajor 388return UnsafeNativeMethods.RowOrColumnMajor.RowOrColumnMajor_RowMajor; 393internal override UnsafeNativeMethods.IRawElementProviderSimple GetItem(int row, int column) 432internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot 440internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 444case UnsafeNativeMethods.NavigateDirection.FirstChild: 451case UnsafeNativeMethods.NavigateDirection.LastChild: 476internal override UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) 481internal override UnsafeNativeMethods.IRawElementProviderFragment GetFocus() 510internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot 526internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 530case UnsafeNativeMethods.NavigateDirection.Parent: 537case UnsafeNativeMethods.NavigateDirection.FirstChild: 538case UnsafeNativeMethods.NavigateDirection.LastChild:
winforms\Managed\System\WinForms\DataGridViewCell.cs (16)
1330UnsafeNativeMethods.SetFocus(new HandleRef(null, IntPtr.Zero)); 1353AccessibilityObject.RaiseStructureChangedEvent(UnsafeNativeMethods.StructureChangeType.ChildRemoved, dgv.EditingControlAccessibleObject.RuntimeId); 2761AccessibilityObject.RaiseStructureChangedEvent(UnsafeNativeMethods.StructureChangeType.ChildAdded, dgv.EditingControlAccessibleObject.RuntimeId); 5478internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot 5486internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 5500case UnsafeNativeMethods.NavigateDirection.Parent: 5502case UnsafeNativeMethods.NavigateDirection.NextSibling: 5504case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 5506case UnsafeNativeMethods.NavigateDirection.FirstChild: 5507case UnsafeNativeMethods.NavigateDirection.LastChild: 5591internal override UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaderItems() 5595return new UnsafeNativeMethods.IRawElementProviderSimple[1] { this.owner.OwningRow.HeaderCell.AccessibilityObject }; 5602internal override UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaderItems() 5606return new UnsafeNativeMethods.IRawElementProviderSimple[1] { this.owner.OwningColumn.HeaderCell.AccessibilityObject }; 5630internal override UnsafeNativeMethods.IRawElementProviderSimple ContainingGrid
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
1970internal override UnsafeNativeMethods.ToggleState ToggleState { 1982return UnsafeNativeMethods.ToggleState.ToggleState_Indeterminate; 1985return toggledState ? UnsafeNativeMethods.ToggleState.ToggleState_On : UnsafeNativeMethods.ToggleState.ToggleState_Off;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (5)
1556internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 1565case UnsafeNativeMethods.NavigateDirection.Parent: 1567case UnsafeNativeMethods.NavigateDirection.NextSibling: 1569case UnsafeNativeMethods.NavigateDirection.PreviousSibling:
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
840UnsafeNativeMethods.SendMessage(new HandleRef(comboBox, comboBox.Handle), NativeMethods.CB_SETDROPPEDWIDTH, cachedDropDownWidth, 0); 847int dropDownWidth = unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(comboBox, comboBox.Handle), NativeMethods.CB_GETDROPPEDWIDTH, 0, 0)); 850UnsafeNativeMethods.SendMessage(new HandleRef(comboBox, comboBox.Handle), NativeMethods.CB_SETDROPPEDWIDTH, this.DropDownWidth, 0);
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (7)
219internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 223case UnsafeNativeMethods.NavigateDirection.Parent: 236internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot 264internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState 268return ownerControl.DroppedDown ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed;
winforms\Managed\System\WinForms\DataGridViewEditingControl.cs (3)
127internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState 134return ownerComboBoxControl.DroppedDown == true ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
5444this.cachedScrollableRegion = UnsafeNativeMethods.GetRectsFromRegion(handle); 5767IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(this, parentHandle), NativeMethods.NullHandleRef, NativeMethods.DCX_CACHE | NativeMethods.DCX_LOCKWINDOWUPDATE); 5778UnsafeNativeMethods.ReleaseDC(new HandleRef(this, parentHandle), new HandleRef(this, dc)); 5788IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(this, parentHandle), NativeMethods.NullHandleRef, NativeMethods.DCX_CACHE | NativeMethods.DCX_LOCKWINDOWUPDATE); 5794UnsafeNativeMethods.ReleaseDC(new HandleRef(this, parentHandle), new HandleRef(this, dc)); 29938UnsafeNativeMethods.SendMessage(new HandleRef(this, nmhdr->hwndFrom), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width);
winforms\Managed\System\WinForms\DataGridViewRow.cs (8)
2359internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 2371case UnsafeNativeMethods.NavigateDirection.Parent: 2373case UnsafeNativeMethods.NavigateDirection.NextSibling: 2375case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 2377case UnsafeNativeMethods.NavigateDirection.FirstChild: 2379case UnsafeNativeMethods.NavigateDirection.LastChild: 2387internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (5)
1463internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 1472case UnsafeNativeMethods.NavigateDirection.Parent: 1474case UnsafeNativeMethods.NavigateDirection.NextSibling: 1484case UnsafeNativeMethods.NavigateDirection.PreviousSibling:
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (4)
392internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 396case UnsafeNativeMethods.NavigateDirection.Parent: 409internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (5)
677internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 683case UnsafeNativeMethods.NavigateDirection.Parent: 685case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 687case UnsafeNativeMethods.NavigateDirection.NextSibling:
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (7)
225internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot 234internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) 238case UnsafeNativeMethods.NavigateDirection.Parent: 240case UnsafeNativeMethods.NavigateDirection.NextSibling: 246case UnsafeNativeMethods.NavigateDirection.FirstChild: 252case UnsafeNativeMethods.NavigateDirection.LastChild:
winforms\Managed\System\WinForms\DataObject.cs (46)
146IntPtr hDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 150IntPtr dcSrc = UnsafeNativeMethods.CreateCompatibleDC(new HandleRef(null, hDC)); 155IntPtr dcDest = UnsafeNativeMethods.CreateCompatibleDC(new HandleRef(null, hDC)); 168UnsafeNativeMethods.DeleteCompatibleDC(new HandleRef(null, dcSrc)); 169UnsafeNativeMethods.DeleteCompatibleDC(new HandleRef(null, dcDest)); 170UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hDC)); 760medium.unionmember = UnsafeNativeMethods.GlobalAlloc(NativeMethods.GMEM_MOVEABLE 772UnsafeNativeMethods.GlobalFree(new HandleRef(medium, medium.unionmember)); 951UnsafeNativeMethods.GlobalFree(new HandleRef(null, handle)); 954handle = UnsafeNativeMethods.GlobalAlloc(NativeMethods.GMEM_MOVEABLE | NativeMethods.GMEM_DDESHARE, size); 958IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, handle)); 969UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, handle)); 1014IntPtr newHandle = UnsafeNativeMethods.GlobalReAlloc(new HandleRef(null, handle), 1020IntPtr basePtr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, newHandle)); 1042UnsafeNativeMethods.CopyMemoryW(currentPtr, files[i], files[i].Length*2); 1049UnsafeNativeMethods.CopyMemoryA(currentPtr, files[i], pinvokeLen); 1065UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, newHandle)); 1082newHandle = UnsafeNativeMethods.GlobalReAlloc(new HandleRef(null, handle), 1090IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, newHandle)); 1096UnsafeNativeMethods.CopyMemoryW(ptr, chars, chars.Length*2); 1103int pinvokeSize = UnsafeNativeMethods.WideCharToMultiByte(0 /*CP_ACP*/, 0, str, str.Length, null, 0, IntPtr.Zero, IntPtr.Zero); 1106UnsafeNativeMethods.WideCharToMultiByte(0 /*CP_ACP*/, 0, str, str.Length, strBytes, strBytes.Length, IntPtr.Zero, IntPtr.Zero); 1108newHandle = UnsafeNativeMethods.GlobalReAlloc(new HandleRef(null, handle), 1116IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, newHandle)); 1120UnsafeNativeMethods.CopyMemory(ptr, strBytes, pinvokeSize); 1125UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, newHandle)); 1139newHandle = UnsafeNativeMethods.GlobalReAlloc(new HandleRef(null, handle), 1147IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, newHandle)); 1152UnsafeNativeMethods.CopyMemory(ptr, bytes, bytes.Length); 1156UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, newHandle)); 1418UnsafeNativeMethods.IStream pStream = (UnsafeNativeMethods.IStream)Marshal.GetObjectForIUnknown(medium.unionmember); 1424IntPtr hglobal = UnsafeNativeMethods.GlobalAlloc(NativeMethods.GMEM_MOVEABLE 1428IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(innerData, hglobal)); 1430UnsafeNativeMethods.GlobalUnlock(new HandleRef(innerData, hglobal)); 1521UnsafeNativeMethods.GlobalFree(new HandleRef(null, hglobal)); 1693IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, handle)); 1698int size = UnsafeNativeMethods.GlobalSize(new HandleRef(null, handle)); 1730UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, handle)); 1842int count = UnsafeNativeMethods.DragQueryFile(new HandleRef(null, hdrop), unchecked((int)0xFFFFFFFF), null, 0); 1848int charlen = UnsafeNativeMethods.DragQueryFileLongPath(new HandleRef(null, hdrop), i, sb); 1875IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, handle)); 1885UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, handle)); 1894IntPtr ptr = UnsafeNativeMethods.GlobalLock(new HandleRef(null, handle)); 1896int size = UnsafeNativeMethods.GlobalSize(new HandleRef(null, handle)); 1902UnsafeNativeMethods.GlobalUnlock(new HandleRef(null, handle));
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (2)
21private UnsafeNativeMethods.IStream comStream; 23public DataStreamFromComStream(UnsafeNativeMethods.IStream comStream) : base() {
winforms\Managed\System\WinForms\DateTimePicker.cs (16)
418int gdt = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_GETSYSTEMTIME, 0, sys); 431UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETSYSTEMTIME, gdt, sys); 436UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETSYSTEMTIME, gdt, sys); 1036UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETSYSTEMTIME, gdt, sys); 1126IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1134UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 1149UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETSYSTEMTIME, gdt, sys); 1154UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETSYSTEMTIME, gdt, sys); 1380UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETSYSTEMTIME, gdt, sys); 1457UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.DTM_SETRANGE, flags, sa); 1574UnsafeNativeMethods.EnumChildWindows(new HandleRef(this, Handle), cb, NativeMethods.NullHandleRef); 1638int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_EXSTYLE))); 1641UnsafeNativeMethods.SetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_EXSTYLE, new HandleRef(this, (IntPtr)style)); 1849internal override UnsafeNativeMethods.ToggleState ToggleState { 1852UnsafeNativeMethods.ToggleState.ToggleState_On : 1853UnsafeNativeMethods.ToggleState.ToggleState_Off;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
778itemHeight = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_GETITEMHEIGHT, 0, 0); 780UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_SETITEMHEIGHT, itemHeight, 0);
winforms\Managed\System\WinForms\DropSource.cs (1)
13internal class DropSource : UnsafeNativeMethods.IOleDropSource {
winforms\Managed\System\WinForms\DropTarget.cs (8)
20internal class DropTarget : UnsafeNativeMethods.IOleDropTarget { 60int UnsafeNativeMethods.IOleDropTarget.OleDragEnter(object pDataObj, int grfKeyState, 61UnsafeNativeMethods.POINTSTRUCT pt, 81int UnsafeNativeMethods.IOleDropTarget.OleDragOver(int grfKeyState, UnsafeNativeMethods.POINTSTRUCT pt, ref int pdwEffect) { 93int UnsafeNativeMethods.IOleDropTarget.OleDragLeave() { 98int UnsafeNativeMethods.IOleDropTarget.OleDrop(object pDataObj, int grfKeyState, UnsafeNativeMethods.POINTSTRUCT pt, ref int pdwEffect) {
winforms\Managed\System\WinForms\ErrorProvider.cs (8)
923UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_ADDTOOL, 0, toolInfo); 969UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 971UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETDELAYTIME, NativeMethods.TTDT_INITIAL, 0); 1066IntPtr hdc = UnsafeNativeMethods.BeginPaint(new HandleRef(this, Handle), ref ps); 1082UnsafeNativeMethods.EndPaint(new HandleRef(this, Handle), ref ps); 1135UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_DELTOOL, 0, toolInfo); 1231UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETTOOLINFO, 0, toolInfo); 1258if (UnsafeNativeMethods.SetWindowRgn(new HandleRef(this, Handle), new HandleRef(windowRegion, windowRegionHandle), true) != 0) {
winforms\Managed\System\WinForms\FileDialog.cs (16)
29using CharBuffer = System.Windows.Forms.UnsafeNativeMethods.CharBuffer; 212UnsafeNativeMethods.GetWindowText(new HandleRef(this, dialogHWnd), sb, sb.Capacity); 454get { return UnsafeNativeMethods.GetModuleHandle(null); } 618NativeMethods.OPENFILENAME_I ofn = (NativeMethods.OPENFILENAME_I)UnsafeNativeMethods.PtrToStructure(lpOFN, typeof(NativeMethods.OPENFILENAME_I)); 749dialogHWnd = UnsafeNativeMethods.GetParent(new HandleRef(null, hWnd)); 751UnsafeNativeMethods.OFNOTIFY notify = (UnsafeNativeMethods.OFNOTIFY)UnsafeNativeMethods.PtrToStructure(lparam, typeof(UnsafeNativeMethods.OFNOTIFY)); 758NativeMethods.OPENFILENAME_I ofn = (NativeMethods.OPENFILENAME_I)UnsafeNativeMethods.PtrToStructure(notify.lpOFN, typeof(NativeMethods.OPENFILENAME_I)); 760int sizeNeeded = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, dialogHWnd), 1124 /*CDM_GETSPEC*/, System.IntPtr.Zero, System.IntPtr.Zero); 801UnsafeNativeMethods.SetWindowLong(new HandleRef(null, hWnd), 0, new HandleRef(null, NativeMethods.InvalidIntPtr)); 806UnsafeNativeMethods.SetWindowLong(new HandleRef(null, hWnd), 0, new HandleRef(null, NativeMethods.InvalidIntPtr)); 814UnsafeNativeMethods.EndDialog(new HandleRef(this, dialogHWnd), IntPtr.Zero); 919IntPtr focusHandle = UnsafeNativeMethods.GetFocus(); 925UnsafeNativeMethods.SetFocus(new HandleRef(null, focusHandle));
winforms\Managed\System\WinForms\FileDialog_Vista.cs (3)
39if (UnsafeNativeMethods.IsVista && this._autoUpgradeEnabled && SettingsSupportVistaDialog) 309if (0 <= UnsafeNativeMethods.Shell32.SHILCreateFromPath(path, out pidl, ref zero)) 311if (0 <= UnsafeNativeMethods.Shell32.SHCreateShellItem(
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (2)
102if (!UnsafeNativeMethods.IsVista) 109int result = UnsafeNativeMethods.Shell32.SHGetFolderPathEx(ref folderGuid, 0, IntPtr.Zero, path);
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (19)
55private UnsafeNativeMethods.BrowseCallbackProc callback; 206private static UnsafeNativeMethods.IMalloc GetSHMalloc() 208UnsafeNativeMethods.IMalloc[] malloc = new UnsafeNativeMethods.IMalloc[1]; 209UnsafeNativeMethods.Shell32.SHGetMalloc(malloc); 237UnsafeNativeMethods.Shell32.SHGetSpecialFolderLocation(hWndOwner, (int) rootFolder, ref pidlRoot); 240UnsafeNativeMethods.Shell32.SHGetSpecialFolderLocation(hWndOwner, NativeMethods.CSIDL_DESKTOP, ref pidlRoot); 247int mergedOptions = unchecked( (int) (long)UnsafeNativeMethods.BrowseInfos.NewDialogStyle); 250mergedOptions += unchecked( (int) (long)UnsafeNativeMethods.BrowseInfos.HideNewFolderButton); 269UnsafeNativeMethods.BROWSEINFO bi = new UnsafeNativeMethods.BROWSEINFO(); 273this.callback = new UnsafeNativeMethods.BrowseCallbackProc(this.FolderBrowserDialog_BrowseCallbackProc); 285pidlRet = UnsafeNativeMethods.Shell32.SHBrowseForFolder(bi); 290UnsafeNativeMethods.Shell32.SHGetPathFromIDListLongPath(pidlRet, ref pszSelectedPath); 304UnsafeNativeMethods.CoTaskMemFree(pidlRoot); 307UnsafeNativeMethods.CoTaskMemFree(pidlRet); 341UnsafeNativeMethods.SendMessage(new HandleRef(null, hwnd), (int) NativeMethods.BFFM_SETSELECTION, 1, selectedPath); 351bool isFileSystemFolder = UnsafeNativeMethods.Shell32.SHGetPathFromIDListLongPath(selectedPidl, ref pszSelectedPath); 353UnsafeNativeMethods.SendMessage(new HandleRef(null, hwnd), (int) NativeMethods.BFFM_ENABLEOK, 0, isFileSystemFolder ? 1 : 0);
winforms\Managed\System\WinForms\FontDialog.cs (11)
477UnsafeNativeMethods.SendMessage(new HandleRef(null, hWnd), NativeMethods.WM_CHOOSEFONT_GETLOGFONT, 0, lf); 479int index = (int)UnsafeNativeMethods.SendDlgItemMessage(new HandleRef(null, hWnd), 0x473, NativeMethods.CB_GETCURSEL, IntPtr.Zero, IntPtr.Zero); 481UpdateColor((int)UnsafeNativeMethods.SendDlgItemMessage(new HandleRef(null, hWnd), 0x473, 501IntPtr hWndCtl = UnsafeNativeMethods.GetDlgItem(new HandleRef(null, hWnd), NativeMethods.cmb4); 503hWndCtl = UnsafeNativeMethods.GetDlgItem(new HandleRef(null, hWnd), NativeMethods.stc4); 557IntPtr screenDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 573UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, screenDC)); 601cf.hInstance = UnsafeNativeMethods.GetModuleHandle(null); 614lfReturned = (NativeMethods.LOGFONT)UnsafeNativeMethods.PtrToStructure(logFontPtr, typeof(NativeMethods.LOGFONT)); 685IntPtr screenDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 708UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, screenDC));
winforms\Managed\System\WinForms\Form.cs (78)
435IntPtr hwnd = UnsafeNativeMethods.GetForegroundWindow(); 2104int exStyle = unchecked((int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_EXSTYLE)); 2107UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_EXSTYLE, new HandleRef(null, (IntPtr)cp.ExStyle)); 2684UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.WM_SHOWWINDOW, value ? 1 : 0, 0); 3091UnsafeNativeMethods.SetForegroundWindow(new HandleRef(this, Handle)); 3247UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_MINIMIZE, 3251UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_MINIMIZE, 3255UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_MAXIMIZE, 3259UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_MAXIMIZE, 3263UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_CLOSE, 3267UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_CLOSE, 3271UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_RESTORE, 3275UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_RESTORE, 3279UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_SIZE, 3283UnsafeNativeMethods.EnableMenuItem(new HandleRef(this, hmenu), NativeMethods.SC_SIZE, 3342IntPtr hmenu = UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Handle), false); 3696UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, TaskbarOwner); 3702UnsafeNativeMethods.SendMessage(TaskbarOwner, NativeMethods.WM_SETICON, NativeMethods.ICON_BIG, icon.Handle); 3778m.Result = UnsafeNativeMethods.DefFrameProc(m.HWnd, ctlClient.Handle, m.Msg, m.WParam, m.LParam); 3781m.Result = UnsafeNativeMethods.DefMDIChildProc(m.HWnd, m.Msg, m.WParam, m.LParam); 4452ownerHandle = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT); 4458UnsafeNativeMethods.GetWindowRect(new HandleRef(null, ownerHandle), ref ownerRect); 4497hWndOwner = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT); 4992&& UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETSNAPTODEFBUTTON, 0, ref data, 0) 5000UnsafeNativeMethods.ClientToScreen(new HandleRef(this, Handle), ptToSnap); 5294UnsafeNativeMethods.TranslateMDISysAccel(ctlClient.Handle, ref win32Message)) { 5514UnsafeNativeMethods.GetWindowPlacement(new HandleRef(this, Handle), ref wp); 5531UnsafeNativeMethods.EnumThreadWindows(SafeNativeMethods.GetCurrentThreadId(), 5552UnsafeNativeMethods.SetWindowPlacement(new HandleRef(this, Handle), ref wp); 5708if (IsHandleCreated && UnsafeNativeMethods.GetForegroundWindow() == this.Handle) { 5713else if (!IsHandleCreated || UnsafeNativeMethods.GetForegroundWindow() != this.Handle) 5767UnsafeNativeMethods.SetActiveWindow(new HandleRef(this, Handle)); 5770UnsafeNativeMethods.SetActiveWindow(new HandleRef(MdiParentInternal, MdiParentInternal.Handle)); 6091else if ( (owner != null) && ((int)UnsafeNativeMethods.GetWindowLong(new HandleRef(owner, Control.GetSafeHandle(owner)), NativeMethods.GWL_EXSTYLE) 6097IntPtr hWndActive = UnsafeNativeMethods.GetActiveWindow(); 6107if (UnsafeNativeMethods.GetWindowLong(new HandleRef(owner, hWndOwner), NativeMethods.GWL_HWNDPARENT) == Handle) { 6113hWndOldOwner = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT); 6114UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, new HandleRef(owner, hWndOwner)); 6156else if ( (owner != null) && ((int)UnsafeNativeMethods.GetWindowLong(new HandleRef(owner, Control.GetSafeHandle(owner)), NativeMethods.GWL_EXSTYLE) 6169IntPtr hWndCapture = UnsafeNativeMethods.GetCapture(); 6171UnsafeNativeMethods.SendMessage(new HandleRef(null, hWndCapture), NativeMethods.WM_CANCELMODE, IntPtr.Zero, IntPtr.Zero); 6174IntPtr hWndActive = UnsafeNativeMethods.GetActiveWindow(); 6208if (UnsafeNativeMethods.GetWindowLong(new HandleRef(owner, hWndOwner), NativeMethods.GWL_HWNDPARENT) == Handle) { 6214hWndOldOwner = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT); 6215UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, new HandleRef(owner, hWndOwner)); 6232if (!UnsafeNativeMethods.IsWindow(new HandleRef(null, hWndActive))) hWndActive = hWndOwner; 6233if (UnsafeNativeMethods.IsWindow(new HandleRef(null, hWndActive)) && SafeNativeMethods.IsWindowVisible(new HandleRef(null, hWndActive))) { 6234UnsafeNativeMethods.SetActiveWindow(new HandleRef(null, hWndActive)); 6236else if (UnsafeNativeMethods.IsWindow(new HandleRef(null, hWndOwner)) && SafeNativeMethods.IsWindowVisible(new HandleRef(null, hWndOwner))){ 6237UnsafeNativeMethods.SetActiveWindow(new HandleRef(null, hWndOwner)); 6442UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, ownerHwnd); 6458result = UnsafeNativeMethods.SetLayeredWindowAttributes(new HandleRef(this, Handle), 0, OpacityAsByte, NativeMethods.LWA_ALPHA); 6462result = UnsafeNativeMethods.SetLayeredWindowAttributes(new HandleRef(this, Handle), ColorTranslator.ToWin32(transparencyKey), 0, NativeMethods.LWA_COLORKEY); 6465result = UnsafeNativeMethods.SetLayeredWindowAttributes(new HandleRef(this, Handle), ColorTranslator.ToWin32(transparencyKey), 6520UnsafeNativeMethods.SetMenu(new HandleRef(this, Handle), new HandleRef(menu, menu.Handle)); 6523UnsafeNativeMethods.SetMenu(new HandleRef(this, Handle), NativeMethods.NullHandleRef); 6547UnsafeNativeMethods.SendMessage(new HandleRef(ctlClient, ctlClient.Handle), NativeMethods.WM_MDISETMENU, dummyMenu.Handle, IntPtr.Zero); 6553UnsafeNativeMethods.SendMessage(new HandleRef(ctlClient, ctlClient.Handle), NativeMethods.WM_MDISETMENU, menu.Handle, IntPtr.Zero); 6559IntPtr hMenu = UnsafeNativeMethods.GetMenu(new HandleRef(this, this.Handle)); 6565UnsafeNativeMethods.SetMenu(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef); 6700IntPtr hMenu = UnsafeNativeMethods.GetMenu(new HandleRef(this, this.Handle)); 6848UnsafeNativeMethods.GetWindowPlacement(new HandleRef(this, Handle), ref wp); 6975UnsafeNativeMethods.GetStartupInfo(si); 7260UnsafeNativeMethods.PostMessage(new HandleRef(formMdiParent, formMdiParent.Handle), NativeMethods.WM_SYSCOMMAND, new IntPtr(NativeMethods.SC_KEYMENU), m.WParam); 7363UnsafeNativeMethods.ScreenToClient(new HandleRef(this, this.Handle), pt ); 7755IntPtr parent = UnsafeNativeMethods.GetWindowLong(hRef, NativeMethods.GWL_HWNDPARENT); 7776UnsafeNativeMethods.SetWindowLong(hRef, NativeMethods.GWL_HWNDPARENT, NativeMethods.NullHandleRef); 7788UnsafeNativeMethods.SetWindowLong(hRef, NativeMethods.GWL_HWNDPARENT, hRefOwner); 7884UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, owner.Width); 7886UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_SETTITLE, NativeMethods.TTI_WARNING, SR.GetString(SR.SecurityToolTipCaption)); 7888if (0 == (int)UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO())) { 7892UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_ACTIVATE, 1, 0); 7918UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.Left + s.Width / 2, owner.Top + SystemInformation.CaptionHeight)); 7930UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKACTIVATE, 0, GetTOOLINFO()); 7931UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_DELTOOL, 0, GetTOOLINFO()); 7932UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO()); 7938UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.Left + s.Width / 2, owner.Top + SystemInformation.CaptionHeight)); 7939UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKACTIVATE, 1, GetTOOLINFO());
winforms\Managed\System\WinForms\Help.cs (5)
212uint requiredStringSize = UnsafeNativeMethods.GetShortPathName(localPath, newPath, 0); 216requiredStringSize = UnsafeNativeMethods.GetShortPathName(localPath, newPath, requiredStringSize); 227handle = new HandleRef(null, UnsafeNativeMethods.GetActiveWindow()); 318handle = new HandleRef(null, UnsafeNativeMethods.GetActiveWindow()); 323UnsafeNativeMethods.ShellExecute_NoBFM(handle, null, file.ToString(), null, null, NativeMethods.SW_NORMAL);
winforms\Managed\System\WinForms\HtmlDocument.cs (72)
41private UnsafeNativeMethods.IHTMLDocument2 htmlDocument2; 45internal HtmlDocument(HtmlShimManager shimManager, UnsafeNativeMethods.IHTMLDocument doc) 47this.htmlDocument2 = (UnsafeNativeMethods.IHTMLDocument2)doc; 54internal UnsafeNativeMethods.IHTMLDocument2 NativeHtmlDocument2 96UnsafeNativeMethods.IHTMLElement iHtmlElement = this.NativeHtmlDocument2.GetActiveElement(); 109UnsafeNativeMethods.IHTMLElement iHtmlElement = this.NativeHtmlDocument2.GetBody(); 162UnsafeNativeMethods.IHTMLLocation iHtmlLocation = this.NativeHtmlDocument2.GetLocation(); 176UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.NativeHtmlDocument2.GetParentWindow(); 334return ((UnsafeNativeMethods.IHTMLDocument4)this.NativeHtmlDocument2).HasFocus(); 374return ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).GetDir() == "rtl"; 378((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).SetDir(value ? "rtl" : "ltr"); 416UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetAll(); 429UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetLinks(); 442UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetImages(); 455UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlDocument2.GetForms(); 485((UnsafeNativeMethods.IHTMLDocument4)this.NativeHtmlDocument2).Focus(); 487((UnsafeNativeMethods.IHTMLDocument4)this.NativeHtmlDocument2).Focus(); 496UnsafeNativeMethods.IHTMLElement iHTMLElement = ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).GetElementById(id); 506UnsafeNativeMethods.IHTMLElement iHTMLElement = this.NativeHtmlDocument2.ElementFromPoint(point.X, point.Y); 516UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).GetElementsByTagName(tagName); 529UnsafeNativeMethods.IHTMLDocument iHTMLDocument = ohtmlDocument as UnsafeNativeMethods.IHTMLDocument; 539UnsafeNativeMethods.IHTMLElement iHTMLElement = this.NativeHtmlDocument2.CreateElement(elementTag); 554UnsafeNativeMethods.IDispatch scriptObject = this.NativeHtmlDocument2.GetScript() as UnsafeNativeMethods.IDispatch; 892private UnsafeNativeMethods.IHTMLWindow2 associatedWindow = null; 908public override UnsafeNativeMethods.IHTMLWindow2 AssociatedWindow 913public UnsafeNativeMethods.IHTMLDocument2 NativeHtmlDocument2 932bool success = ((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).AttachEvent(eventName, proxy); 942((UnsafeNativeMethods.IHTMLDocument3)this.NativeHtmlDocument2).DetachEvent(eventName, proxy); 956typeof(UnsafeNativeMethods.DHTMLDocumentEvents2), 1002UnsafeNativeMethods.DHTMLDocumentEvents2 1019public bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj) 1027public bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj) 1034public void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj) 1040public void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj) 1046public void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj) 1052public void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj) 1058public void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj) 1064public void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj) 1070public void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj) 1076public bool onstop(UnsafeNativeMethods.IHTMLEventObj evtObj) 1083public bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj) 1089public bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj) 1095public void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1097public void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1099public bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj) 1105public void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1107public bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1113public void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1115public bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj) 1121public void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1123public bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj) 1129public bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj) 1135public bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1141public void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1143public void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1145public void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1147public void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1149public void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1151public void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1153public void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1155public void onbeforeeditfocus(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1157public void onselectionchange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1159public bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj) 1165public bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj) 1171public void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1173public void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1175public bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1181public bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj)
winforms\Managed\System\WinForms\HtmlElement.cs (162)
48private UnsafeNativeMethods.IHTMLElement htmlElement; 52internal HtmlElement(HtmlShimManager shimManager, UnsafeNativeMethods.IHTMLElement element) 69UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlElement.GetAll() as UnsafeNativeMethods.IHTMLElementCollection; 82UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = this.NativeHtmlElement.GetChildren() as UnsafeNativeMethods.IHTMLElementCollection; 95return ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).CanHaveChildren(); 107UnsafeNativeMethods.IHTMLElement2 htmlElement2 = (UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement; 122UnsafeNativeMethods.IHTMLDocument iHTMLDocument = this.NativeHtmlElement.GetDocument() as UnsafeNativeMethods.IHTMLDocument; 135return !(((UnsafeNativeMethods.IHTMLElement3)this.NativeHtmlElement).GetDisabled()); 139((UnsafeNativeMethods.IHTMLElement3)this.NativeHtmlElement).SetDisabled(!value); 169UnsafeNativeMethods.IHTMLElement iHtmlElement = null; 170UnsafeNativeMethods.IHTMLDOMNode iHtmlDomNode = this.NativeHtmlElement as UnsafeNativeMethods.IHTMLDOMNode; 174iHtmlElement = iHtmlDomNode.FirstChild() as UnsafeNativeMethods.IHTMLElement; 269private UnsafeNativeMethods.IHTMLElement NativeHtmlElement 285UnsafeNativeMethods.IHTMLElement iHtmlElement = null; 286UnsafeNativeMethods.IHTMLDOMNode iHtmlDomNode = this.NativeHtmlElement as UnsafeNativeMethods.IHTMLDOMNode; 290iHtmlElement = iHtmlDomNode.NextSibling() as UnsafeNativeMethods.IHTMLElement; 318UnsafeNativeMethods.IHTMLElement iHtmlElement = this.NativeHtmlElement.GetOffsetParent(); 385UnsafeNativeMethods.IHTMLElement iHtmlElement = this.NativeHtmlElement.GetParentElement(); 400UnsafeNativeMethods.IHTMLElement2 htmlElement2 = (UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement; 414return ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).GetScrollLeft(); 418((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).SetScrollLeft(value); 430return ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).GetScrollTop(); 434((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).SetScrollTop(value); 482return ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).GetTabIndex(); 486((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).SetTabIndex(value); 540((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).Focus(); 569UnsafeNativeMethods.IHTMLElementCollection iHTMLElementCollection = ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).GetElementsByTagName(tagName); 578UnsafeNativeMethods.IHTMLElement iHtmlElement = ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).InsertAdjacentElement(orient.ToString(), 579(UnsafeNativeMethods.IHTMLElement)newElement.DomElement); 603UnsafeNativeMethods.IDispatch scriptObject = this.NativeHtmlElement as UnsafeNativeMethods.IDispatch; 660((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).Blur(); 671((UnsafeNativeMethods.IHTMLElement3)this.NativeHtmlElement).FireEvent(eventName, IntPtr.Zero); 1020UnsafeNativeMethods.DHTMLElementEvents2, 1021UnsafeNativeMethods.DHTMLAnchorEvents2, 1022UnsafeNativeMethods.DHTMLAreaEvents2, 1023UnsafeNativeMethods.DHTMLButtonElementEvents2, 1024UnsafeNativeMethods.DHTMLControlElementEvents2, 1025UnsafeNativeMethods.DHTMLFormElementEvents2, 1026UnsafeNativeMethods.DHTMLFrameSiteEvents2, 1027UnsafeNativeMethods.DHTMLImgEvents2, 1028UnsafeNativeMethods.DHTMLInputFileElementEvents2, 1029UnsafeNativeMethods.DHTMLInputImageEvents2, 1030UnsafeNativeMethods.DHTMLInputTextElementEvents2, 1031UnsafeNativeMethods.DHTMLLabelEvents2, 1032UnsafeNativeMethods.DHTMLLinkElementEvents2, 1033UnsafeNativeMethods.DHTMLMapEvents2, 1034UnsafeNativeMethods.DHTMLMarqueeElementEvents2, 1035UnsafeNativeMethods.DHTMLOptionButtonElementEvents2, 1036UnsafeNativeMethods.DHTMLSelectElementEvents2, 1037UnsafeNativeMethods.DHTMLStyleElementEvents2, 1038UnsafeNativeMethods.DHTMLTableEvents2, 1039UnsafeNativeMethods.DHTMLTextContainerEvents2, 1040UnsafeNativeMethods.DHTMLScriptEvents2 1058public bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj) 1065public bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj) 1072public bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj) 1079public void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj) 1085public void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj) 1091public void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj) 1097public void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj) 1103public void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj) 1109public void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj) 1115public void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj) 1121public void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj) 1127public bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1133public void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj) 1139public bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj) 1146public void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj) 1152public void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj) 1158public bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj) 1165public void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj) 1171public void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj) 1177public void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj) 1183public void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1185public bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj) 1191public bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj) 1197public void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1199public bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj) 1205public void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1207public bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj) 1213public bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1219public void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1221public bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj) 1227public void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1229public void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1231public void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1233public void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1235public void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1237public void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1239public void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1241public void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1243public bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj) 1249public bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj) 1255public bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj) 1261public bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj) 1267public bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj) 1273public bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj) 1279public bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj) 1285public bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj) 1291public bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj) 1297public void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1299public void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1301public void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1303public void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1305public void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1307public void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1309public void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1311public void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1313public bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1319public bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj) 1325public void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1327public bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj) 1333public bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj) 1339public void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1341public bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj) 1347public bool onchange(UnsafeNativeMethods.IHTMLEventObj evtObj) 1353public void onselect(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1355public void onload(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1357public void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1359public void onabort(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1361public bool onsubmit(UnsafeNativeMethods.IHTMLEventObj evtObj) 1367public bool onreset(UnsafeNativeMethods.IHTMLEventObj evtObj) 1373public void onchange_void(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1375public void onbounce(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1377public void onfinish(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1379public void onstart(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 1394private static Type[] dispInterfaceTypes = {typeof(UnsafeNativeMethods.DHTMLElementEvents2), 1395typeof(UnsafeNativeMethods.DHTMLAnchorEvents2), 1396typeof(UnsafeNativeMethods.DHTMLAreaEvents2), 1397typeof(UnsafeNativeMethods.DHTMLButtonElementEvents2), 1398typeof(UnsafeNativeMethods.DHTMLControlElementEvents2), 1399typeof(UnsafeNativeMethods.DHTMLFormElementEvents2), 1400typeof(UnsafeNativeMethods.DHTMLFrameSiteEvents2), 1401typeof(UnsafeNativeMethods.DHTMLImgEvents2), 1402typeof(UnsafeNativeMethods.DHTMLInputFileElementEvents2), 1403typeof(UnsafeNativeMethods.DHTMLInputImageEvents2), 1404typeof(UnsafeNativeMethods.DHTMLInputTextElementEvents2), 1405typeof(UnsafeNativeMethods.DHTMLLabelEvents2), 1406typeof(UnsafeNativeMethods.DHTMLLinkElementEvents2), 1407typeof(UnsafeNativeMethods.DHTMLMapEvents2), 1408typeof(UnsafeNativeMethods.DHTMLMarqueeElementEvents2), 1409typeof(UnsafeNativeMethods.DHTMLOptionButtonElementEvents2), 1410typeof(UnsafeNativeMethods.DHTMLSelectElementEvents2), 1411typeof(UnsafeNativeMethods.DHTMLStyleElementEvents2), 1412typeof(UnsafeNativeMethods.DHTMLTableEvents2), 1413typeof(UnsafeNativeMethods.DHTMLTextContainerEvents2), 1414typeof(UnsafeNativeMethods.DHTMLScriptEvents2)}; 1418private UnsafeNativeMethods.IHTMLWindow2 associatedWindow = null; 1439public UnsafeNativeMethods.IHTMLElement NativeHtmlElement 1449public override UnsafeNativeMethods.IHTMLWindow2 AssociatedWindow 1463bool success = ((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).AttachEvent(eventName, proxy); 1491((UnsafeNativeMethods.IHTMLElement2)this.NativeHtmlElement).DetachEvent(eventName, proxy);
winforms\Managed\System\WinForms\HtmlElementCollection.cs (7)
26private UnsafeNativeMethods.IHTMLElementCollection htmlElementCollection; 37internal HtmlElementCollection(HtmlShimManager shimManager, UnsafeNativeMethods.IHTMLElementCollection elements) { 50private UnsafeNativeMethods.IHTMLElementCollection NativeHtmlElementCollection { 68UnsafeNativeMethods.IHTMLElement htmlElement = 69this.NativeHtmlElementCollection.Item((object)index, (object)0) as UnsafeNativeMethods.IHTMLElement; 88UnsafeNativeMethods.IHTMLElement htmlElement = 89this.NativeHtmlElementCollection.Item((object)elementId, (object)0) as UnsafeNativeMethods.IHTMLElement;
winforms\Managed\System\WinForms\HtmlElementEventArgs.cs (5)
24private UnsafeNativeMethods.IHTMLEventObj htmlEventObj; 27internal HtmlElementEventArgs(HtmlShimManager shimManager, UnsafeNativeMethods.IHTMLEventObj eventObj) { 34private UnsafeNativeMethods.IHTMLEventObj NativeHTMLEventObj { 185UnsafeNativeMethods.IHTMLElement htmlElement = this.NativeHTMLEventObj.GetFromElement(); 197UnsafeNativeMethods.IHTMLElement htmlElement = this.NativeHTMLEventObj.GetToElement();
winforms\Managed\System\WinForms\HtmlHistory.cs (3)
29private UnsafeNativeMethods.IOmHistory htmlHistory; 33internal HtmlHistory(UnsafeNativeMethods.IOmHistory history) 39private UnsafeNativeMethods.IOmHistory NativeOmHistory {
winforms\Managed\System\WinForms\HtmlShim.cs (1)
63public abstract UnsafeNativeMethods.IHTMLWindow2 AssociatedWindow {
winforms\Managed\System\WinForms\HtmlWindow.cs (35)
37private UnsafeNativeMethods.IHTMLWindow2 htmlWindow2; 40internal HtmlWindow(HtmlShimManager shimManager, UnsafeNativeMethods.IHTMLWindow2 win) 48internal UnsafeNativeMethods.IHTMLWindow2 NativeHtmlWindow 87UnsafeNativeMethods.IHTMLDocument iHTMLDocument = this.NativeHtmlWindow.GetDocument() as UnsafeNativeMethods.IHTMLDocument; 112UnsafeNativeMethods.IHTMLFramesCollection2 iHTMLFramesCollection2 = this.NativeHtmlWindow.GetFrames(); 125UnsafeNativeMethods.IOmHistory iOmHistory = this.NativeHtmlWindow.GetHistory(); 166UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.NativeHtmlWindow.GetOpener() as UnsafeNativeMethods.IHTMLWindow2; 179UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.NativeHtmlWindow.GetParent(); 192return new Point(((UnsafeNativeMethods.IHTMLWindow3)this.NativeHtmlWindow).GetScreenLeft(), 193((UnsafeNativeMethods.IHTMLWindow3)this.NativeHtmlWindow).GetScreenTop()); 205UnsafeNativeMethods.IHTMLElement bodyElement = this.NativeHtmlWindow.GetDocument().GetBody(); 238UnsafeNativeMethods.IHTMLLocation iHtmlLocation = this.NativeHtmlWindow.GetLocation(); 252UnsafeNativeMethods.IHTMLElement htmlElement = ((UnsafeNativeMethods.IHTMLWindow4)this.NativeHtmlWindow).frameElement() as UnsafeNativeMethods.IHTMLElement; 363UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.NativeHtmlWindow.Open(urlString, target, windowOptions, replaceEntry); 388UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.NativeHtmlWindow.Open(urlString, "_blank", windowOptions, true); 579UnsafeNativeMethods.DHTMLWindowEvents2 596public void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj) 602public void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj) 615public void onload(UnsafeNativeMethods.IHTMLEventObj evtObj) 621public void onunload(UnsafeNativeMethods.IHTMLEventObj evtObj) 631public void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj) 637public void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj) 643public bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj) 649public void onbeforeunload(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 651public void onbeforeprint(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 653public void onafterprint(UnsafeNativeMethods.IHTMLEventObj evtObj) { } 681public UnsafeNativeMethods.IHTMLWindow2 NativeHtmlWindow 686public override UnsafeNativeMethods.IHTMLWindow2 AssociatedWindow 700bool success = ((UnsafeNativeMethods.IHTMLWindow3)this.NativeHtmlWindow).AttachEvent(eventName, proxy); 711typeof(UnsafeNativeMethods.DHTMLWindowEvents2), 726((UnsafeNativeMethods.IHTMLWindow3)this.NativeHtmlWindow).DetachEvent(eventName, proxy);
winforms\Managed\System\WinForms\HtmlWindowCollection.cs (7)
26private UnsafeNativeMethods.IHTMLFramesCollection2 htmlFramesCollection2; 29internal HtmlWindowCollection(HtmlShimManager shimManager, UnsafeNativeMethods.IHTMLFramesCollection2 collection) { 36private UnsafeNativeMethods.IHTMLFramesCollection2 NativeHTMLFramesCollection2 { 54UnsafeNativeMethods.IHTMLWindow2 htmlWindow2 = this.NativeHTMLFramesCollection2.Item(ref oIndex) 55as UnsafeNativeMethods.IHTMLWindow2; 67UnsafeNativeMethods.IHTMLWindow2 htmlWindow2 = null; 70as UnsafeNativeMethods.IHTMLWindow2;
winforms\Managed\System\WinForms\ImageList.cs (4)
321UnsafeNativeMethods.GetObject(new HandleRef(null, imageInfo.hbmImage), Marshal.SizeOf(bmp), bmp); 540IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 547UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 654UnsafeNativeMethods.CopyMemory(new HandleRef(this, destPtr), new HandleRef(this, srcPtr), Math.Abs(targetData.Stride));
winforms\Managed\System\WinForms\ImageListStreamer.cs (5)
63IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 72SafeNativeMethods.ImageList_Read(new UnsafeNativeMethods.ComStreamFromDataStream(ms))); 77UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 241int hResult = SafeNativeMethods.ImageList_WriteEx(new HandleRef(this, imagelistHandle), NativeMethods.ILP_DOWNLEVEL, new UnsafeNativeMethods.ComStreamFromDataStream(stream)); 248return SafeNativeMethods.ImageList_Write(new HandleRef(this, imagelistHandle), new UnsafeNativeMethods.ComStreamFromDataStream(stream));
winforms\Managed\System\WinForms\InputLanguage.cs (2)
93UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETDEFAULTINPUTLANG, 0, data, 0); 317uint res = UnsafeNativeMethods.SHLoadIndirectString(layoutDisplayName, sb, (uint)sb.Capacity, IntPtr.Zero);
winforms\Managed\System\WinForms\LinkLabel.cs (3)
405UnsafeNativeMethods.GetCursorPos(p); 406UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 409if ((r.left <= p.x && p.x < r.right && r.top <= p.y && p.y < r.bottom) || UnsafeNativeMethods.GetCapture() == Handle)
winforms\Managed\System\WinForms\ListBox.cs (7)
1565UnsafeNativeMethods.GetClientRect(new HandleRef(this, Handle), ref r); 1616UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LB_GETTEXT, index, sb); 1708UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LB_GETSELITEMS, count, result); 1782UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LB_SETTABSTOPS, wpar, offsets); 2269UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LB_SETTABSTOPS, wpar, offsets); 2417if (captured && UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) { 2464if (rCaptured && UnsafeNativeMethods.WindowFromPoint(rpt.X, rpt.Y) == Handle) {
winforms\Managed\System\WinForms\ListView.cs (58)
446UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SETBKIMAGE, 0, lvbkImage); 688int currentStyle = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 1642UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_GETTILEVIEWINFO, 0, tileViewInfo); 1663bool retval = UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SETTILEVIEWINFO, 0, tileViewInfo); 2242UnsafeNativeMethods.PostMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_ARRANGE, (int) value, 0); 2453IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 2461UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 3063UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_ENSUREVISIBLE, index, 0); 3184int index = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), 3286displayIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_FINDITEM, lastIndex - 1, ref info); 3290displayIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_FINDITEM, -1 /* beginning */, ref info); 3339int displayIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_HITTEST, 0, lvhi); 3366int index = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SUBITEMHITTEST, 0, lvhi); 3379UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_GETITEMPOSITION, index, pt); 3553iItem = unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SUBITEMHITTEST, 0, lvhi)); 3555iItem = unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_HITTEST, 0, lvhi)); 3586IntPtr hwndHdr = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_GETHEADER, 0, 0); 3692return (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_INSERTCOLUMN, index, lvColumn); 3743int retval = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this,this.Handle),NativeMethods.LVM_INSERTGROUP,index,lvgroup); 3940insertIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_INSERTITEM, 0, ref lvItem); 4281int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 4283UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE, new HandleRef(null, (IntPtr)style)); 4288int callbackMask = unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_GETCALLBACKMASK, 0, 0)); 4290UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SETCALLBACKMASK, callbackMask, 0); 4567IntPtr hdrHWND = UnsafeNativeMethods.GetWindow(new HandleRef(this, this.Handle), NativeMethods.GW_CHILD); 4587UnsafeNativeMethods.GetClientRect(new HandleRef(this, this.Handle), prc); 4594UnsafeNativeMethods.SendMessage(new HandleRef(this, hdrHWND), NativeMethods.HDM_LAYOUT, 0, ref hd); 4697int retval = (int) UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), 4761int retval = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_REMOVEGROUP, group.ID, IntPtr.Zero); 4771UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SCROLL, 0, scrollY); 4804UnsafeNativeMethods.GetTempFileName(tempDirName, this.GenerateRandomName(), 0, sb); 4826UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SETBKIMAGE, 0, lvbkImage); 4895int retval = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SETCOLUMN, ch.Index, lvColumn); 4981UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SETCOLUMNORDERARRAY, orderedColumns.Length, orderedColumns); 5045IntPtr oldHandle = UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_SETTOOLTIPS, new HandleRef(toolTip, toolTip.Handle), 0); 5046UnsafeNativeMethods.DestroyWindow(new HandleRef(null, oldHandle)); 5058UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SETITEM, 0, ref lvItem); 5071UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SETITEM, 0, ref lvItem); 5086UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SETITEMPOSITION32, index, pt); 5100UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SETITEMSTATE, index, ref lvItem); 5120int colWidth = unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_GETCOLUMNWIDTH, 0, 0)); 5142UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SETITEMTEXT, itemIndex, ref lvItem); 5180UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_SORTITEMS, IntPtr.Zero, callback); 5313int retval = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), 5352bool retval = UnsafeNativeMethods.SendMessage(new HandleRef(this,Handle),NativeMethods.LVM_SETTILEVIEWINFO,0,tileViewInfo); 5369int displayIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_HITTEST, 0, lvhi); 5399int displayIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_HITTEST, 0, lvhi); 5552NativeMethods.HDITEM2 hdItem = (NativeMethods.HDITEM2) UnsafeNativeMethods.PtrToStructure((IntPtr) nmheader.pItem, typeof(NativeMethods.HDITEM2)); 5656NativeMethods.HDITEM2 hdItem = (NativeMethods.HDITEM2) UnsafeNativeMethods.PtrToStructure((IntPtr) header.pItem, typeof(NativeMethods.HDITEM2)); 5774IntPtr hwndHdr = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_GETHEADER, 0, 0); 5775IntPtr hFont = UnsafeNativeMethods.SendMessage(new HandleRef(this, hwndHdr), NativeMethods.WM_GETFONT, 0, 0); 5791return (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.LVM_HITTEST, 0, lvhi); 6131if (!UnsafeNativeMethods.IsVista) { 6150UnsafeNativeMethods.SendMessage(new HandleRef(this, nmhdr->hwndFrom), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 8984UnsafeNativeMethods.SendMessage(new HandleRef(owner, owner.Handle), NativeMethods.LVM_GETITEM, 0, ref lvItem); 9003int nextSelected = (int)UnsafeNativeMethods.SendMessage(new HandleRef(owner, owner.Handle), NativeMethods.LVM_GETNEXTITEM, -1, NativeMethods.LVNI_SELECTED); 9013nextSelected = (int)UnsafeNativeMethods.SendMessage(new HandleRef(owner, owner.Handle), NativeMethods.LVM_GETNEXTITEM, nextSelected, NativeMethods.LVNI_SELECTED); 9025UnsafeNativeMethods.SendMessage(new HandleRef(owner, owner.Handle), NativeMethods.LVM_DELETEALLITEMS, 0, 0);
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (2)
127UnsafeNativeMethods.SendMessage(new HandleRef(listView, listView.Handle), NativeMethods.LVM_INSERTMARKHITTEST, point, lvInsertMark); 137UnsafeNativeMethods.SendMessage(new HandleRef(listView, listView.Handle), NativeMethods.LVM_SETINSERTMARK, 0, lvInsertMark);
winforms\Managed\System\WinForms\ListViewItem.cs (3)
962UnsafeNativeMethods.SendMessage(new HandleRef(lv, lv.Handle), NativeMethods.LVM_EDITLABEL, Index, 0); 1165UnsafeNativeMethods.SendMessage(new HandleRef(listView, listView.Handle), NativeMethods.LVM_SETITEM, 0, ref lvItem); 1193UnsafeNativeMethods.SendMessage(new HandleRef(listView, listView.Handle), NativeMethods.LVM_GETITEM, 0, ref lvItem);
winforms\Managed\System\WinForms\LocalAppContextSwitches.cs (1)
97if (UnsafeNativeMethods.IsDynamicCodePolicyEnabled()) {
winforms\Managed\System\WinForms\MainMenu.cs (1)
139return UnsafeNativeMethods.CreateMenu();
winforms\Managed\System\WinForms\MaskedTextBox.cs (3)
1202IntPtr inputContext = UnsafeNativeMethods.ImmGetContext(handle); 1208UnsafeNativeMethods.ImmNotifyIME(new HandleRef(null, inputContext), NativeMethods.NI_COMPOSITIONSTR, action, 0); 1212UnsafeNativeMethods.ImmReleaseContext(handle, new HandleRef(null, inputContext));
winforms\Managed\System\WinForms\MDIClient.cs (3)
260UnsafeNativeMethods.GetWindowPlacement(new HandleRef(child, child.Handle), ref wp); 271UnsafeNativeMethods.SetWindowPlacement(new HandleRef(child, child.Handle), ref wp); 309if (UnsafeNativeMethods.SetWindowRgn(new HandleRef(this, Handle), new HandleRef(null, rgn1), true) == 0) {
winforms\Managed\System\WinForms\MDIControlStrip.cs (4)
36IntPtr hMenu= UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Control.GetSafeHandle(target)), /*bRevert=*/false); 131IntPtr hIcon = UnsafeNativeMethods.SendMessage(new HandleRef(this, Control.GetSafeHandle(target)), NativeMethods.WM_GETICON, NativeMethods.ICON_SMALL, 0); 167IntPtr hMenu= UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Control.GetSafeHandle(target)), /*bRevert=*/false); 185system.DropDown = ToolStripDropDownMenu.FromHMenu(UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Control.GetSafeHandle(target)), /*bRevert=*/false), target);
winforms\Managed\System\WinForms\Menu.cs (5)
217UnsafeNativeMethods.DestroyMenu(new HandleRef(this, handle)); 257return UnsafeNativeMethods.CreatePopupMenu(); 282while (UnsafeNativeMethods.GetMenuItemCount(new HandleRef(this, handle)) > 0) { 283UnsafeNativeMethods.RemoveMenu(new HandleRef(this, handle), 0, NativeMethods.MF_BYPOSITION); 313UnsafeNativeMethods.DestroyMenu(new HandleRef(this, handle));
winforms\Managed\System\WinForms\MenuItem.cs (11)
267UnsafeNativeMethods.SetMenuDefaultItem(new HandleRef(menu, menu.handle), MenuID, false); 270UnsafeNativeMethods.SetMenuDefaultItem(new HandleRef(menu, menu.handle), -1, false); 453UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(menu, menu.handle), MenuID, false, info); 473int count = UnsafeNativeMethods.GetMenuItemCount(new HandleRef(menu, menu.Handle)); 480UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(menu, menu.handle), i, true, info); 857UnsafeNativeMethods.InsertMenuItem(new HandleRef(menu, menu.handle), -1, true, info); 1433UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(menu, menu.handle), MenuID, false, info); 1439UnsafeNativeMethods.SetMenuItemInfo(new HandleRef(menu, menu.handle), MenuID, false, info); 1461UnsafeNativeMethods.SetMenuItemInfo(new HandleRef(menu, menu.handle), MenuID, false, info); 1525IntPtr screendc = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 1534UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, screendc));
winforms\Managed\System\WinForms\MenuStrip.cs (1)
252UnsafeNativeMethods.PostMessage(WindowsFormsUtils.GetRootHWnd(this), NativeMethods.WM_SYSCOMMAND, NativeMethods.SC_KEYMENU, (int)Keys.Space);
winforms\Managed\System\WinForms\Message.cs (1)
90return UnsafeNativeMethods.PtrToStructure(lparam, cls);
winforms\Managed\System\WinForms\MessageBox.cs (6)
458handle = UnsafeNativeMethods.GetActiveWindow(); 469if (UnsafeNativeMethods.GetModuleHandle(ExternDll.Shell32) == IntPtr.Zero) { 470if (UnsafeNativeMethods.LoadLibraryFromSystemPathIfAvailable(ExternDll.Shell32) == IntPtr.Zero) { 478userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 488UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 495UnsafeNativeMethods.SendMessage(new HandleRef(owner, handle), NativeMethods.WM_SETFOCUS, 0, 0);
winforms\Managed\System\WinForms\MonthCalendar.cs (9)
1059int res = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_GETTODAY, 0, st); 1366IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1373UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 1525UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_GETMONTHRANGE, flag, sa); 1575UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_HITTEST, 0, mchi); 1637UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_SETTODAY, 0, st); 2027if ((int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_SETRANGE, flag, sa) == 0) 2163UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_SETSELRANGE , 0, sa); 2263UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.MCM_SETTODAY, 0, st);
winforms\Managed\System\WinForms\NativeMethods.cs (7)
4369else if (t == typeof(object) || t == typeof(UnsafeNativeMethods.IDispatch) || t.IsCOMObject) { 4370v.vt = (t == typeof(UnsafeNativeMethods.IDispatch) ? (short)tagVT.VT_DISPATCH : (short)tagVT.VT_UNKNOWN); 4514VARIANT varStruct = (VARIANT)UnsafeNativeMethods.PtrToStructure(val, typeof(VARIANT)); 4518Guid guid =(Guid)UnsafeNativeMethods.PtrToStructure(val, typeof(Guid)); 6223UnsafeNativeMethods.ITypeInfo GetClassInfo(); 6235ref UnsafeNativeMethods.ITypeInfo pTypeInfo, 6254UnsafeNativeMethods.ITypeInfo GetClassInfo();
winforms\Managed\System\WinForms\NativeWindow.cs (42)
174if (UnsafeNativeMethods.IsWindow(new HandleRef(null, handle))) { 185if (UnsafeNativeMethods.SendMessageTimeout(new HandleRef(null, handle), 187UnsafeNativeMethods.SMTO_ABORTIFHUNG, 100, out result) == IntPtr.Zero) { 204UnsafeNativeMethods.PostMessage(new HandleRef(this, h), NativeMethods.WM_CLOSE, 0, 0); 455UnsafeNativeMethods.SetWindowLong(new HandleRef(wrapper, handle), NativeMethods.GWL_ID, new HandleRef(wrapper, (IntPtr)globalID)); 607userDefWindowProc = UnsafeNativeMethods.GetProcAddress(new HandleRef(null, UnsafeNativeMethods.GetModuleHandle("user32.dll")), defproc); 613defWindowProc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC); 628UnsafeNativeMethods.SetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC, windowProc); 629windowProcPtr = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC); 632(unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_STYLE))) & NativeMethods.WS_CHILD) != 0 && 633unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_ID))) == 0) { 634UnsafeNativeMethods.SetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_ID, new HandleRef(this, handle)); 744IntPtr modHandle = UnsafeNativeMethods.GetModuleHandle(null); 763createResult = UnsafeNativeMethods.CreateWindowEx(cp.ExStyle, windowClass.windowClassName, 833m.Result = UnsafeNativeMethods.DefWindowProc(m.HWnd, m.Msg, m.WParam, m.LParam); 836m.Result = UnsafeNativeMethods.CallWindowProc(defWindowProc, m.HWnd, m.Msg, m.WParam, m.LParam); 855if (!UnsafeNativeMethods.DestroyWindow(new HandleRef(this, handle))) { 858UnsafeNativeMethods.PostMessage(new HandleRef(this, handle), NativeMethods.WM_CLOSE, 0, 0); 1086UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(null, userDefWindowProc)); 1087UnsafeNativeMethods.SetClassLong(href, NativeMethods.GCL_WNDPROC, userDefWindowProc); 1088UnsafeNativeMethods.PostMessage(href, NativeMethods.WM_CLOSE, 0, 0); 1365IntPtr currentWinPrc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_WNDPROC); 1377UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(this, defWindowProc)); 1391UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(this, userDefWindowProc)); 1402UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, previousWindow.windowProc); 1417UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(this, userDefWindowProc)); 1492UnsafeNativeMethods.SetWindowLong(new HandleRef(null, hWnd), NativeMethods.GWL_WNDPROC, new HandleRef(this, defWindowProc)); 1575userDefWindowProc = UnsafeNativeMethods.GetProcAddress(new HandleRef(null, UnsafeNativeMethods.GetModuleHandle("user32.dll")), defproc); 1589wndclass.hbrBackground = UnsafeNativeMethods.GetStockObject(NativeMethods.HOLLOW_BRUSH); //(IntPtr)(NativeMethods.COLOR_WINDOW + 1); 1598bool ok = UnsafeNativeMethods.GetClassInfo(NativeMethods.NullHandleRef, className, wcls); 1621wndclass.hInstance = UnsafeNativeMethods.GetModuleHandle(null); 1624short atom = UnsafeNativeMethods.RegisterClass(wndclass); 1635bool ok = UnsafeNativeMethods.GetClassInfo(new HandleRef(null, UnsafeNativeMethods.GetModuleHandle(null)), windowClassName, wcls); 1645if (UnsafeNativeMethods.UnregisterClass(windowClassName, new HandleRef(null, UnsafeNativeMethods.GetModuleHandle(null)))) { 1646atom = UnsafeNativeMethods.RegisterClass(wndclass); 1658atom = UnsafeNativeMethods.RegisterClass(wndclass); 1679if (registered && UnsafeNativeMethods.UnregisterClass(windowClassName, new HandleRef(null, UnsafeNativeMethods.GetModuleHandle(null)))) {
winforms\Managed\System\WinForms\NotifyIcon.cs (9)
485UnsafeNativeMethods.PostMessage(new HandleRef(window, window.Handle), NativeMethods.WM_CLOSE, 0, 0); 709UnsafeNativeMethods.Shell_NotifyIcon(NativeMethods.NIM_MODIFY, data); 722UnsafeNativeMethods.GetCursorPos(pt); 729UnsafeNativeMethods.SetForegroundWindow(new HandleRef(window, window.Handle)); 742UnsafeNativeMethods.PostMessage(new HandleRef(window, window.Handle), NativeMethods.WM_NULL, IntPtr.Zero, IntPtr.Zero); 791UnsafeNativeMethods.Shell_NotifyIcon(NativeMethods.NIM_ADD, data); 795UnsafeNativeMethods.Shell_NotifyIcon(NativeMethods.NIM_MODIFY, data); 799UnsafeNativeMethods.Shell_NotifyIcon(NativeMethods.NIM_DELETE, data); 1006UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.WM_CLOSE, 0, 0);
winforms\Managed\System\WinForms\OpenFileDialog.cs (1)
199bool result = UnsafeNativeMethods.GetOpenFileName(ofn);
winforms\Managed\System\WinForms\PowerStatus.cs (1)
183UnsafeNativeMethods.GetSystemPowerStatus(ref systemPowerStatus);
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (4)
374int result = UnsafeNativeMethods.GetLocaleInfo(NativeMethods.LOCALE_USER_DEFAULT,NativeMethods.LOCALE_IMEASURE, sb,sb.Capacity); 418bool status = UnsafeNativeMethods.PageSetupDlg(data); 428UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.hDevMode)); 429UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.hDevNames));
winforms\Managed\System\WinForms\Printing\PrintDialog.cs (8)
332data.pageRanges = UnsafeNativeMethods.GlobalAlloc(NativeMethods.GPTR, 417if (!UnsafeNativeMethods.PrintDlg(data)) 450UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.hDevMode)); 451UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.hDevNames)); 510int hr = UnsafeNativeMethods.PrintDlgEx(data); 551UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.hDevMode)); 553UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.hDevNames)); 555UnsafeNativeMethods.GlobalFree(new HandleRef(data, data.pageRanges));
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (6)
427screendpi = new Point(UnsafeNativeMethods.GetDeviceCaps(new HandleRef(tempGraphics, dc), NativeMethods.LOGPIXELSX), 428UnsafeNativeMethods.GetDeviceCaps(new HandleRef(tempGraphics, dc), NativeMethods.LOGPIXELSY)); 756UnsafeNativeMethods.SetScrollPos(new HandleRef(this, Handle), NativeMethods.SB_HORZ, position.X, true); 757UnsafeNativeMethods.SetScrollPos(new HandleRef(this, Handle), NativeMethods.SB_VERT, position.Y, true); 769UnsafeNativeMethods.SetScrollInfo(new HandleRef(this, Handle), NativeMethods.SB_VERT, info, true); 775UnsafeNativeMethods.SetScrollInfo(new HandleRef(this, Handle), NativeMethods.SB_HORZ, info, true);
winforms\Managed\System\WinForms\ProgressBar.cs (9)
24using static UnsafeNativeMethods; 453UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBKCOLOR, 0, ColorTranslator.ToWin32(BackColor)); 462UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBARCOLOR, 0, ColorTranslator.ToWin32(ForeColor)); 741IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 748UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 788UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBKCOLOR, 0, ColorTranslator.ToWin32(BackColor)); 789UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBARCOLOR, 0, ColorTranslator.ToWin32(ForeColor)); 893UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBARCOLOR, 0, ColorTranslator.ToWin32(ForeColor)); 894UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBKCOLOR, 0, ColorTranslator.ToWin32(BackColor));
winforms\Managed\System\WinForms\PropertyGrid.cs (23)
37public class PropertyGrid : ContainerControl, IComPropertyBrowser, UnsafeNativeMethods.IPropertyNotifySink { 2750void UnsafeNativeMethods.IPropertyNotifySink.OnChanged(int dispID) { 3229int UnsafeNativeMethods.IPropertyNotifySink.OnRequestEdit(int dispID) { 3840IntPtr hWndParent = UnsafeNativeMethods.GetParent(new HandleRef(this, Handle)); 3842UnsafeNativeMethods.SetFocus(new HandleRef(null, hWndParent)); 4647connectionPointCookies[i] = new AxHost.ConnectionPointCookie(obj, this, typeof(UnsafeNativeMethods.IPropertyNotifySink), /*throwException*/ false); 4665UnsafeNativeMethods.MapWindowPoints(new HandleRef(child, child.Handle), new HandleRef(this, Handle), temp, 1); 4804NativeMethods.COPYDATASTRUCT cds = (NativeMethods.COPYDATASTRUCT)UnsafeNativeMethods.PtrToStructure(lparam, typeof(NativeMethods.COPYDATASTRUCT)); 5438internal override UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { 5454internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 5456case UnsafeNativeMethods.NavigateDirection.Parent: 5458case UnsafeNativeMethods.NavigateDirection.FirstChild: 5460case UnsafeNativeMethods.NavigateDirection.LastChild: 5477internal UnsafeNativeMethods.IRawElementProviderFragment ChildFragmentNavigate(AccessibleObject childFragment, UnsafeNativeMethods.NavigateDirection direction) { 5479case UnsafeNativeMethods.NavigateDirection.Parent: 5481case UnsafeNativeMethods.NavigateDirection.NextSibling: 5490case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 5506internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 5586internal override UnsafeNativeMethods.IRawElementProviderFragment GetFocus() { 5665internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) {
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (7)
270internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 274case UnsafeNativeMethods.NavigateDirection.Parent: 276case UnsafeNativeMethods.NavigateDirection.NextSibling: 278case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 280case UnsafeNativeMethods.NavigateDirection.FirstChild: 282case UnsafeNativeMethods.NavigateDirection.LastChild:
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (2)
266internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) {
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (5)
253internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 254if (direction == UnsafeNativeMethods.NavigateDirection.Parent && 259else if (direction == UnsafeNativeMethods.NavigateDirection.PreviousSibling) { 269internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (10)
2782internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 2785case UnsafeNativeMethods.NavigateDirection.Parent: 2797case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 2799case UnsafeNativeMethods.NavigateDirection.NextSibling: 2810internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 2926internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 2929return owner.Expanded ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed; 2932return UnsafeNativeMethods.ExpandCollapseState.LeafNode;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
403internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 405return ownerItem.Expanded ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed;
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (5)
89UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_UPDATETIPTEXT, 0, GetTOOLINFO(controls[i])); 160UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_DELTOOL, 0, GetTOOLINFO((Control)sender)); 209if (0 == (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO(c))) { 216UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 230if (0 == (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_UPDATETIPTEXT, 0, GetTOOLINFO(controls[i]))) {
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (2)
253internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (14)
1051internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 1054case UnsafeNativeMethods.NavigateDirection.NextSibling: 1059case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 1064case UnsafeNativeMethods.NavigateDirection.FirstChild: 1066case UnsafeNativeMethods.NavigateDirection.LastChild: 1074private UnsafeNativeMethods.IRawElementProviderFragment GetFirstChild() { 1095private UnsafeNativeMethods.IRawElementProviderFragment GetLastChild() { 1137if (ExpandCollapseState == UnsafeNativeMethods.ExpandCollapseState.Collapsed) { 1143if (ExpandCollapseState == UnsafeNativeMethods.ExpandCollapseState.Expanded) { 1160internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 1164return UnsafeNativeMethods.ExpandCollapseState.Collapsed; 1168return UnsafeNativeMethods.ExpandCollapseState.Expanded; 1171return UnsafeNativeMethods.ExpandCollapseState.Collapsed;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (60)
420int exStyle = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(edit, edit.Handle), NativeMethods.GWL_EXSTYLE))); 791UnsafeNativeMethods.ClientToScreen(new HandleRef(this, Handle), pt); 968UnsafeNativeMethods.ExpandCollapseState.Expanded, 969UnsafeNativeMethods.ExpandCollapseState.Collapsed); 998gotfocus = IntPtr.Zero != UnsafeNativeMethods.SetFocus(new HandleRef(this, Handle)); 1552if (ownerGrid.CanShowVisualStyleGlyphs && UnsafeNativeMethods.IsVista && VisualStyleRenderer.IsSupported) { 1691UnsafeNativeMethods.SetWindowLong(new HandleRef(dropDownHolder, dropDownHolder.Handle), NativeMethods.GWL_HWNDPARENT, new HandleRef(this, Handle)); 1735UnsafeNativeMethods.SetWindowLong(new HandleRef(dropDownHolder, dropDownHolder.Handle), NativeMethods.GWL_HWNDPARENT, new HandleRef(this, Handle)); 1751UnsafeNativeMethods.ExpandCollapseState.Collapsed, 1752UnsafeNativeMethods.ExpandCollapseState.Expanded); 2764for (IntPtr hwnd = UnsafeNativeMethods.GetForegroundWindow(); 2765hwnd != IntPtr.Zero; hwnd = UnsafeNativeMethods.GetParent(new HandleRef(null, hwnd))) { 3279IntPtr foregroundWindow = UnsafeNativeMethods.GetForegroundWindow(); 3280if (UnsafeNativeMethods.IsChild(new HandleRef(null, foregroundWindow), new HandleRef(null, this.Handle))) { 3870IntPtr hdc = UnsafeNativeMethods.GetDC(new HandleRef(DropDownListBox, DropDownListBox.Handle)); 3899UnsafeNativeMethods.ReleaseDC(new HandleRef(DropDownListBox, DropDownListBox.Handle), new HandleRef(DropDownListBox, hdc)); 3975Control focusedControl = Control.FromHandleInternal(UnsafeNativeMethods.GetFocus()); 3980focusedControl = Control.FromHandleInternal(UnsafeNativeMethods.GetFocus()); 4933IntPtr priorFocus = UnsafeNativeMethods.GetFocus(); 4945UnsafeNativeMethods.SetFocus(new HandleRef(null, priorFocus)); 4976while (UnsafeNativeMethods.PeekMessage(ref mouseMsg, 5059while (UnsafeNativeMethods.PeekMessage(ref mouseMsg, 5346UnsafeNativeMethods.PostMessage(new HandleRef(Edit, Edit.Handle), NativeMethods.WM_IME_STARTCOMPOSITION, 0, 0); 5351UnsafeNativeMethods.PostMessage(new HandleRef(Edit, Edit.Handle), NativeMethods.WM_IME_COMPOSITION, m.WParam, m.LParam); 5580UnsafeNativeMethods.MsgWaitForMultipleObjectsEx(0, IntPtr.Zero, 250, NativeMethods.QS_ALLINPUT, NativeMethods.MWMO_INPUTAVAILABLE); 5683hWnd = UnsafeNativeMethods.GetWindowLong(new HandleRef(null, hWnd), NativeMethods.GWL_HWNDPARENT); 6104(int) UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this, HandleInternal)); 6242internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 6244case UnsafeNativeMethods.NavigateDirection.Parent: 6246case UnsafeNativeMethods.NavigateDirection.NextSibling: 6257case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 6274internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 6458internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 6459if (direction == UnsafeNativeMethods.NavigateDirection.Parent) { 6462else if (direction == UnsafeNativeMethods.NavigateDirection.FirstChild) { 6465else if (direction == UnsafeNativeMethods.NavigateDirection.LastChild) { 6471else if (direction == UnsafeNativeMethods.NavigateDirection.NextSibling) { 6481internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 6650UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.WM_CHAR, (IntPtr)keyChar, IntPtr.Zero); 6963internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 6965if (direction == UnsafeNativeMethods.NavigateDirection.Parent) { 6968else if (direction == UnsafeNativeMethods.NavigateDirection.NextSibling) { 6983internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 7156mouseHookHandle = UnsafeNativeMethods.SetWindowsHookEx(NativeMethods.WH_MOUSE, 7173NativeMethods.MOUSEHOOKSTRUCT mhs = (NativeMethods.MOUSEHOOKSTRUCT)UnsafeNativeMethods.PtrToStructure(lparam, typeof(NativeMethods.MOUSEHOOKSTRUCT)); 7192return UnsafeNativeMethods.CallNextHookEx(new HandleRef(this, mouseHookHandle), nCode, wparam, lparam); 7205UnsafeNativeMethods.UnhookWindowsHookEx(new HandleRef(this, mouseHookHandle)); 7342internal override UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { 7355internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 7367case UnsafeNativeMethods.NavigateDirection.FirstChild: 7369case UnsafeNativeMethods.NavigateDirection.LastChild: 7375case UnsafeNativeMethods.NavigateDirection.FirstChild: 7377case UnsafeNativeMethods.NavigateDirection.LastChild: 7394internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 7408internal override UnsafeNativeMethods.IRawElementProviderFragment GetFocus() { 7740UnsafeNativeMethods.ScreenToClient(new HandleRef(Owner, Owner.Handle), pt);
winforms\Managed\System\WinForms\RadioButton.cs (2)
469if (UnsafeNativeMethods.GetKeyState((int)Keys.Tab) >= 0) { 574if (UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\RichTextBox.cs (63)
363moduleHandle = UnsafeNativeMethods.LoadLibraryFromSystemPathIfAvailable(richEditControlDllVersion); 377StringBuilder pathBuilder = UnsafeNativeMethods.GetModuleFileNameLongPath(new HandleRef(null, moduleHandle)); 597opt = (RichTextBoxLanguageOptions)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETLANGOPTIONS, 0, 0); 610UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETLANGOPTIONS, 0, (int) value); 718IntPtr hDC = UnsafeNativeMethods.CreateIC("DISPLAY", null, null, new HandleRef(null, IntPtr.Zero)); 724UnsafeNativeMethods.DeleteDC(new HandleRef(null, hDC)); 832UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 879UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETPARAFORMAT, 0, pf); 903UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 933UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETPARAFORMAT, 0, pf); 981UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, RichTextBoxConstants.SCF_SELECTION, cf); 1016UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, RichTextBoxConstants.SCF_SELECTION, cf); 1067UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, RichTextBoxConstants.SCF_SELECTION, cf2); 1114UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 1130UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETPARAFORMAT, 0, pf); 1155UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 1171UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETPARAFORMAT, 0, pf); 1284UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 1302UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETPARAFORMAT, 0, pf); 1324UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 1346UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETPARAFORMAT, 0, pf); 1354UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETPARAFORMAT, 0, pf); 1518return unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETTEXTLENGTHEX, gtl, 0 /*ignored*/)); 2027position = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_FINDTEXT, findOptions, ft); 2065UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_EXSETSEL, 0, chrg); 2132UnsafeNativeMethods.CharBuffer charBuffer; 2133charBuffer = UnsafeNativeMethods.CharBuffer.CreateBuffer(CHAR_BUFFER_LEN + 1); 2170len = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETTEXTRANGE, 0, txrg); 2247UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETCHARFORMAT, fSelection ? RichTextBoxConstants.SCF_SELECTION : RichTextBoxConstants.SCF_DEFAULT, cf); 2253UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETCHARFORMAT, fSelection ? RichTextBoxConstants.SCF_SELECTION : RichTextBoxConstants.SCF_DEFAULT, cf2); 2324int index = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.EM_CHARFROMPOS, 0, wpt); 2378UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.EM_POSFROMCHAR, pt, index); 2604UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETOPTIONS, (IntPtr)RichTextBoxConstants.ECOOP_OR, 2720UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_PASTESPECIAL, clipFormat.Id, rps); 2873return IntPtr.Zero != UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, RichTextBoxConstants.SCF_SELECTION, cf); 2879return IntPtr.Zero != UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, charRange, cf); 2912UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, selectionOnly ? RichTextBoxConstants.SCF_SELECTION : RichTextBoxConstants.SCF_ALL, cfA); 2926UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETCHARFORMAT, selectionOnly ? RichTextBoxConstants.SCF_SELECTION : RichTextBoxConstants.SCF_ALL, cfW); 2949hDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 2953logPixelsX = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), NativeMethods.LOGPIXELSX); 2954logPixelsY = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), NativeMethods.LOGPIXELSY); 2956UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hDC)); 3017UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_EXSETSEL, 0, cr); 3068UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_STREAMIN, flags, es64); 3074UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_STREAMIN, flags, es); 3165UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_STREAMOUT, flags, es64); 3171UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_STREAMOUT, flags, es); 3279Guid iidRichEditOleCallback = typeof(UnsafeNativeMethods.IRichEditOleCallback).GUID; 3282UnsafeNativeMethods.SendCallbackMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETOLECALLBACK, IntPtr.Zero, pRichEditOleCallback); 3291UnsafeNativeMethods.DragAcceptFiles(new HandleRef(this, Handle), false); 3377UnsafeNativeMethods.CharBuffer charBuffer = UnsafeNativeMethods.CharBuffer.CreateBuffer(characters); 3383int len = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETTEXTRANGE, 0, txrg); 3446if (UnsafeNativeMethods.DragQueryFileLongPath(new HandleRef(endropfiles, endropfiles.hDrop), 0, path) != 0) 3501NativeMethods.CHARFORMATA charFormat = (NativeMethods.CHARFORMATA)UnsafeNativeMethods.PtrToStructure(enprotected.lParam, typeof(NativeMethods.CHARFORMATA)); 3627UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.EM_SETSEL, selEnd - 1, selEnd); 3692UnsafeNativeMethods.SetCursor(new HandleRef(Cursors.Hand, Cursors.Hand.Handle)); 3771private class OleCallback : UnsafeNativeMethods.IRichEditOleCallback { 3782public int GetNewStorage(out UnsafeNativeMethods.IStorage storage) { 3789UnsafeNativeMethods.ILockBytes pLockBytes = UnsafeNativeMethods.CreateILockBytesOnHGlobal(NativeMethods.NullHandleRef, true); 3793storage = UnsafeNativeMethods.StgCreateDocfileOnILockBytes(pLockBytes, 3831int hr = UnsafeNativeMethods.ReadClassStg(new HandleRef(null, lpstg), ref realClsid);
winforms\Managed\System\WinForms\SafeNativeMethods.cs (4)
304public static extern IntPtr ImageList_Read(UnsafeNativeMethods.IStream pstm); 309public static extern bool ImageList_Write(HandleRef himl, UnsafeNativeMethods.IStream pstm); 312public static extern int ImageList_WriteEx(HandleRef himl, int dwFlags, UnsafeNativeMethods.IStream pstm); 502public static extern int DoDragDrop(IComDataObject dataObject, UnsafeNativeMethods.IOleDropSource dropSource, int allowedEffects, int[] finalEffect);
winforms\Managed\System\WinForms\SaveFileDialog.cs (1)
203bool result = UnsafeNativeMethods.GetSaveFileName(ofn);
winforms\Managed\System\WinForms\Screen.cs (5)
68private static bool multiMonitorSupport = (UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CMONITORS) != 0); 99screenDC = UnsafeNativeMethods.CreateDC(deviceName); 104this.bitDepth = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, screenDC), NativeMethods.BITSPIXEL); 105this.bitDepth *= UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, screenDC), NativeMethods.PLANES); 108UnsafeNativeMethods.DeleteDC(new HandleRef(null, screenDC));
winforms\Managed\System\WinForms\ScrollBar.cs (2)
810UnsafeNativeMethods.SetScrollInfo(new HandleRef(this, Handle), NativeMethods.SB_CTL, si, true); 928if (UnsafeNativeMethods.GetFocus() == this.Handle) {
winforms\Managed\System\WinForms\ScrollProperties.cs (3)
321UnsafeNativeMethods.SetScrollInfo(new HandleRef(parent, parent.Handle), Orientation, si, true); 333UnsafeNativeMethods.EnableScrollBar(new HandleRef(parent, parent.Handle), Orientation, NativeMethods.ESB_ENABLE_BOTH); 336UnsafeNativeMethods.EnableScrollBar(new HandleRef(parent, parent.Handle), Orientation, NativeMethods.ESB_DISABLE_BOTH);
winforms\Managed\System\WinForms\SendKeys.cs (20)
163int vk = UnsafeNativeMethods.VkKeyScan(character); 238hhook = UnsafeNativeMethods.SetWindowsHookEx(NativeMethods.WH_JOURNALPLAYBACK, 240new HandleRef(null, UnsafeNativeMethods.GetModuleHandle(null)), 255IntPtr hookHandle = UnsafeNativeMethods.SetWindowsHookEx(NativeMethods.WH_JOURNALPLAYBACK, 257new HandleRef(null, UnsafeNativeMethods.GetModuleHandle(null)), 264UnsafeNativeMethods.UnhookWindowsHookEx(new HandleRef(null, hookHandle)); 316UnsafeNativeMethods.GetKeyboardState(keystate); 321UnsafeNativeMethods.SetKeyboardState(keystate); 609bool blockInputSuccess = UnsafeNativeMethods.BlockInput(true); 633eventsSent += UnsafeNativeMethods.SendInput(2, currentInput, INPUTSize) - 1; 655eventsSent += UnsafeNativeMethods.SendInput(1, currentInput, INPUTSize); 679UnsafeNativeMethods.BlockInput(false); 820UnsafeNativeMethods.SendInput(2, keyboardInput, INPUTSize); 827UnsafeNativeMethods.SendInput(2, keyboardInput, INPUTSize); 834UnsafeNativeMethods.SendInput(2, keyboardInput, INPUTSize); 841UnsafeNativeMethods.SendInput(2, keyboardInput, INPUTSize); 979UnsafeNativeMethods.UnhookWindowsHookEx(new HandleRef(null, hhook)); 1061NativeMethods.EVENTMSG eventmsg = (NativeMethods.EVENTMSG)UnsafeNativeMethods.PtrToStructure(lparam, typeof(NativeMethods.EVENTMSG)); 1064if (UnsafeNativeMethods.GetAsyncKeyState((int)Keys.Pause) != 0) { 1101UnsafeNativeMethods.CallNextHookEx(new HandleRef(null, SendKeys.hhook), code, wparam, lparam);
winforms\Managed\System\WinForms\SplitContainer.cs (5)
588UnsafeNativeMethods.GetCursorPos(p); 589UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 590if ((r.left <= p.x && p.x < r.right && r.top <= p.y && p.y < r.bottom) || UnsafeNativeMethods.GetCapture() == Handle) 1636IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(this, parentHandle), NativeMethods.NullHandleRef, NativeMethods.DCX_CACHE | NativeMethods.DCX_LOCKWINDOWUPDATE); 1642UnsafeNativeMethods.ReleaseDC(new HandleRef(this, parentHandle), new HandleRef(null, dc));
winforms\Managed\System\WinForms\Splitter.cs (2)
773IntPtr dc = UnsafeNativeMethods.GetDCEx(new HandleRef(ParentInternal, parentHandle), NativeMethods.NullHandleRef, NativeMethods.DCX_CACHE | NativeMethods.DCX_LOCKWINDOWUPDATE); 779UnsafeNativeMethods.ReleaseDC(new HandleRef(ParentInternal, parentHandle), new HandleRef(null, dc));
winforms\Managed\System\WinForms\StatusBar.cs (9)
602UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.SB_SETPARTS, 1, offsets); 616UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.SB_SETPARTS, length, offsets2); 634IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 642UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 1783ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(p.MainToolTip, p.MainToolTip.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO(tool)); 1786ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO(tool)); 1795UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_DELTOOL, 0, GetMinTOOLINFO(tool)); 1800UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTOOLINFO, 0, GetTOOLINFO(tool)); 1823UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width);
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
643int result = (int) UnsafeNativeMethods.SendMessage(new HandleRef(parent, parent.Handle), NativeMethods.SB_SETTEXT, (IntPtr)wparam, sendText); 657result = (int) UnsafeNativeMethods.SendMessage(new HandleRef(parent, parent.Handle), NativeMethods.SB_GETRECT, (IntPtr)GetIndex(), ref rect);
winforms\Managed\System\WinForms\StatusStrip.cs (10)
196return !UnsafeNativeMethods.IsZoomed(rootHwnd); 567if (rootHwnd.Handle != IntPtr.Zero && !UnsafeNativeMethods.IsZoomed(rootHwnd)) { 571UnsafeNativeMethods.GetClientRect(rootHwnd, ref rootHwndClientArea); 581UnsafeNativeMethods.MapWindowPoints(new HandleRef(this, this.Handle), rootHwnd, gripLocation, 1); 655internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 662case UnsafeNativeMethods.NavigateDirection.FirstChild: 672case UnsafeNativeMethods.NavigateDirection.LastChild: 686internal override UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { 690internal override UnsafeNativeMethods.IRawElementProviderFragment GetFocus() {
winforms\Managed\System\WinForms\StringSource.cs (4)
28private UnsafeNativeMethods.IAutoComplete2 autoCompleteObject2; 53Guid iid_iunknown = typeof(UnsafeNativeMethods.IAutoComplete2).GUID; 54object obj = UnsafeNativeMethods.CoCreateInstance(ref autoCompleteClsid, null, NativeMethods.CLSCTX_INPROC_SERVER, ref iid_iunknown); 56autoCompleteObject2 = (UnsafeNativeMethods.IAutoComplete2)obj;
winforms\Managed\System\WinForms\SystemInformation.cs (138)
69UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETDRAGFULLWINDOWS, 0, ref data, 0); 90bool b = UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETHIGHCONTRAST, data.cbSize, ref data, 0); 118UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETWHEELSCROLLLINES, 0, ref data, 0); 128hWndMouseWheel = UnsafeNativeMethods.FindWindow(NativeMethods.MOUSEZ_CLASSNAME, NativeMethods.MOUSEZ_TITLE); 137int lines = (int)UnsafeNativeMethods.SendMessage(new HandleRef(null, hWndMouseWheel), message, 0, 0); 163return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSCREEN), 164UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYSCREEN)); 176return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXVSCROLL); 188return UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CXVSCROLL, (uint)dpi); 190return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXVSCROLL); 202return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYHSCROLL); 214return UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CYHSCROLL, (uint)dpi); 216return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYHSCROLL); 228return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYCAPTION); 241return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXBORDER), 242UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYBORDER)); 255return new Size(UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CXBORDER, (uint)dpi), 256UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CYBORDER, (uint)dpi)); 271return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXFIXEDFRAME), 272UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYFIXEDFRAME)); 282return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYVTHUMB); 292return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXHTHUMB); 335return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXICON), 336UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYICON)); 348return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXCURSOR), 349UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYCURSOR)); 385result = UnsafeNativeMethods.TrySystemParametersInfoForDpi(NativeMethods.SPI_GETNONCLIENTMETRICS, data.cbSize, data, 0, dpi); 387result = UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETNONCLIENTMETRICS, data.cbSize, data, 0); 417return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMENU); 449UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETWORKAREA, 0, ref rc, 0); 464return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYKANJIWINDOW); 477return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_MOUSEPRESENT) != 0; 489return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYVSCROLL); 499return UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CXHSCROLL, (uint)dpi); 509return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXHSCROLL); 521return UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CXHSCROLL, (uint)dpi); 524return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXHSCROLL); 539return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_DEBUG) != 0; 552return(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_SWAPBUTTON) != 0); 564return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMIN), 565UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMIN)); 578return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSIZE), 579UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYSIZE)); 591return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXFRAME), 592UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYFRAME)); 605return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMINTRACK), 606UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMINTRACK)); 620return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXDOUBLECLK), 621UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYDOUBLECLK)); 648return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXICONSPACING), 649UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYICONSPACING)); 662return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_MENUDROPALIGNMENT) != 0; 675return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_PENWINDOWS) != 0; 688return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_DBCSENABLED) != 0; 700return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CMOUSEBUTTONS); 714return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_SECURE) != 0; 727return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXEDGE), 728UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYEDGE)); 740return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMINSPACING), 741UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMINSPACING)); 754return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSMICON), 755UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYSMICON)); 768return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYSMCAPTION); 781return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSMSIZE), 782UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYSMSIZE)); 795return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMENUSIZE), 796UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMENUSIZE)); 807int compoundValue = UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_ARRANGE); 821int compoundValue = UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_ARRANGE); 834return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMINIMIZED), 835UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMINIMIZED)); 848return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMAXTRACK), 849UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMAXTRACK)); 862return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMAXIMIZED), 863UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMAXIMIZED)); 875return(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_NETWORK) & 0x00000001) != 0; 887return(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_REMOTESESSION) & 0x00000001) != 0; 903return(BootMode) UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CLEANBOOT); 917return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXDRAG), 918UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYDRAG)); 932return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_SHOWSOUNDS) != 0; 945return new Size(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMENUCHECK), 946UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYMENUCHECK)); 959return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_MIDEASTENABLED) != 0; 966multiMonitorSupport = (UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CMONITORS) != 0); 983nativeMouseWheelSupport = (UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_MOUSEWHEELPRESENT) != 0); 1010hWndMouseWheel = UnsafeNativeMethods.FindWindow(NativeMethods.MOUSEZ_CLASSNAME, NativeMethods.MOUSEZ_TITLE); 1017mouseWheelPresent = (UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_MOUSEWHEELPRESENT) != 0); 1034return new Rectangle(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_XVIRTUALSCREEN), 1035UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_YVIRTUALSCREEN), 1036UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXVIRTUALSCREEN), 1037UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYVIRTUALSCREEN)); 1056return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CMONITORS); 1075return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_SAMEDISPLAYFORMAT) != 0; 1100UnsafeNativeMethods.GetComputerName(sb, new int[] {sb.Capacity}); 1128hwinsta = UnsafeNativeMethods.GetProcessWindowStation(); 1135if (UnsafeNativeMethods.GetUserObjectInformation(new HandleRef(null, hwinsta), NativeMethods.UOI_FLAGS, flags, Marshal.SizeOf(flags), ref lengthNeeded)) { 1163UnsafeNativeMethods.GetUserName(sb, new int[] {sb.Capacity}); 1194UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETDROPSHADOW, 0, ref data, 0); 1212UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETFLATMENU, 0, ref data, 0); 1228UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETFONTSMOOTHING, 0, ref data, 0); 1243UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETFONTSMOOTHINGCONTRAST, 0, ref data, 0); 1262UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETFONTSMOOTHINGTYPE, 0, ref data, 0); 1280UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_ICONHORIZONTALSPACING, 0, ref data, 0); 1294UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_ICONVERTICALSPACING, 0, ref data, 0); 1308UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETICONTITLEWRAP, 0, ref data, 0); 1322UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETKEYBOARDCUES, 0, ref data, 0); 1338UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETKEYBOARDDELAY, 0, ref data, 0); 1353UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETKEYBOARDPREF, 0, ref data, 0); 1369UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETKEYBOARDSPEED, 0, ref data, 0); 1384UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMOUSEHOVERHEIGHT, 0, ref height, 0); 1385UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMOUSEHOVERWIDTH, 0, ref width, 0); 1399UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMOUSEHOVERTIME, 0, ref data, 0); 1414UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMOUSESPEED, 0, ref data, 0); 1430UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETSNAPTODEFBUTTON, 0, ref data, 0); 1445UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMENUDROPALIGNMENT, 0, ref data, 0); 1467UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMENUFADE, 0, ref data, 0); 1483UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMENUSHOWDELAY, 0, ref data, 0); 1498UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETCOMBOBOXANIMATION, 0, ref data, 0); 1512UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETGRADIENTCAPTIONS, 0, ref data, 0); 1527UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETHOTTRACKING, 0, ref data, 0); 1541UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETLISTBOXSMOOTHSCROLLING, 0, ref data, 0); 1555UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETMENUANIMATION, 0, ref data, 0); 1571UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETSELECTIONFADE, 0, ref data, 0); 1589UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETTOOLTIPANIMATION, 0, ref data, 0); 1608UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETUIEFFECTS, 0, ref data, 0); 1625UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETACTIVEWINDOWTRACKING, 0, ref data, 0); 1639UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETACTIVEWNDTRKTIMEOUT, 0, ref data, 0); 1655UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETANIMATION, 0, ref data, 0); 1669UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETBORDER, 0, ref data, 0); 1698UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETCARETWIDTH, 0, ref data, 0); 1731return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYFOCUSBORDER); 1749return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXFOCUSBORDER); 1766return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYSIZEFRAME); 1779return UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSIZEFRAME); 1821bool result = UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETNONCLIENTMETRICS, data.cbSize, data, 0); 1916bool result = UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETNONCLIENTMETRICS, data.cbSize, data, 0); 1940bool result = UnsafeNativeMethods.SystemParametersInfo(NativeMethods.SPI_GETNONCLIENTMETRICS, data.cbSize, data, 0);
winforms\Managed\System\WinForms\TabControl.cs (10)
1066int index = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TCM_INSERTITEM, tabPageCount + 1, tcitem); 1067UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), tabBaseReLayoutMessage, IntPtr.Zero, IntPtr.Zero); 1104IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1111UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 1309retIndex = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TCM_INSERTITEM, index, tcitem); 1738UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TCM_SETTOOLTIPS, new HandleRef(toolTip, toolTip.Handle), 0); 1751UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TCM_SETITEM, index, tcitem); 1754UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TCM_SETCURSEL, (IntPtr)index, IntPtr.Zero); 2136while (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, hwnd), 2205UnsafeNativeMethods.SendMessage(new HandleRef(nmhdr, nmhdr.hwndFrom), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width);
winforms\Managed\System\WinForms\TextBoxBase.cs (10)
1013UnsafeNativeMethods.SendMessage( new HandleRef( this, Handle ), NativeMethods.EM_GETSEL, ref start, ref end ); 1318UnsafeNativeMethods.SetWindowText(new HandleRef(this, Handle), value); 1687if (!ValidationCancelled && UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) { 1756int index = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.EM_CHARFROMPOS, 0, longPoint); 1795int i = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.EM_POSFROMCHAR, index, 0); 1836if (UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), RichTextBoxConstants.EM_GETOLEINTERFACE, 0, out editOle) != 0) { 1842Guid iiTextDocumentGuid = typeof(UnsafeNativeMethods.ITextDocument).GUID; 1847UnsafeNativeMethods.ITextDocument textDocument = Marshal.GetObjectForIUnknown(iTextDocument) as UnsafeNativeMethods.ITextDocument; 1864UnsafeNativeMethods.ITextRange textRange = textDocument.Range(this.WindowText.Length - 1, this.WindowText.Length - 1);
winforms\Managed\System\WinForms\Timer.cs (2)
392UnsafeNativeMethods.PostMessage(new HandleRef(this, hWnd), NativeMethods.WM_CLOSE, 0, 0); 399if (_stoppingTimer || hWnd == IntPtr.Zero || !UnsafeNativeMethods.IsWindow(new HandleRef(this, hWnd))) {
winforms\Managed\System\WinForms\ToolBar.cs (9)
1051IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1058UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 1149UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TB_SETBUTTONINFO, x, ref tbbi); 1200UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TB_INSERTBUTTON, index, ref tbbutton); 1237UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TB_SETBUTTONINFO, index, ref tbbi); 1494UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TB_SETTOOLTIPS, new HandleRef(toolTip, toolTip.Handle), 0); 1556UnsafeNativeMethods.MapWindowPoints(new HandleRef(nmTB.hdr, nmTB.hdr.hwndFrom), NativeMethods.NullHandleRef, ref rc, 2); 1707int nRet = UnsafeNativeMethods.GetWindowPlacement(new HandleRef(null, note.hwndFrom), ref wndPlacement); 1733UnsafeNativeMethods.ClientToScreen(new HandleRef(this, this.Handle), leftTop);
winforms\Managed\System\WinForms\ToolBarButton.cs (2)
335UnsafeNativeMethods.SendMessage(new HandleRef(parent, parent.Handle), NativeMethods.TB_GETRECT, FindButtonIndex(), ref rc); 559int buttonID = (int)UnsafeNativeMethods.SendMessage(new HandleRef(Parent, Parent.Handle), NativeMethods.TB_GETBUTTONINFO, commandId, ref button);
winforms\Managed\System\WinForms\ToolStrip.cs (16)
1937SnapFocus(UnsafeNativeMethods.GetFocus()); 2833UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.WM_PRINT, (IntPtr)imageHdc, 4117UnsafeNativeMethods.SetFocus(NativeMethods.NullHandleRef); 4525!UnsafeNativeMethods.IsChild(thisHandle, otherHandle)) { 4710IntPtr hwndClicked = UnsafeNativeMethods.ChildWindowFromPointEx(new HandleRef(null, Handle), pt.X, pt.Y,(int)(GetChildAtPointSkip.Invisible | GetChildAtPointSkip.Disabled | GetChildAtPointSkip.Transparent)); 4725IntPtr hwndActive = UnsafeNativeMethods.GetActiveWindow(); 4738SnapFocus(UnsafeNativeMethods.GetFocus()); 5070internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 5076internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 5079case UnsafeNativeMethods.NavigateDirection.FirstChild: 5085case UnsafeNativeMethods.NavigateDirection.LastChild: 5155if (!UnsafeNativeMethods.IsChild(new HandleRef(this, ownerToolStrip.Handle), new HandleRef(this,m.HWnd))) { 5157if (rootHwnd.Handle == m.HWnd || UnsafeNativeMethods.IsChild(rootHwnd, new HandleRef(this,m.HWnd))) { 5221IntPtr compatibleHDC = UnsafeNativeMethods.CreateCompatibleDC(toolStripHDC); 5254UnsafeNativeMethods.DeleteCompatibleDC(cachedItemHDC);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (11)
111internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 112if (direction == UnsafeNativeMethods.NavigateDirection.FirstChild || 113direction == UnsafeNativeMethods.NavigateDirection.LastChild) { 121internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 778internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 780case UnsafeNativeMethods.NavigateDirection.Parent: 781case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 782case UnsafeNativeMethods.NavigateDirection.NextSibling: 793internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
1672UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, ToolStripManager.ModalMenuFilter.ActiveHwnd); 1680UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, ownerHandle); 1809IntPtr foregroundWindow = UnsafeNativeMethods.GetForegroundWindow(); 2022result = UnsafeNativeMethods.SetLayeredWindowAttributes(new HandleRef(this, Handle), 0, OpacityAsByte, NativeMethods.LWA_ALPHA); 2233UnsafeNativeMethods.SendMessage(activeHwndHandleRef, NativeMethods.WM_NCACTIVATE, (IntPtr)1, NativeMethods.InvalidIntPtr);
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (11)
847internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 849return owner.DropDown.Visible ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed; 868if (AccessibilityImprovements.Level3 && ExpandCollapseState == UnsafeNativeMethods.ExpandCollapseState.Collapsed) { 921internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 927case UnsafeNativeMethods.NavigateDirection.FirstChild: 934case UnsafeNativeMethods.NavigateDirection.LastChild: 941case UnsafeNativeMethods.NavigateDirection.NextSibling: 942case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 955index += direction == UnsafeNativeMethods.NavigateDirection.NextSibling ? 1 : -1;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (4)
281int count = UnsafeNativeMethods.GetMenuItemCount(menuHandle); 293UnsafeNativeMethods.GetMenuItemInfo(menuHandle, i, /*fByPosition=*/ true, info); 305 UnsafeNativeMethods.GetMenuItemInfo(menuHandle, i, /*fByPosition=*/ true, info); 316 UnsafeNativeMethods.GetMenuItemInfo(menuHandle, i, /*fByPosition=*/ true, info);
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (3)
260int n = UnsafeNativeMethods.RegisterDragDrop(new HandleRef(owner, owner.Handle), (UnsafeNativeMethods.IOleDropTarget)(new DropTarget(this))); 276int n = UnsafeNativeMethods.RevokeDragDrop(new HandleRef(owner, owner.Handle));
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
2572UnsafeNativeMethods.IOleDropSource dropSource = this.DropSource; 2855if (UnsafeNativeMethods.GetKeyState((int)Keys.LButton) < 0) { 4437internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 4448internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 4450case UnsafeNativeMethods.NavigateDirection.Parent: 4452case UnsafeNativeMethods.NavigateDirection.NextSibling: 4453case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 4460int increment = direction == UnsafeNativeMethods.NavigateDirection.NextSibling ? 1 : -1;
winforms\Managed\System\WinForms\ToolStripManager.cs (11)
852IntPtr hwndActive = UnsafeNativeMethods.GetActiveWindow(); 1050UnsafeNativeMethods.MapWindowPoints(new HandleRef(activeToolStrip, hwndMouseMessageIsFrom), new HandleRef(activeToolStrip, activeToolStrip.Handle), pt, 1); 1124IntPtr hwndActive = UnsafeNativeMethods.GetActiveWindow(); 1206if (UnsafeNativeMethods.IsChild(hwndParent, hwndChild)) { 1247HandleRef hwndCurrentActiveWindow = new HandleRef(null, UnsafeNativeMethods.GetActiveWindow()); 1412messageHookHandle = UnsafeNativeMethods.SetWindowsHookEx(NativeMethods.WH_GETMESSAGE, 1440return UnsafeNativeMethods.CallNextHookEx(new HandleRef(this, messageHookHandle), nCode, wparam, lparam); 1446UnsafeNativeMethods.UnhookWindowsHookEx(new HandleRef(this, messageHookHandle)); 1709IntPtr hMenu = UnsafeNativeMethods.GetMenu(new HandleRef(toplevelControl, toplevelControl.Handle)); 1734if (UnsafeNativeMethods.GetKeyState((int)Keys.ShiftKey) < 0 && (keyData == Keys.None)) { 1746IntPtr foregroundWindow = UnsafeNativeMethods.GetForegroundWindow();
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (6)
712UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(this, nativeMenuHandle), nativeMenuCommandID, /*fByPosition instead of ID=*/ false, info); 732UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(this, nativeMenuHandle), nativeMenuCommandID, /*fByPosition instead of ID=*/ false, info); 743UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(this, nativeMenuHandle), nativeMenuCommandID, /*fByPosition instead of ID=*/ false, info); 776UnsafeNativeMethods.GetMenuItemInfo(new HandleRef(this, nativeMenuHandle), nativeMenuCommandID, /*fByPosition instead of ID=*/ false, info); 877UnsafeNativeMethods.PostMessage( new HandleRef(this, targetWindowHandle), NativeMethods.WM_SYSCOMMAND,nativeMenuCommandID, 0); 883UnsafeNativeMethods.PostMessage( new HandleRef(this, targetWindowHandle), NativeMethods.WM_COMMAND, nativeMenuCommandID, 0);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
858while (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, IntPtr.Zero),
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (10)
509internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 510if (direction == UnsafeNativeMethods.NavigateDirection.FirstChild || 511direction == UnsafeNativeMethods.NavigateDirection.LastChild) { 548internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 559internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 561case UnsafeNativeMethods.NavigateDirection.Parent: 562case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 563case UnsafeNativeMethods.NavigateDirection.NextSibling:
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (11)
849internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 851return ownerItem.DropDown.Visible ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed; 855internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 857case UnsafeNativeMethods.NavigateDirection.FirstChild: 859case UnsafeNativeMethods.NavigateDirection.LastChild: 870if (AccessibilityImprovements.Level3 && ExpandCollapseState == UnsafeNativeMethods.ExpandCollapseState.Collapsed) { 912internal override UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { 918internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (13)
145internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 146if (direction == UnsafeNativeMethods.NavigateDirection.FirstChild || 147direction == UnsafeNativeMethods.NavigateDirection.LastChild) { 648UnsafeNativeMethods.GetClientRect(new HandleRef(this, this.Handle), ref rect); 852HandleRef hdc = new HandleRef(this, UnsafeNativeMethods.GetWindowDC(new HandleRef(this,m.HWnd))); 887UnsafeNativeMethods.ReleaseDC(new HandleRef(this, this.Handle),hdc); 908internal override UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { 919internal override UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { 921case UnsafeNativeMethods.NavigateDirection.Parent: 922case UnsafeNativeMethods.NavigateDirection.PreviousSibling: 923case UnsafeNativeMethods.NavigateDirection.NextSibling:
winforms\Managed\System\WinForms\ToolTip.cs (56)
144UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_ACTIVATE, (value==true)? 1: 0, 0); 225UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTIPBKCOLOR, ColorTranslator.ToWin32(backColor), 0); 290UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTIPTEXTCOLOR, ColorTranslator.ToWin32(foreColor), 0); 356IntPtr hWnd = UnsafeNativeMethods.GetActiveWindow(); 357IntPtr rootHwnd =UnsafeNativeMethods.GetAncestor(new HandleRef(window, window.Handle), NativeMethods.GA_ROOT); 538UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTITLE, (int)toolTipIcon, title); 542UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_UPDATE, 0, 0); 577UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTITLE, (int)toolTipIcon, toolTipTitle); 581UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_UPDATE, 0, 0); 878IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 893UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 898int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 900UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE, new HandleRef(null, (IntPtr)style)); 906UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 926UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_ACTIVATE, (active == true) ? 1 : 0, 0); 929UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTIPBKCOLOR, ColorTranslator.ToWin32(BackColor), 0); 932UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTIPTEXTCOLOR, ColorTranslator.ToWin32(ForeColor), 0); 937UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTITLE, (int)toolTipIcon, title); 971int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_ADDTOOL, 0, tool); 1066UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_DELTOOL, 0, GetMinTOOLINFO(ctl)); 1116return (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETDELAYTIME, type, 0); 1210bool isWindowMirrored = ((unchecked((int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, hWnd), NativeMethods.GWL_STYLE)) & NativeMethods.WS_EX_LAYOUTRTL) == NativeMethods.WS_EX_LAYOUTRTL); 1259IntPtr hwndControl = UnsafeNativeMethods.WindowFromPoint(screenCoords.X, screenCoords.Y); 1284IntPtr found = UnsafeNativeMethods.ChildWindowFromPointEx(new HandleRef(null, baseHwnd), pt.X, pt.Y, NativeMethods.CWP_SKIPINVISIBLE); 1401UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETDELAYTIME, type, time); 1478UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETTOOLINFO, 1557UnsafeNativeMethods.GetWindowRect(new HandleRef(associatedControl, associatedControl.Handle), ref r); 1660UnsafeNativeMethods.GetWindowRect(new HandleRef(window, Control.GetSafeHandle(window)), ref r); 1687UnsafeNativeMethods.GetWindowRect(new HandleRef(window, Control.GetSafeHandle(window)), ref r); 1712UnsafeNativeMethods.GetWindowRect(new HandleRef(window, Control.GetSafeHandle(window)), ref r); 1737UnsafeNativeMethods.GetWindowRect(new HandleRef(window, Control.GetSafeHandle(window)), ref r); 1783IntPtr bubbleSizeInt = UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_GETBUBBLESIZE, 0, this.GetMinToolInfoForTool(tool.GetOwnerWindow())); 1931UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(pointX, pointY)); 1960UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_TRACKACTIVATE, 0, GetWinTOOLINFO(hWnd)); 1961UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_DELTOOL, 0, GetWinTOOLINFO(hWnd)); 2018int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETTOOLINFO, 0, ti); 2040UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_SETTOOLINFO, 0, ti); 2041UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_TRACKACTIVATE, 1, ti); 2075UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_ADDTOOL, 0, toolInfo); 2076UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TTM_TRACKACTIVATE, 1, toolInfo); 2186UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 2189int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETCURRENTTOOL, 0, ti); 2233int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETCURRENTTOOL, 0, ti); 2247UnsafeNativeMethods.GetWindowRect(new HandleRef(win, Control.GetSafeHandle(win)), ref r); 2285UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 2289int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETCURRENTTOOL, 0, ti); 2319UnsafeNativeMethods.GetWindowRect(new HandleRef(this, Handle), ref r); 2325UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_ADJUSTRECT, 1, ref r); 2339UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, maxwidth); 2400int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETCURRENTTOOL, 0, ti); 2494int ret = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETCURRENTTOOL, 0, ti); 2516UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, screen.WorkingArea.Width); 2599IntPtr dc = UnsafeNativeMethods.BeginPaint(new HandleRef(this,Handle),ref ps); 2610int ret = unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_GETCURRENTTOOL, 0, ti)); 2620font = Font.FromHfont(UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.WM_GETFONT, 0, 0)); 2640UnsafeNativeMethods.EndPaint(new HandleRef(this,Handle),ref ps);
winforms\Managed\System\WinForms\TrackBar.cs (3)
501int cyhscroll = UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CYHSCROLL); 857IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 863UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\TreeNode.cs (21)
284if ((int)UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_GETITEMRECT, 1, ref rc) == 0) { 307if ((int)UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_GETITEMRECT, 0, ref rc) == 0) { 345UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_SETITEM, 0, ref item); 637bool visible = ((int)UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_GETITEMRECT, 1, ref rc) != 0); 712IntPtr next = UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), 840IntPtr prev = UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), 920UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_GETITEM, 0, ref item); 1208UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EDITLABEL, 0, handle); 1382UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EXPAND, NativeMethods.TVE_COLLAPSE, Handle); 1493UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_ENDEDITLABELNOW, cancel?1:0, 0); 1554UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_ENSUREVISIBLE, 0, Handle); 1570UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EXPAND, NativeMethods.TVE_EXPAND, Handle); 1711IntPtr editHandle = UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_GETEDITCONTROL, 0, 0); 1716UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_ENDEDITLABELNOW, 0 /* fCancel==FALSE */, 0); 1719handle = UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_INSERTITEM, 0, ref tvis); 1728UnsafeNativeMethods.PostMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EDITLABEL, IntPtr.Zero, handle); 1739UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.WM_SETREDRAW, 1, 0); 1806UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_DELETEITEM, 0, handle); 1832UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_SETITEM, 0, ref item); 1944UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_SETITEM, 0, ref item); 1964UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_SETITEM, 0, ref item);
winforms\Managed\System\WinForms\TreeView.cs (28)
358int currentStyle = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 1656IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1662UnsafeNativeMethods.ThemingScope.Deactivate(userCookie); 1750UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.WM_SETREDRAW, (IntPtr)1, IntPtr.Zero); 1764UnsafeNativeMethods.SendMessage(new HandleRef(toolTip, toolTip.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 1765UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), NativeMethods.TVM_SETTOOLTIPS, new HandleRef(toolTip, toolTip.Handle), 0); 1787IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhi); 1837IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhi); 1992int style = unchecked((int)(UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 1994UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE, new HandleRef(null, (IntPtr)style)); 1998int style = unchecked((int)(UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE))); 2000UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_STYLE, new HandleRef(null, (IntPtr)style)); 2167IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhip); 2580if (unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_GETITEMRECT, 1, ref rc)) != 0) 2732if (UnsafeNativeMethods.GetScrollInfo(new HandleRef(this, Handle), NativeMethods.SB_HORZ,si) != false) { 2908IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhip); 2920UnsafeNativeMethods.SendMessage(new HandleRef(this, tooltipHandle), NativeMethods.TTM_ADJUSTRECT, 1, ref bounds); 2943IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhip); 3022IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhip); 3087UnsafeNativeMethods.GetCursorPos(pt); 3095UnsafeNativeMethods.SetForegroundWindow(new HandleRef(this, this.Handle)); 3107UnsafeNativeMethods.PostMessage(new HandleRef(this, this.Handle), NativeMethods.WM_NULL, IntPtr.Zero, IntPtr.Zero); 3113UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.TVM_SELECTITEM, NativeMethods.TVGN_DROPHILITE, treeNode.Handle); 3194UnsafeNativeMethods.SendMessage(new HandleRef(null, this.Handle), NativeMethods.TVM_GETITEM, 0, ref item1); 3210UnsafeNativeMethods.SendMessage(new HandleRef(nmhdr, nmhdr.hwndFrom), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 3259hNodeMouseDown = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhip); 3287IntPtr hnode = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhi); 3357hNodeMouseDown = UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TVM_HITTEST, 0, tvhit);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
728UnsafeNativeMethods.SendMessage(new HandleRef(toolTipFromUrl, toolTipFromUrl.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, 600);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1470)
214public static extern UnsafeNativeMethods.IClassFactory2 CoGetClassObject( 346public static extern UnsafeNativeMethods.IFont OleCreateIFontIndirect(NativeMethods.FONTDESC fd, ref Guid iid); 349public static extern UnsafeNativeMethods.IPicture OleCreateIPictureIndirect([MarshalAs(UnmanagedType.AsAny)]object pictdesc, ref Guid iid, bool fOwn); 352public static extern UnsafeNativeMethods.IPictureDisp OleCreateIPictureDispIndirect([MarshalAs(UnmanagedType.AsAny)] object pictdesc, ref Guid iid, bool fOwn); 356public static extern UnsafeNativeMethods.IPicture OleCreatePictureIndirect(NativeMethods.PICTDESC pictdesc, [In]ref Guid refiid, bool fOwn); 359public static extern UnsafeNativeMethods.IFont OleCreateFontIndirect(NativeMethods.tagFONTDESC fontdesc, [In]ref Guid refiid); 494public static extern UnsafeNativeMethods.IStorage StgOpenStorageOnILockBytes(UnsafeNativeMethods.ILockBytes iLockBytes, UnsafeNativeMethods.IStorage pStgPriority, int grfMode, int sndExcluded, int reserved); 497public static extern IntPtr GetHGlobalFromILockBytes(UnsafeNativeMethods.ILockBytes pLkbyt); 1224public static extern int RegisterDragDrop(HandleRef hwnd, UnsafeNativeMethods.IOleDropTarget target); 1271public static extern void GetErrorInfo(int reserved, [In, Out] ref UnsafeNativeMethods.IErrorInfo errorInfo); 1431public static extern UnsafeNativeMethods.ILockBytes CreateILockBytesOnHGlobal(HandleRef hGlobal, bool fDeleteOnRelease); 1434public static extern UnsafeNativeMethods.IStorage StgCreateDocfileOnILockBytes(UnsafeNativeMethods.ILockBytes iLockBytes, int grfMode, int reserved); 1880out UnsafeNativeMethods.IOleInPlaceFrame ppFrame, 1882out UnsafeNativeMethods.IOleInPlaceUIWindow ppDoc, 2064UnsafeNativeMethods.IOleInPlaceActiveObject pActiveObject, 2135UnsafeNativeMethods.IOleInPlaceActiveObject activeObject, 2139UnsafeNativeMethods.IOleInPlaceFrame frame, 2141UnsafeNativeMethods.IOleInPlaceUIWindow doc); 2175UnsafeNativeMethods.IOleInPlaceUIWindow doc, 2200UnsafeNativeMethods.IOleDropTarget pDropTarget, 2202out UnsafeNativeMethods.IOleDropTarget ppDropTarget); 2378[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLLocation GetLocation(); 2451[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLWindow2 GetParentWindow(); 2467[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement GetDocumentElement(); 2502[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElementCollection GetElementsByName([In] string v); 2503[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement GetElementById([In] string v); 2504[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElementCollection GetElementsByTagName([In] string v); 2531[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 2532[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 2533[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 2534[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 2535[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 2536[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 2537[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 2538[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 2539[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 2540[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 2541[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 2542[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 2543[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2544[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2545[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 2546[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 2547[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 2548[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 2549[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2550[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 2551[DispId(1026)] bool onstop(UnsafeNativeMethods.IHTMLEventObj evtObj); 2552[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 2553[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 2554[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 2555[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 2556[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 2557[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 2558[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 2559[DispId(1027)] void onbeforeeditfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 2560[DispId(1037)] void onselectionchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 2561[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 2562[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 2563[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 2564[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 2565[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2566[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2567[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2568[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 2584[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLFramesCollection2 GetFrames(); 2595[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLLocation GetLocation(); 2596[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IOmHistory GetHistory(); 2600[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IOmNavigator GetNavigator(); 2603[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLWindow2 GetParent(); 2604[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLWindow2 Open([In] string URL, [In] string name, [In] string features, [In] bool replace); 2627[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLDocument2 GetDocument(); 2628[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLEventObj GetEvent(); 2632[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLScreen GetScreen(); 2684[DispId(1003)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 2685[DispId(1008)] void onunload(UnsafeNativeMethods.IHTMLEventObj evtObj); 2686[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 2687[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 2688[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 2690[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 2691[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 2692[DispId(1017)] void onbeforeunload(UnsafeNativeMethods.IHTMLEventObj evtObj); 2693[DispId(1024)] void onbeforeprint(UnsafeNativeMethods.IHTMLEventObj evtObj); 2694[DispId(1025)] void onafterprint(UnsafeNativeMethods.IHTMLEventObj evtObj); 2703[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLDocument GetDocument(); 2783[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement GetSrcElement(); 2791[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement GetFromElement(); 2792[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement GetToElement(); 2940[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement GetOffsetParent(); 3069[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement 3071[In, MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement insertedElement); 3072[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement 3073applyElement([In, MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElement apply, 3087[return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.IHTMLElementCollection GetElementsByTagName(string v); 3167[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3168[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3169[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3170[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3171[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3172[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3173[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3174[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3175[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3176[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3177[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3178[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3179[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3180[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3181[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3182[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3183[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3184[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3185[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3186[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3187[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3188[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3189[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3190[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3191[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3192[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3193[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3194[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3195[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3196[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3197[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3198[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3199[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3200[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3201[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3202[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3203[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3204[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3205[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3206[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3207[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3208[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3209[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3210[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3211[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3212[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3213[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3214[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3215[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3216[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3217[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3218[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3219[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3220[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3221[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3222[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3223[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3224[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3225[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3226[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3227[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3228[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3235[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3236[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3237[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3238[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3239[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3240[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3241[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3242[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3243[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3244[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3245[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3246[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3247[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3248[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3249[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3250[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3251[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3252[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3253[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3254[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3255[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3256[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3257[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3258[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3259[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3260[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3261[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3262[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3263[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3264[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3265[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3266[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3267[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3268[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3269[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3270[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3271[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3272[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3273[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3274[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3275[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3276[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3277[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3278[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3279[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3280[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3281[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3282[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3283[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3284[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3285[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3286[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3287[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3288[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3289[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3290[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3291[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3292[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3293[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3294[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3295[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3296[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3303[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3304[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3305[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3306[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3307[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3308[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3309[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3310[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3311[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3312[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3313[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3314[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3315[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3316[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3317[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3318[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3319[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3320[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3321[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3322[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3323[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3324[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3325[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3326[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3327[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3328[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3329[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3330[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3331[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3332[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3333[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3334[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3335[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3336[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3337[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3338[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3339[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3340[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3341[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3342[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3343[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3344[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3345[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3346[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3347[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3348[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3349[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3350[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3351[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3352[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3353[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3354[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3355[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3356[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3357[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3358[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3359[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3360[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3361[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3362[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3363[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3364[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3371[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3372[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3373[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3374[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3375[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3376[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3377[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3378[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3379[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3380[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3381[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3382[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3383[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3384[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3385[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3386[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3387[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3388[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3389[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3390[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3391[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3392[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3393[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3394[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3395[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3396[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3397[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3398[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3399[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3400[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3401[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3402[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3403[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3404[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3405[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3406[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3407[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3408[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3409[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3410[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3411[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3412[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3413[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3414[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3415[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3416[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3417[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3418[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3419[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3420[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3421[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3422[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3423[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3424[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3425[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3426[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3427[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3428[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3429[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3430[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3431[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3432[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3439[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3440[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3441[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3442[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3443[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3444[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3445[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3446[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3447[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3448[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3449[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3450[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3451[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3452[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3453[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3454[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3455[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3456[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3457[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3458[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3459[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3460[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3461[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3462[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3463[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3464[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3465[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3466[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3467[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3468[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3469[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3470[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3471[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3472[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3473[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3474[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3475[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3476[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3477[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3478[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3479[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3480[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3481[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3482[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3483[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3484[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3485[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3486[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3487[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3488[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3489[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3490[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3491[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3492[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3493[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3494[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3495[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3496[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3497[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3498[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3499[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3500[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3507[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3508[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3509[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3510[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3511[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3512[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3513[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3514[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3515[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3516[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3517[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3518[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3519[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3520[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3521[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3522[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3523[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3524[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3525[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3526[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3527[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3528[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3529[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3530[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3531[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3532[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3533[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3534[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3535[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3536[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3537[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3538[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3539[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3540[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3541[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3542[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3543[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3544[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3545[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3546[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3547[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3548[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3549[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3550[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3551[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3552[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3553[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3554[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3555[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3556[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3557[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3558[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3559[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3560[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3561[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3562[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3563[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3564[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3565[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3566[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3567[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3568[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3569[DispId(1007)] bool onsubmit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3570[DispId(1015)] bool onreset(UnsafeNativeMethods.IHTMLEventObj evtObj); 3577[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3578[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3579[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3580[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3581[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3582[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3583[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3584[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3585[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3586[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3587[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3588[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3589[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3590[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3591[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3592[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3593[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3594[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3595[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3596[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3597[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3598[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3599[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3600[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3601[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3602[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3603[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3604[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3605[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3606[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3607[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3608[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3609[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3610[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3611[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3612[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3613[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3614[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3615[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3616[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3617[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3618[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3619[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3620[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3621[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3622[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3623[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3624[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3625[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3626[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3627[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3628[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3629[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3630[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3631[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3632[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3633[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3634[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3635[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3636[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3637[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3638[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3639[DispId(1003)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 3646[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3647[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3648[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3649[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3650[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3651[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3652[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3653[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3654[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3655[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3656[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3657[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3658[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3659[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3660[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3661[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3662[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3663[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3664[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3665[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3666[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3667[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3668[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3669[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3670[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3671[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3672[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3673[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3674[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3675[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3676[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3677[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3678[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3679[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3680[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3681[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3682[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3683[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3684[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3685[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3686[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3687[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3688[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3689[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3690[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3691[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3692[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3693[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3694[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3695[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3696[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3697[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3698[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3699[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3700[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3701[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3702[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3703[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3704[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3705[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3706[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3707[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3708[DispId(1003)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 3709[DispId(1002)] void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 3710[DispId(1000)] void onabort(UnsafeNativeMethods.IHTMLEventObj evtObj); 3717[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3718[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3719[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3720[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3721[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3722[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3723[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3724[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3725[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3726[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3727[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3728[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3729[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3730[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3731[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3732[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3733[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3734[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3735[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3736[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3737[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3738[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3739[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3740[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3741[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3742[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3743[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3744[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3745[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3746[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3747[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3748[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3749[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3750[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3751[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3752[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3753[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3754[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3755[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3756[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3757[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3758[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3759[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3760[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3761[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3762[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3763[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3764[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3765[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3766[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3767[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3768[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3769[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3770[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3771[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3772[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3773[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3774[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3775[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3776[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3777[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3778[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3779[DispId(-2147412082)] bool onchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3780[DispId(-2147412102)] void onselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3781[DispId(1003)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 3782[DispId(1002)] void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 3783[DispId(1000)] void onabort(UnsafeNativeMethods.IHTMLEventObj evtObj); 3790[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3791[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3792[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3793[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3794[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3795[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3796[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3797[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3798[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3799[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3800[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3801[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3802[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3803[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3804[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3805[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3806[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3807[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3808[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3809[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3810[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3811[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3812[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3813[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3814[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3815[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3816[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3817[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3818[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3819[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3820[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3821[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3822[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3823[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3824[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3825[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3826[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3827[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3828[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3829[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3830[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3831[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3832[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3833[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3834[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3835[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3836[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3837[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3838[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3839[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3840[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3841[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3842[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3843[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3844[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3845[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3846[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3847[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3848[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3849[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3850[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3851[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3852[DispId(-2147412080)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 3853[DispId(-2147412083)] void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 3854[DispId(-2147412084)] void onabort(UnsafeNativeMethods.IHTMLEventObj evtObj); 3861[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3862[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3863[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3864[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3865[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3866[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3867[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3868[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3869[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3870[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3871[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3872[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3873[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3874[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3875[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3876[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3877[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3878[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3879[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3880[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3881[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3882[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3883[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3884[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3885[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3886[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3887[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3888[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3889[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3890[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3891[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3892[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3893[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3894[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3895[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3896[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3897[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3898[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3899[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3900[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3901[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3902[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3903[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3904[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3905[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3906[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3907[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3908[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3909[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3910[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3911[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3912[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3913[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3914[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3915[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3916[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3917[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3918[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3919[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3920[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3921[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3922[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 3923[DispId(1001)] bool onchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3924[DispId(1006)] void onselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3925[DispId(1003)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 3926[DispId(1002)] void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 3927[DispId(1001)] void onabort(UnsafeNativeMethods.IHTMLEventObj evtObj); 3934[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 3935[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3936[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 3937[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 3938[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3939[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3940[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3941[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3942[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3943[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 3944[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 3945[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3946[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3947[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3948[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3949[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3950[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3951[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 3952[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3953[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 3954[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 3955[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3956[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 3957[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3958[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 3959[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 3960[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 3961[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 3962[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 3963[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3964[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3965[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 3966[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3967[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 3968[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3969[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 3970[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3971[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 3972[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3973[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 3974[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 3975[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3976[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 3977[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3978[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 3979[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 3980[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 3981[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 3982[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 3983[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3984[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3985[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3986[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 3987[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 3988[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 3989[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 3990[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 3991[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3992[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3993[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 3994[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 3995[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4002[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4003[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4004[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4005[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4006[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4007[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4008[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4009[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4010[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4011[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4012[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4013[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4014[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4015[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4016[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4017[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4018[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4019[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4020[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4021[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4022[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4023[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4024[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4025[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4026[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4027[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4028[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4029[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4030[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4031[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4032[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4033[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4034[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4035[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4036[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4037[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4038[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4039[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4040[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4041[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4042[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4043[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4044[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4045[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4046[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4047[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4048[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4049[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4050[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4051[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4052[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4053[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4054[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4055[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4056[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4057[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4058[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4059[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4060[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4061[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4062[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4063[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4064[DispId(-2147412080)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 4065[DispId(-2147412083)] void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 4072[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4073[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4074[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4075[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4076[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4077[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4078[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4079[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4080[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4081[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4082[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4083[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4084[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4085[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4086[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4087[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4088[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4089[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4090[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4091[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4092[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4093[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4094[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4095[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4096[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4097[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4098[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4099[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4100[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4101[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4102[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4103[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4104[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4105[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4106[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4107[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4108[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4109[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4110[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4111[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4112[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4113[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4114[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4115[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4116[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4117[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4118[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4119[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4120[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4121[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4122[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4123[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4124[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4125[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4126[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4127[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4128[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4129[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4130[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4131[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4132[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4133[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4140[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4141[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4142[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4143[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4144[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4145[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4146[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4147[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4148[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4149[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4150[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4151[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4152[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4153[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4154[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4155[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4156[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4157[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4158[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4159[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4160[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4161[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4162[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4163[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4164[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4165[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4166[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4167[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4168[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4169[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4170[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4171[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4172[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4173[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4174[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4175[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4176[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4177[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4178[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4179[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4180[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4181[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4182[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4183[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4184[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4185[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4186[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4187[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4188[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4189[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4190[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4191[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4192[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4193[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4194[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4195[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4196[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4197[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4198[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4199[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4200[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4201[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4202[DispId(-2147412092)] void onbounce(UnsafeNativeMethods.IHTMLEventObj evtObj); 4203[DispId(-2147412086)] void onfinish(UnsafeNativeMethods.IHTMLEventObj evtObj); 4204[DispId(-2147412085)] void onstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4211[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4212[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4213[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4214[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4215[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4216[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4217[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4218[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4219[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4220[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4221[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4222[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4223[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4224[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4225[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4226[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4227[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4228[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4229[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4230[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4231[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4232[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4233[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4234[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4235[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4236[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4237[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4238[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4239[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4240[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4241[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4242[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4243[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4244[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4245[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4246[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4247[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4248[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4249[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4250[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4251[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4252[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4253[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4254[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4255[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4256[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4257[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4258[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4259[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4260[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4261[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4262[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4263[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4264[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4265[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4266[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4267[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4268[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4269[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4270[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4271[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4272[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4273[DispId(-2147412082)] bool onchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4280[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4281[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4282[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4283[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4284[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4285[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4286[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4287[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4288[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4289[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4290[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4291[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4292[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4293[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4294[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4295[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4296[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4297[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4298[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4299[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4300[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4301[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4302[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4303[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4304[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4305[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4306[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4307[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4308[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4309[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4310[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4311[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4312[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4313[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4314[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4315[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4316[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4317[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4318[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4319[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4320[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4321[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4322[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4323[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4324[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4325[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4326[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4327[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4328[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4329[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4330[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4331[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4332[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4333[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4334[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4335[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4336[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4337[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4338[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4339[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4340[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4341[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4342[DispId(-2147412082)] void onchange_void(UnsafeNativeMethods.IHTMLEventObj evtObj); 4349[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4350[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4351[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4352[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4353[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4354[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4355[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4356[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4357[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4358[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4359[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4360[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4361[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4362[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4363[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4364[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4365[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4366[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4367[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4368[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4369[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4370[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4371[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4372[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4373[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4374[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4375[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4376[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4377[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4378[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4379[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4380[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4381[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4382[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4383[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4384[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4385[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4386[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4387[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4388[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4389[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4390[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4391[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4392[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4393[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4394[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4395[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4396[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4397[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4398[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4399[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4400[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4401[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4402[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4403[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4404[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4405[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4406[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4407[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4408[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4409[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4410[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4411[DispId(1003)] void onload(UnsafeNativeMethods.IHTMLEventObj evtObj); 4412[DispId(1002)] void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 4419[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4420[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4421[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4422[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4423[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4424[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4425[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4426[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4427[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4428[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4429[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4430[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4431[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4432[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4433[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4434[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4435[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4436[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4437[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4438[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4439[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4440[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4441[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4442[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4443[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4444[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4445[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4446[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4447[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4448[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4449[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4450[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4451[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4452[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4453[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4454[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4455[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4456[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4457[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4458[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4459[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4460[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4461[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4462[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4463[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4464[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4465[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4466[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4467[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4468[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4469[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4470[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4471[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4472[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4473[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4474[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4475[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4476[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4477[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4478[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4479[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4480[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4487[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4488[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4489[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4490[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4491[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4492[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4493[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4494[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4495[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4496[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4497[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4498[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4499[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4500[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4501[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4502[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4503[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4504[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4505[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4506[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4507[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4508[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4509[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4510[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4511[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4512[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4513[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4514[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4515[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4516[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4517[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4518[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4519[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4520[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4521[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4522[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4523[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4524[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4525[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4526[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4527[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4528[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4529[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4530[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4531[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4532[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4533[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4534[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4535[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4536[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4537[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4538[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4539[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4540[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4541[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4542[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4543[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4544[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4545[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4546[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4547[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4548[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4549[DispId(1001)] void onchange_void(UnsafeNativeMethods.IHTMLEventObj evtObj); 4550[DispId(1006)] void onselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4557[DispId(-2147418102)] bool onhelp(UnsafeNativeMethods.IHTMLEventObj evtObj); 4558[DispId(-600)] bool onclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4559[DispId(-601)] bool ondblclick(UnsafeNativeMethods.IHTMLEventObj evtObj); 4560[DispId(-603)] bool onkeypress(UnsafeNativeMethods.IHTMLEventObj evtObj); 4561[DispId(-602)] void onkeydown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4562[DispId(-604)] void onkeyup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4563[DispId(-2147418103)] void onmouseout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4564[DispId(-2147418104)] void onmouseover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4565[DispId(-606)] void onmousemove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4566[DispId(-605)] void onmousedown(UnsafeNativeMethods.IHTMLEventObj evtObj); 4567[DispId(-607)] void onmouseup(UnsafeNativeMethods.IHTMLEventObj evtObj); 4568[DispId(-2147418100)] bool onselectstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4569[DispId(-2147418095)] void onfilterchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4570[DispId(-2147418101)] bool ondragstart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4571[DispId(-2147418108)] bool onbeforeupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4572[DispId(-2147418107)] void onafterupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4573[DispId(-2147418099)] bool onerrorupdate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4574[DispId(-2147418106)] bool onrowexit(UnsafeNativeMethods.IHTMLEventObj evtObj); 4575[DispId(-2147418105)] void onrowenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4576[DispId(-2147418098)] void ondatasetchanged(UnsafeNativeMethods.IHTMLEventObj evtObj); 4577[DispId(-2147418097)] void ondataavailable(UnsafeNativeMethods.IHTMLEventObj evtObj); 4578[DispId(-2147418096)] void ondatasetcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4579[DispId(-2147418094)] void onlosecapture(UnsafeNativeMethods.IHTMLEventObj evtObj); 4580[DispId(-2147418093)] void onpropertychange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4581[DispId(1014)] void onscroll(UnsafeNativeMethods.IHTMLEventObj evtObj); 4582[DispId(-2147418111)] void onfocus(UnsafeNativeMethods.IHTMLEventObj evtObj); 4583[DispId(-2147418112)] void onblur(UnsafeNativeMethods.IHTMLEventObj evtObj); 4584[DispId(1016)] void onresize(UnsafeNativeMethods.IHTMLEventObj evtObj); 4585[DispId(-2147418092)] bool ondrag(UnsafeNativeMethods.IHTMLEventObj evtObj); 4586[DispId(-2147418091)] void ondragend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4587[DispId(-2147418090)] bool ondragenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4588[DispId(-2147418089)] bool ondragover(UnsafeNativeMethods.IHTMLEventObj evtObj); 4589[DispId(-2147418088)] void ondragleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4590[DispId(-2147418087)] bool ondrop(UnsafeNativeMethods.IHTMLEventObj evtObj); 4591[DispId(-2147418083)] bool onbeforecut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4592[DispId(-2147418086)] bool oncut(UnsafeNativeMethods.IHTMLEventObj evtObj); 4593[DispId(-2147418082)] bool onbeforecopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4594[DispId(-2147418085)] bool oncopy(UnsafeNativeMethods.IHTMLEventObj evtObj); 4595[DispId(-2147418081)] bool onbeforepaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4596[DispId(-2147418084)] bool onpaste(UnsafeNativeMethods.IHTMLEventObj evtObj); 4597[DispId(1023)] bool oncontextmenu(UnsafeNativeMethods.IHTMLEventObj evtObj); 4598[DispId(-2147418080)] void onrowsdelete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4599[DispId(-2147418079)] void onrowsinserted(UnsafeNativeMethods.IHTMLEventObj evtObj); 4600[DispId(-2147418078)] void oncellchange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4601[DispId(-609)] void onreadystatechange(UnsafeNativeMethods.IHTMLEventObj evtObj); 4602[DispId(1030)] void onlayoutcomplete(UnsafeNativeMethods.IHTMLEventObj evtObj); 4603[DispId(1031)] void onpage(UnsafeNativeMethods.IHTMLEventObj evtObj); 4604[DispId(1042)] void onmouseenter(UnsafeNativeMethods.IHTMLEventObj evtObj); 4605[DispId(1043)] void onmouseleave(UnsafeNativeMethods.IHTMLEventObj evtObj); 4606[DispId(1044)] void onactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4607[DispId(1045)] void ondeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4608[DispId(1034)] bool onbeforedeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4609[DispId(1047)] bool onbeforeactivate(UnsafeNativeMethods.IHTMLEventObj evtObj); 4610[DispId(1048)] void onfocusin(UnsafeNativeMethods.IHTMLEventObj evtObj); 4611[DispId(1049)] void onfocusout(UnsafeNativeMethods.IHTMLEventObj evtObj); 4612[DispId(1035)] void onmove(UnsafeNativeMethods.IHTMLEventObj evtObj); 4613[DispId(1036)] bool oncontrolselect(UnsafeNativeMethods.IHTMLEventObj evtObj); 4614[DispId(1038)] bool onmovestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4615[DispId(1039)] void onmoveend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4616[DispId(1040)] bool onresizestart(UnsafeNativeMethods.IHTMLEventObj evtObj); 4617[DispId(1041)] void onresizeend(UnsafeNativeMethods.IHTMLEventObj evtObj); 4618[DispId(1033)] bool onmousewheel(UnsafeNativeMethods.IHTMLEventObj evtObj); 4619[DispId(1002)]void onerror(UnsafeNativeMethods.IHTMLEventObj evtObj); 5557UnsafeNativeMethods.IOleInPlaceActiveObject pActiveObject, 5597UnsafeNativeMethods.IOleInPlaceUIWindow pUIWindow, 5659UnsafeNativeMethods.IOleClientSite pClientSite); 5662UnsafeNativeMethods.IOleClientSite GetClientSite(); 5714UnsafeNativeMethods.IOleClientSite pActiveSite, 5723int EnumVerbs(out UnsafeNativeMethods.IEnumOLEVERB e); 5788UnsafeNativeMethods.IOleClientSite pClientSite); 5791int GetClientSite(out UnsafeNativeMethods.IOleClientSite site); 5843UnsafeNativeMethods.IOleClientSite pActiveSite, 5852int EnumVerbs(out UnsafeNativeMethods.IEnumOLEVERB e); 6171UnsafeNativeMethods.tagQACONTAINER pQaContainer, 6173UnsafeNativeMethods.tagQACONTROL pQaControl); 6235UnsafeNativeMethods.IStream pstm); 6240UnsafeNativeMethods.IStream pstm, 6265UnsafeNativeMethods.IStream pstm); 6357UnsafeNativeMethods.IEnumVariant[] ppenum); 6471UnsafeNativeMethods.IStream pstm, 6510UnsafeNativeMethods.IStream Clone(); 6790UnsafeNativeMethods.IStream CreateStream( 6801UnsafeNativeMethods.IStream OpenStream( 6812UnsafeNativeMethods.IStorage CreateStorage( 6823UnsafeNativeMethods.IStorage OpenStorage( 6844UnsafeNativeMethods.IStorage stgDest); 6851UnsafeNativeMethods.IStorage stgDest, 7043UnsafeNativeMethods.ITypeComp[] ppTComp); 7150UnsafeNativeMethods.ITypeLib[] ppTLib, 7174UnsafeNativeMethods.ITypeInfo[] ppTInfo, 7182UnsafeNativeMethods.ITypeComp[] ppTypeComp, 7193UnsafeNativeMethods.ITypeInfo[] ppTInfo); 7209UnsafeNativeMethods.ITypeInfo[] ppTInfo); 7223UnsafeNativeMethods.ITypeInfo[] ppTInfo); 7234UnsafeNativeMethods.ITypeComp[] ppTComp); 7269UnsafeNativeMethods.ITypeInfo[] ppTInfo, 7335public UnsafeNativeMethods.IOleClientSite pClientSite; 7340public UnsafeNativeMethods.IPropertyNotifySink pPropertyNotifySink; 7627public static extern int SHGetMalloc([Out, MarshalAs(UnmanagedType.LPArray)] UnsafeNativeMethods.IMalloc[] ppMalloc); 8008out UnsafeNativeMethods.IFont ppfont); 8013UnsafeNativeMethods.IFont pfontOther); 8082UnsafeNativeMethods.IStream pstm, 9009int result = UnsafeNativeMethods.WldpIsDynamicCodePolicyEnabled(out isEnabled);
winforms\Managed\System\WinForms\UpDownBase.cs (5)
966if (UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle && !ValidationCancelled) { 1165UnsafeNativeMethods.MapWindowPoints(new HandleRef(child, child.Handle), new HandleRef(this, Handle), point, 1); 1225UnsafeNativeMethods.SetFocus(new HandleRef(TextBox, TextBox.Handle)); 1311if (!parent.ValidationCancelled && UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) { 1657if (!parent.ValidationCancelled && UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\UserControl.cs (1)
292IntPtr hwndFocus = UnsafeNativeMethods.GetFocus();
winforms\Managed\System\WinForms\WebBrowser.cs (46)
44private UnsafeNativeMethods.IWebBrowser2 axIWebBrowser2; 260UnsafeNativeMethods.IHTMLDocument2 iHTMLDocument2 = null; 262iHTMLDocument2 = objDoc as UnsafeNativeMethods.IHTMLDocument2; 267UnsafeNativeMethods.IHTMLLocation iHTMLLocation = iHTMLDocument2.GetLocation(); 274return new HtmlDocument (ShimManager, iHTMLDocument2 as UnsafeNativeMethods.IHTMLDocument); 298UnsafeNativeMethods.IPersistStreamInit psi = htmlDocument.DomDocument as UnsafeNativeMethods.IPersistStreamInit; 305UnsafeNativeMethods.IStream iStream = (UnsafeNativeMethods.IStream)new UnsafeNativeMethods.ComStreamFromDataStream(memoryStream); 376UnsafeNativeMethods.IHTMLDocument2 htmlDocument2 = htmlDocument.DomDocument as UnsafeNativeMethods.IHTMLDocument2; 403UnsafeNativeMethods.IHTMLDocument2 htmlDocument2 = htmlDocument.DomDocument as UnsafeNativeMethods.IHTMLDocument2; 1201IntPtr hwndFocus = UnsafeNativeMethods.GetFocus(); 1245this.axIWebBrowser2 = (UnsafeNativeMethods.IWebBrowser2)nativeActiveXObject; 1280typeof(UnsafeNativeMethods.DWebBrowserEvents2)); 1662private UnsafeNativeMethods.IWebBrowser2 AxIWebBrowser2 { 1699protected class WebBrowserSite : WebBrowserSiteBase, UnsafeNativeMethods.IDocHostUIHandler 1717int UnsafeNativeMethods.IDocHostUIHandler.ShowContextMenu(int dwID, NativeMethods.POINT pt, object pcmdtReserved, object pdispReserved) { 1739int UnsafeNativeMethods.IDocHostUIHandler.GetHostInfo(NativeMethods.DOCHOSTUIINFO info) { 1765int UnsafeNativeMethods.IDocHostUIHandler.EnableModeless(bool fEnable) { 1771int UnsafeNativeMethods.IDocHostUIHandler.ShowUI(int dwID, UnsafeNativeMethods.IOleInPlaceActiveObject activeObject, 1772NativeMethods.IOleCommandTarget commandTarget, UnsafeNativeMethods.IOleInPlaceFrame frame, 1773UnsafeNativeMethods.IOleInPlaceUIWindow doc) { 1779int UnsafeNativeMethods.IDocHostUIHandler.HideUI() { 1785int UnsafeNativeMethods.IDocHostUIHandler.UpdateUI() { 1791int UnsafeNativeMethods.IDocHostUIHandler.OnDocWindowActivate(bool fActivate) { 1797int UnsafeNativeMethods.IDocHostUIHandler.OnFrameWindowActivate(bool fActivate) { 1803int UnsafeNativeMethods.IDocHostUIHandler.ResizeBorder(NativeMethods.COMRECT rect, UnsafeNativeMethods.IOleInPlaceUIWindow doc, bool fFrameWindow) { 1809int UnsafeNativeMethods.IDocHostUIHandler.GetOptionKeyPath(string[] pbstrKey, int dw) { 1815int UnsafeNativeMethods.IDocHostUIHandler.GetDropTarget(UnsafeNativeMethods.IOleDropTarget pDropTarget, out UnsafeNativeMethods.IOleDropTarget ppDropTarget) { 1825int UnsafeNativeMethods.IDocHostUIHandler.GetExternal(out object ppDispatch) { 1834int UnsafeNativeMethods.IDocHostUIHandler.TranslateAccelerator(ref NativeMethods.MSG msg, ref Guid group, int nCmdID) { 1856int UnsafeNativeMethods.IDocHostUIHandler.TranslateUrl(int dwTranslate, string strUrlIn, out string pstrUrlOut) { 1866int UnsafeNativeMethods.IDocHostUIHandler.FilterDataObject(IComDataObject pDO, out IComDataObject ppDORet) 1890private class WebBrowserEvent : StandardOleMarshalObject, UnsafeNativeMethods.DWebBrowserEvents2{ 1958UnsafeNativeMethods.IPersistStreamInit psi = htmlDocument.DomDocument as UnsafeNativeMethods.IPersistStreamInit; 1960UnsafeNativeMethods.IStream iStream = (UnsafeNativeMethods.IStream)new UnsafeNativeMethods.ComStreamFromDataStream(
winforms\Managed\System\WinForms\WebBrowserBase.cs (15)
72private UnsafeNativeMethods.IOleObject axOleObject; 73private UnsafeNativeMethods.IOleInPlaceObject axOleInPlaceObject; 74private UnsafeNativeMethods.IOleInPlaceActiveObject axOleInPlaceActiveObject; 75private UnsafeNativeMethods.IOleControl axOleControl; 398UnsafeNativeMethods.GetCursorPos(p); 837UnsafeNativeMethods.SetParent(new HandleRef(null, hwnd), new HandleRef(this, this.Handle)); 914this.activeXInstance = UnsafeNativeMethods.CoCreateInstance(ref clsid, null, NativeMethods.CLSCTX_INPROC_SERVER, ref NativeMethods.ActiveX.IID_IUnknown); 1085this.axOleObject = (UnsafeNativeMethods.IOleObject)activeXInstance; 1086this.axOleInPlaceObject = (UnsafeNativeMethods.IOleInPlaceObject)activeXInstance; 1087this.axOleInPlaceActiveObject = (UnsafeNativeMethods.IOleInPlaceActiveObject)activeXInstance; 1088this.axOleControl = (UnsafeNativeMethods.IOleControl)activeXInstance; 1186((UnsafeNativeMethods.IOleControlSite)this.ActiveXSite).TransformCoords(phm, pcont, NativeMethods.ActiveX.XFORMCOORDS_SIZE | NativeMethods.ActiveX.XFORMCOORDS_HIMETRICTOCONTAINER); 1196((UnsafeNativeMethods.IOleControlSite)this.ActiveXSite).TransformCoords(phm, pcont, NativeMethods.ActiveX.XFORMCOORDS_SIZE | NativeMethods.ActiveX.XFORMCOORDS_CONTAINERTOHIMETRIC); 1227cc = Control.FromHandle(UnsafeNativeMethods.GetParent(new HandleRef(this, Handle))) as ContainerControl; 1315internal UnsafeNativeMethods.IOleInPlaceObject AXInPlaceObject {
winforms\Managed\System\WinForms\WebBrowserContainer.cs (22)
21internal class WebBrowserContainer : UnsafeNativeMethods.IOleContainer, UnsafeNativeMethods.IOleInPlaceFrame { 42int UnsafeNativeMethods.IOleContainer.ParseDisplayName(Object pbc, string pszDisplayName, int[] pchEaten, Object[] ppmkOut) { 48int UnsafeNativeMethods.IOleContainer.EnumObjects(int grfFlags, out UnsafeNativeMethods.IEnumUnknown ppenum) { 65int UnsafeNativeMethods.IOleContainer.LockContainer(bool fLock) { 72IntPtr UnsafeNativeMethods.IOleInPlaceFrame.GetWindow() { 76int UnsafeNativeMethods.IOleInPlaceFrame.ContextSensitiveHelp(int fEnterMode) { 80int UnsafeNativeMethods.IOleInPlaceFrame.GetBorder(NativeMethods.COMRECT lprectBorder) { 84int UnsafeNativeMethods.IOleInPlaceFrame.RequestBorderSpace(NativeMethods.COMRECT pborderwidths) { 88int UnsafeNativeMethods.IOleInPlaceFrame.SetBorderSpace(NativeMethods.COMRECT pborderwidths) { 92int UnsafeNativeMethods.IOleInPlaceFrame.SetActiveObject(UnsafeNativeMethods.IOleInPlaceActiveObject pActiveObject, string pszObjName) { 101UnsafeNativeMethods.IOleObject oleObject = pActiveObject as UnsafeNativeMethods.IOleObject; 103UnsafeNativeMethods.IOleClientSite clientSite = null; 137int UnsafeNativeMethods.IOleInPlaceFrame.InsertMenus(IntPtr hmenuShared, NativeMethods.tagOleMenuGroupWidths lpMenuWidths) { 141int UnsafeNativeMethods.IOleInPlaceFrame.SetMenu(IntPtr hmenuShared, IntPtr holemenu, IntPtr hwndActiveObject) { 145int UnsafeNativeMethods.IOleInPlaceFrame.RemoveMenus(IntPtr hmenuShared) { 149int UnsafeNativeMethods.IOleInPlaceFrame.SetStatusText(string pszStatusText) { 153int UnsafeNativeMethods.IOleInPlaceFrame.EnableModeless(bool fEnable) { 157int UnsafeNativeMethods.IOleInPlaceFrame.TranslateAccelerator(ref NativeMethods.MSG lpmsg, short wID) {
winforms\Managed\System\WinForms\WebBrowserHelper.cs (7)
90private static Guid ifont_Guid = typeof(UnsafeNativeMethods.IFont).GUID; 117IntPtr hDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 119logPixelsX = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), NativeMethods.LOGPIXELSX); 120UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hDC)); 135IntPtr hDC = UnsafeNativeMethods.GetDC(NativeMethods.NullHandleRef); 137logPixelsY = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, hDC), NativeMethods.LOGPIXELSY); 138UnsafeNativeMethods.ReleaseDC(NativeMethods.NullHandleRef, new HandleRef(null, hDC));
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (41)
50: UnsafeNativeMethods.IOleControlSite, UnsafeNativeMethods.IOleClientSite, UnsafeNativeMethods.IOleInPlaceSite, UnsafeNativeMethods.ISimpleFrameSite, UnsafeNativeMethods.IPropertyNotifySink, IDisposable { 112int UnsafeNativeMethods.IOleControlSite.OnControlInfoChanged() { 118int UnsafeNativeMethods.IOleControlSite.LockInPlaceActive(int fLock) { 124int UnsafeNativeMethods.IOleControlSite.GetExtendedControl(out object ppDisp) { 131int UnsafeNativeMethods.IOleControlSite.TransformCoords(NativeMethods._POINTL pPtlHimetric, NativeMethods.tagPOINTF pPtfContainer, int dwFlags) { 167int UnsafeNativeMethods.IOleControlSite.TranslateAccelerator(ref NativeMethods.MSG pMsg, int grfModifiers) { 188int UnsafeNativeMethods.IOleControlSite.OnFocus(int fGotFocus) { 194int UnsafeNativeMethods.IOleControlSite.ShowPropertyFrame() { 203int UnsafeNativeMethods.IOleClientSite.SaveObject() { 209int UnsafeNativeMethods.IOleClientSite.GetMoniker(int dwAssign, int dwWhichMoniker, out Object moniker) { 216int UnsafeNativeMethods.IOleClientSite.GetContainer(out UnsafeNativeMethods.IOleContainer container) { 224int UnsafeNativeMethods.IOleClientSite.ShowObject() { 235else if (this.Host.AXInPlaceObject is UnsafeNativeMethods.IOleInPlaceObjectWindowless) { 244int UnsafeNativeMethods.IOleClientSite.OnShowWindow(int fShow) { 250int UnsafeNativeMethods.IOleClientSite.RequestNewObjectLayout() { 259IntPtr UnsafeNativeMethods.IOleInPlaceSite.GetWindow() { 262return UnsafeNativeMethods.GetParent(new HandleRef(Host, Host.Handle)); 273int UnsafeNativeMethods.IOleInPlaceSite.ContextSensitiveHelp(int fEnterMode) { 279int UnsafeNativeMethods.IOleInPlaceSite.CanInPlaceActivate() { 285int UnsafeNativeMethods.IOleInPlaceSite.OnInPlaceActivate() { 293int UnsafeNativeMethods.IOleInPlaceSite.OnUIActivate() { 301int UnsafeNativeMethods.IOleInPlaceSite.GetWindowContext(out UnsafeNativeMethods.IOleInPlaceFrame ppFrame, out UnsafeNativeMethods.IOleInPlaceUIWindow ppDoc, 324int UnsafeNativeMethods.IOleInPlaceSite.Scroll(NativeMethods.tagSIZE scrollExtant) { 330int UnsafeNativeMethods.IOleInPlaceSite.OnUIDeactivate(int fUndoable) { 340int UnsafeNativeMethods.IOleInPlaceSite.OnInPlaceDeactivate() { 342((UnsafeNativeMethods.IOleInPlaceSite)this).OnUIDeactivate(0); 352int UnsafeNativeMethods.IOleInPlaceSite.DiscardUndoState() { 358int UnsafeNativeMethods.IOleInPlaceSite.DeactivateAndUndo() { 364int UnsafeNativeMethods.IOleInPlaceSite.OnPosRectChange(NativeMethods.COMRECT lprcPosRect) { 373int UnsafeNativeMethods.ISimpleFrameSite.PreMessageFilter(IntPtr hwnd, int msg, IntPtr wp, IntPtr lp, ref IntPtr plResult, ref int pdwCookie) { 379int UnsafeNativeMethods.ISimpleFrameSite.PostMessageFilter(IntPtr hwnd, int msg, IntPtr wp, IntPtr lp, ref IntPtr plResult, int dwCookie) { 388void UnsafeNativeMethods.IPropertyNotifySink.OnChanged(int dispid) { 412int UnsafeNativeMethods.IPropertyNotifySink.OnRequestEdit(int dispid) { 472connectionPoint = new AxHost.ConnectionPointCookie(nativeObject, this, typeof(UnsafeNativeMethods.IPropertyNotifySink));
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
288IntPtr rootHwnd = UnsafeNativeMethods.GetAncestor(new HandleRef(hwnd, hwnd.Handle), NativeMethods.GA_ROOT); 331UnsafeNativeMethods.MapWindowPoints(new HandleRef(fromControl, fromControl.Handle), new HandleRef(toControl, toControl.Handle), pt, 1);