49 references to NULL
UIAutomationClient (49)
MS\Internal\Automation\HwndProxyElementProvider.cs (45)
48Debug.Assert( hwnd != NativeMethods.HWND.NULL ); 50if( hwnd == NativeMethods.HWND.NULL ) 545if ( hwndOwner != NativeMethods.HWND.NULL ) 651if (!MapWindowPoints(NativeMethods.HWND.NULL, hwndParent, ref point, 1)) 706if (!Misc.SetWindowPos(_hwnd, NativeMethods.HWND.NULL, (int)x, (int)y, 0, 0, UnsafeNativeMethods.SWP_NOSIZE | UnsafeNativeMethods.SWP_NOZORDER | UnsafeNativeMethods.SWP_NOACTIVATE)) 1017if( hwnd == NativeMethods.HWND.NULL ) 1148if( hwnd == NativeMethods.HWND.NULL ) 1156for( ; hwnd != NativeMethods.HWND.NULL ; hwnd = Misc.GetWindow( hwnd, dir ) ) 1180return NativeMethods.HWND.NULL; 1213if (hwndOwner != NativeMethods.HWND.NULL) 1235if (hwndOwner != NativeMethods.HWND.NULL) 1239if (hwnd == NativeMethods.HWND.NULL) 1243hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1252NativeMethods.HWND next = ScanVisible(_hwnd, ScanNext, ExcludeSelf, NativeMethods.HWND.NULL); 1268if (hwndOwner != NativeMethods.HWND.NULL) 1279NativeMethods.HWND prev = ScanVisible(_hwnd, ScanPrev, ExcludeSelf, NativeMethods.HWND.NULL); 1280if (prev == NativeMethods.HWND.NULL) 1306if (hwnd == NativeMethods.HWND.NULL) 1310hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1332if (hwnd != NativeMethods.HWND.NULL) 1335hwnd = ScanVisible(hwnd, ScanPrev, IncludeSelf, NativeMethods.HWND.NULL); 1338if (hwnd == NativeMethods.HWND.NULL) 1413hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0; 1451if( hwnd == NativeMethods.HWND.NULL ) 1525if( hwndOwner == NativeMethods.HWND.NULL ) 1527return NativeMethods.HWND.NULL; 1534return NativeMethods.HWND.NULL; 1674NativeMethods.HWND child = NativeMethods.HWND.NULL; 1681if (child == NativeMethods.HWND.NULL) 1733NativeMethods.HWND hBestFitTransparent = NativeMethods.HWND.NULL; 1740return NativeMethods.HWND.NULL; 1747hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0 ; 1847if( hBestFitTransparent == NativeMethods.HWND.NULL ) 1880!MapWindowPoints(hChild, NativeMethods.HWND.NULL, ref rcClient, 2) || 1895return NativeMethods.HWND.NULL; 1900if( hBestFitTransparent != NativeMethods.HWND.NULL ) 1911while (hwnd != NativeMethods.HWND.NULL) 1931if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1932(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 1956if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1957(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 2032if( Misc.RegisterHotKey( NativeMethods.HWND.NULL, atom, 0, vk ) ) 2075if (Misc.GetMessage(ref msg, NativeMethods.HWND.NULL, 0, 0) == 0) 2097Misc.UnregisterHotKey(NativeMethods.HWND.NULL, atom); 2113return NativeMethods.HWND.NULL;
MS\Internal\Automation\Misc.cs (1)
397if (result == NativeMethods.HWND.NULL)
MS\Internal\Automation\ProxyManager.cs (2)
288if (hwndParent != NativeMethods.HWND.NULL) 489if (hwnd == NativeMethods.HWND.NULL)
MS\Internal\Automation\QueueProcessor.cs (1)
125while (UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.HWND.NULL, 0, 0, UnsafeNativeMethods.PM_REMOVE))