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