49 references to NULL
UIAutomationClient (49)
MS\Internal\Automation\HwndProxyElementProvider.cs (45)
39Debug.Assert( hwnd != NativeMethods.HWND.NULL ); 41if( hwnd == NativeMethods.HWND.NULL ) 531if ( hwndOwner != NativeMethods.HWND.NULL ) 634if (!MapWindowPoints(NativeMethods.HWND.NULL, hwndParent, ref point, 1)) 689if (!Misc.SetWindowPos(_hwnd, NativeMethods.HWND.NULL, (int)x, (int)y, 0, 0, UnsafeNativeMethods.SWP_NOSIZE | UnsafeNativeMethods.SWP_NOZORDER | UnsafeNativeMethods.SWP_NOACTIVATE)) 1004if( hwnd == NativeMethods.HWND.NULL ) 1135if( hwnd == NativeMethods.HWND.NULL ) 1143for( ; hwnd != NativeMethods.HWND.NULL ; hwnd = Misc.GetWindow( hwnd, dir ) ) 1167return NativeMethods.HWND.NULL; 1200if (hwndOwner != NativeMethods.HWND.NULL) 1222if (hwndOwner != NativeMethods.HWND.NULL) 1226if (hwnd == NativeMethods.HWND.NULL) 1230hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1239NativeMethods.HWND next = ScanVisible(_hwnd, ScanNext, ExcludeSelf, NativeMethods.HWND.NULL); 1255if (hwndOwner != NativeMethods.HWND.NULL) 1266NativeMethods.HWND prev = ScanVisible(_hwnd, ScanPrev, ExcludeSelf, NativeMethods.HWND.NULL); 1267if (prev == NativeMethods.HWND.NULL) 1293if (hwnd == NativeMethods.HWND.NULL) 1297hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1319if (hwnd != NativeMethods.HWND.NULL) 1322hwnd = ScanVisible(hwnd, ScanPrev, IncludeSelf, NativeMethods.HWND.NULL); 1325if (hwnd == NativeMethods.HWND.NULL) 1400hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0; 1435if( hwnd == NativeMethods.HWND.NULL ) 1509if( hwndOwner == NativeMethods.HWND.NULL ) 1511return NativeMethods.HWND.NULL; 1518return NativeMethods.HWND.NULL; 1656NativeMethods.HWND child = NativeMethods.HWND.NULL; 1663if (child == NativeMethods.HWND.NULL) 1715NativeMethods.HWND hBestFitTransparent = NativeMethods.HWND.NULL; 1722return NativeMethods.HWND.NULL; 1729hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0 ; 1829if( hBestFitTransparent == NativeMethods.HWND.NULL ) 1862!MapWindowPoints(hChild, NativeMethods.HWND.NULL, ref rcClient, 2) || 1877return NativeMethods.HWND.NULL; 1882if( hBestFitTransparent != NativeMethods.HWND.NULL ) 1893while (hwnd != NativeMethods.HWND.NULL) 1913if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1914(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 1938if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1939(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 2014if( Misc.RegisterHotKey( NativeMethods.HWND.NULL, atom, 0, vk ) ) 2057if (Misc.GetMessage(ref msg, NativeMethods.HWND.NULL, 0, 0) == 0) 2076Misc.UnregisterHotKey(NativeMethods.HWND.NULL, atom); 2092return NativeMethods.HWND.NULL;
MS\Internal\Automation\Misc.cs (1)
387if (result == NativeMethods.HWND.NULL)
MS\Internal\Automation\ProxyManager.cs (2)
280if (hwndParent != NativeMethods.HWND.NULL) 483if (hwnd == NativeMethods.HWND.NULL)
MS\Internal\Automation\QueueProcessor.cs (1)
119while (UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.HWND.NULL, 0, 0, UnsafeNativeMethods.PM_REMOVE))