49 references to NULL
UIAutomationClient (49)
MS\Internal\Automation\HwndProxyElementProvider.cs (45)
40Debug.Assert( hwnd != NativeMethods.HWND.NULL ); 42if( hwnd == NativeMethods.HWND.NULL ) 532if ( hwndOwner != NativeMethods.HWND.NULL ) 635if (!MapWindowPoints(NativeMethods.HWND.NULL, hwndParent, ref point, 1)) 690if (!Misc.SetWindowPos(_hwnd, NativeMethods.HWND.NULL, (int)x, (int)y, 0, 0, UnsafeNativeMethods.SWP_NOSIZE | UnsafeNativeMethods.SWP_NOZORDER | UnsafeNativeMethods.SWP_NOACTIVATE)) 1005if( hwnd == NativeMethods.HWND.NULL ) 1136if( hwnd == NativeMethods.HWND.NULL ) 1144for( ; hwnd != NativeMethods.HWND.NULL ; hwnd = Misc.GetWindow( hwnd, dir ) ) 1168return NativeMethods.HWND.NULL; 1201if (hwndOwner != NativeMethods.HWND.NULL) 1223if (hwndOwner != NativeMethods.HWND.NULL) 1227if (hwnd == NativeMethods.HWND.NULL) 1231hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1240NativeMethods.HWND next = ScanVisible(_hwnd, ScanNext, ExcludeSelf, NativeMethods.HWND.NULL); 1256if (hwndOwner != NativeMethods.HWND.NULL) 1267NativeMethods.HWND prev = ScanVisible(_hwnd, ScanPrev, ExcludeSelf, NativeMethods.HWND.NULL); 1268if (prev == NativeMethods.HWND.NULL) 1294if (hwnd == NativeMethods.HWND.NULL) 1298hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1320if (hwnd != NativeMethods.HWND.NULL) 1323hwnd = ScanVisible(hwnd, ScanPrev, IncludeSelf, NativeMethods.HWND.NULL); 1326if (hwnd == NativeMethods.HWND.NULL) 1401hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0; 1436if( hwnd == NativeMethods.HWND.NULL ) 1510if( hwndOwner == NativeMethods.HWND.NULL ) 1512return NativeMethods.HWND.NULL; 1519return NativeMethods.HWND.NULL; 1657NativeMethods.HWND child = NativeMethods.HWND.NULL; 1664if (child == NativeMethods.HWND.NULL) 1716NativeMethods.HWND hBestFitTransparent = NativeMethods.HWND.NULL; 1723return NativeMethods.HWND.NULL; 1730hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0 ; 1830if( hBestFitTransparent == NativeMethods.HWND.NULL ) 1863!MapWindowPoints(hChild, NativeMethods.HWND.NULL, ref rcClient, 2) || 1878return NativeMethods.HWND.NULL; 1883if( hBestFitTransparent != NativeMethods.HWND.NULL ) 1894while (hwnd != NativeMethods.HWND.NULL) 1914if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1915(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 1939if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1940(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 2015if( Misc.RegisterHotKey( NativeMethods.HWND.NULL, atom, 0, vk ) ) 2058if (Misc.GetMessage(ref msg, NativeMethods.HWND.NULL, 0, 0) == 0) 2077Misc.UnregisterHotKey(NativeMethods.HWND.NULL, atom); 2093return NativeMethods.HWND.NULL;
MS\Internal\Automation\Misc.cs (1)
388if (result == NativeMethods.HWND.NULL)
MS\Internal\Automation\ProxyManager.cs (2)
281if (hwndParent != NativeMethods.HWND.NULL) 484if (hwnd == NativeMethods.HWND.NULL)
MS\Internal\Automation\QueueProcessor.cs (1)
120while (UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.HWND.NULL, 0, 0, UnsafeNativeMethods.PM_REMOVE))