2 writes to userDefWindowProc
System.Windows.Forms (2)
winforms\Managed\System\WinForms\NativeWindow.cs (2)
607
userDefWindowProc
= UnsafeNativeMethods.GetProcAddress(new HandleRef(null, UnsafeNativeMethods.GetModuleHandle("user32.dll")), defproc);
1575
userDefWindowProc
= UnsafeNativeMethods.GetProcAddress(new HandleRef(null, UnsafeNativeMethods.GetModuleHandle("user32.dll")), defproc);
11 references to userDefWindowProc
System.Windows.Forms (11)
winforms\Managed\System\WinForms\NativeWindow.cs (11)
262
return
userDefWindowProc
;
604
if (
userDefWindowProc
== IntPtr.Zero) {
608
if (
userDefWindowProc
== IntPtr.Zero) {
1079
Debug.Assert(
userDefWindowProc
!= IntPtr.Zero, "We have active windows but no user window proc?");
1086
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(null,
userDefWindowProc
));
1087
UnsafeNativeMethods.SetClassLong(href, NativeMethods.GCL_WNDPROC,
userDefWindowProc
);
1391
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(this,
userDefWindowProc
));
1417
UnsafeNativeMethods.SetWindowLong(href, NativeMethods.GWL_WNDPROC, new HandleRef(this,
userDefWindowProc
));
1572
if (
userDefWindowProc
== IntPtr.Zero) {
1576
if (
userDefWindowProc
== IntPtr.Zero) {
1592
defWindowProc =
userDefWindowProc
;