17 references to GWL_WNDPROC
System.Windows.Forms (17)
winforms\Managed\System\WinForms\AxHost.cs (4)
1615
IntPtr currentWndproc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
);
1626
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
, new HandleRef(this, currentWndproc));
3561
IntPtr wndProc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
);
3591
wndprocAddr = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_WNDPROC
);
winforms\Managed\System\WinForms\CommonDialog.cs (3)
304
defOwnerWndProc = UnsafeNativeMethods.SetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.
GWL_WNDPROC
, ownerProc);
319
IntPtr currentSubClass = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.
GWL_WNDPROC
);
321
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.
GWL_WNDPROC
, new HandleRef(this, defOwnerWndProc));
winforms\Managed\System\WinForms\NativeWindow.cs (10)
613
defWindowProc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
);
628
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
, windowProc);
629
windowProcPtr = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
);
1086
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.
GWL_WNDPROC
, new HandleRef(null, userDefWindowProc));
1365
IntPtr currentWinPrc = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_WNDPROC
);
1377
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.
GWL_WNDPROC
, new HandleRef(this, defWindowProc));
1391
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.
GWL_WNDPROC
, new HandleRef(this, userDefWindowProc));
1402
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.
GWL_WNDPROC
, previousWindow.windowProc);
1417
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.
GWL_WNDPROC
, new HandleRef(this, userDefWindowProc));
1492
UnsafeNativeMethods.SetWindowLong(new HandleRef(null, hWnd), NativeMethods.
GWL_WNDPROC
, new HandleRef(this, defWindowProc));