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