2 writes to defOwnerWndProc
System.Windows.Forms (2)
winforms\Managed\System\WinForms\CommonDialog.cs (2)
304defOwnerWndProc = UnsafeNativeMethods.SetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.GWL_WNDPROC, ownerProc); 325defOwnerWndProc = IntPtr.Zero;
4 references to defOwnerWndProc
System.Windows.Forms (4)
winforms\Managed\System\WinForms\CommonDialog.cs (4)
224return UnsafeNativeMethods.CallWindowProc(defOwnerWndProc, hWnd, msg, wparam, lparam); 299System.Diagnostics.Debug.Assert(IntPtr.Zero == defOwnerWndProc, "The previous subclass wasn't properly cleaned up"); 320if ( IntPtr.Zero != defOwnerWndProc || currentSubClass != hookedWndProc) { 321UnsafeNativeMethods.SetWindowLong(new HandleRef(this, hwndOwner), NativeMethods.GWL_WNDPROC, new HandleRef(this, defOwnerWndProc));