49 references to NULL
UIAutomationClient (49)
MS\Internal\Automation\HwndProxyElementProvider.cs (45)
56Debug.Assert( hwnd != NativeMethods.HWND.NULL ); 58if( hwnd == NativeMethods.HWND.NULL ) 553if ( hwndOwner != NativeMethods.HWND.NULL ) 658if (!MapWindowPoints(NativeMethods.HWND.NULL, hwndParent, ref point, 1)) 713if (!Misc.SetWindowPos(_hwnd, NativeMethods.HWND.NULL, (int)x, (int)y, 0, 0, UnsafeNativeMethods.SWP_NOSIZE | UnsafeNativeMethods.SWP_NOZORDER | UnsafeNativeMethods.SWP_NOACTIVATE)) 1025if( hwnd == NativeMethods.HWND.NULL ) 1156if( hwnd == NativeMethods.HWND.NULL ) 1164for( ; hwnd != NativeMethods.HWND.NULL ; hwnd = Misc.GetWindow( hwnd, dir ) ) 1188return NativeMethods.HWND.NULL; 1221if (hwndOwner != NativeMethods.HWND.NULL) 1243if (hwndOwner != NativeMethods.HWND.NULL) 1247if (hwnd == NativeMethods.HWND.NULL) 1251hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1260NativeMethods.HWND next = ScanVisible(_hwnd, ScanNext, ExcludeSelf, NativeMethods.HWND.NULL); 1276if (hwndOwner != NativeMethods.HWND.NULL) 1287NativeMethods.HWND prev = ScanVisible(_hwnd, ScanPrev, ExcludeSelf, NativeMethods.HWND.NULL); 1288if (prev == NativeMethods.HWND.NULL) 1314if (hwnd == NativeMethods.HWND.NULL) 1318hwnd = ScanVisible(hwnd, ScanNext, IncludeSelf, NativeMethods.HWND.NULL); 1340if (hwnd != NativeMethods.HWND.NULL) 1343hwnd = ScanVisible(hwnd, ScanPrev, IncludeSelf, NativeMethods.HWND.NULL); 1346if (hwnd == NativeMethods.HWND.NULL) 1421hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0; 1459if( hwnd == NativeMethods.HWND.NULL ) 1519if( hwndOwner == NativeMethods.HWND.NULL ) 1521return NativeMethods.HWND.NULL; 1528return NativeMethods.HWND.NULL; 1668NativeMethods.HWND child = NativeMethods.HWND.NULL; 1675if (child == NativeMethods.HWND.NULL) 1727NativeMethods.HWND hBestFitTransparent = NativeMethods.HWND.NULL; 1734return NativeMethods.HWND.NULL; 1741hChild != NativeMethods.HWND.NULL && --SanityLoopCount > 0 ; 1841if( hBestFitTransparent == NativeMethods.HWND.NULL ) 1874!MapWindowPoints(hChild, NativeMethods.HWND.NULL, ref rcClient, 2) || 1889return NativeMethods.HWND.NULL; 1894if( hBestFitTransparent != NativeMethods.HWND.NULL ) 1905while (hwnd != NativeMethods.HWND.NULL) 1925if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1926(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 1950if ((IsProgmanWindow(hWndFrom) && hWndTo == NativeMethods.HWND.NULL) || 1951(hWndFrom == NativeMethods.HWND.NULL && IsProgmanWindow(hWndTo))) 2026if( Misc.RegisterHotKey( NativeMethods.HWND.NULL, atom, 0, vk ) ) 2069if (Misc.GetMessage(ref msg, NativeMethods.HWND.NULL, 0, 0) == 0) 2091Misc.UnregisterHotKey(NativeMethods.HWND.NULL, atom); 2107return NativeMethods.HWND.NULL;
MS\Internal\Automation\Misc.cs (1)
424if (result == NativeMethods.HWND.NULL)
MS\Internal\Automation\ProxyManager.cs (2)
297if (hwndParent != NativeMethods.HWND.NULL) 498if (hwnd == NativeMethods.HWND.NULL)
MS\Internal\Automation\QueueProcessor.cs (1)
134while (UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.HWND.NULL, 0, 0, UnsafeNativeMethods.PM_REMOVE))