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