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