120 references to BOOL
System.Private.Windows.Core (42)
Windows\Win32\Foundation\BOOL.cs (4)
10
public static
BOOL
TRUE { get; } = new(true);
12
public static
BOOL
FALSE { get; } = new(false);
14
public static bool operator true(
BOOL
value) => value.Value != 0;
16
public static bool operator false(
BOOL
value) => value.Value == 0;
Windows\Win32\Foundation\LPARAM.cs (1)
13
public static explicit operator LPARAM(
BOOL
value) => new((nint)value);
Windows\Win32\Foundation\LRESULT.cs (3)
16
public static explicit operator
BOOL
(LRESULT value) => (
BOOL
)value.Value;
17
public static explicit operator LRESULT(
BOOL
value) => new((nint)value);
Windows\Win32\Foundation\WPARAM.cs (3)
21
public static explicit operator
BOOL
(WPARAM value) => (
BOOL
)(nint)value.Value;
22
public static explicit operator WPARAM(
BOOL
value) => new((nuint)(nint)value);
Windows\Win32\Graphics\Gdi\RegionScope.cs (1)
72
BOOL
isInfinite;
Windows\Win32\Graphics\GdiPlus\GdiplusStartupInputEx.cs (2)
16
result.Base.SuppressBackgroundThread =
BOOL
.FALSE;
17
result.Base.SuppressExternalCodecs =
BOOL
.FALSE;
Windows\Win32\PInvoke.GetWindowRect.cs (2)
9
public static
BOOL
GetWindowRect<T>(T hWnd, out RECT lpRect) where T : IHandle<HWND>
11
BOOL
result = GetWindowRect(hWnd.Handle, out lpRect);
Windows\Win32\PInvokeCore.BitBlt.cs (4)
9
public static
BOOL
BitBlt<T>(
20
BOOL
result = BitBlt(
35
public static
BOOL
BitBlt<T>(
46
BOOL
result = BitBlt(
Windows\Win32\PInvokeCore.DrawIcon.cs (2)
8
public static
BOOL
DrawIcon<T>(HDC hDC, int x, int y, T hIcon)
15
BOOL
result = DrawIconEx(hDC, x, y, hIcon, 0, 0, DI_FLAGS.DI_NORMAL | DI_FLAGS.DI_DEFAULTSIZE);
Windows\Win32\PInvokeCore.DrawIconEx.cs (2)
9
public static
BOOL
DrawIconEx<T>(
25
BOOL
result = DrawIconEx(hDC, xLeft, yTop, hIcon.Handle, cxWidth, cyWidth, 0, HBRUSH.Null, diFlags);
Windows\Win32\PInvokeCore.EnumChildWindows.cs (3)
11
public delegate
BOOL
EnumChildWindowsCallback(HWND hWnd);
13
public static unsafe
BOOL
EnumChildWindows<T>(T hwndParent, EnumChildWindowsCallback callback)
32
private static
BOOL
EnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (2)
13
public static
BOOL
EnumDisplayMonitors(EnumDisplayMonitorsCallback callBack)
27
private static
BOOL
EnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (3)
11
public delegate
BOOL
EnumThreadWindowsCallback(HWND hWnd);
16
public static unsafe
BOOL
EnumCurrentThreadWindows(EnumThreadWindowsCallback callback)
33
private static
BOOL
HandleEnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumWindows.cs (3)
11
public delegate
BOOL
EnumWindowsCallback(HWND hWnd);
13
public static unsafe
BOOL
EnumWindows(EnumWindowsCallback callback)
30
private static
BOOL
EnumWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.GetClientRect.cs (2)
9
public static
BOOL
GetClientRect<T>(T hWnd, out RECT lpRect)
12
BOOL
result = GetClientRect(hWnd.Handle, out lpRect);
Windows\Win32\PInvokeCore.PeekMessage.cs (2)
9
public static unsafe
BOOL
PeekMessage<T>(
17
BOOL
result = PeekMessage(lpMsg, hWnd.Handle, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
Windows\Win32\PInvokeCore.PostMessage.cs (2)
9
public static
BOOL
PostMessage<T>(
16
BOOL
result = PostMessage(hWnd.Handle, (uint)Msg, wParam, lParam);
Windows\Win32\PInvokeCore.SystemParametersInfo.cs (1)
31
BOOL
nativeBool = value;
System.Windows.Forms (20)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2559
/// <inheritdoc cref="IOleWindow.ContextSensitiveHelp(
BOOL
)"/>
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (5)
1318
/// <inheritdoc cref="IOleInPlaceActiveObject.OnDocWindowActivate(
BOOL
)"/>
1465
/// <inheritdoc cref="IPersistStorage.Save(IStorage*,
BOOL
)"/>
1486
/// <inheritdoc cref="IPersistStreamInit.Save(IStream*,
BOOL
)"/>
1498
/// <inheritdoc cref="IPersistPropertyBag.Save(IPropertyBag*,
BOOL
,
BOOL
)"/>
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (13)
75
/// <inheritdoc cref="IOleControl.FreezeEvents(
BOOL
)"/>
87
/// <inheritdoc cref="IOleWindow.ContextSensitiveHelp(
BOOL
)"/>
95
/// <inheritdoc cref="IOleInPlaceActiveObject.OnFrameWindowActivate(
BOOL
)"/>
102
/// <inheritdoc cref="IOleInPlaceActiveObject.OnDocWindowActivate(
BOOL
)"/>
109
/// <inheritdoc cref="IOleInPlaceActiveObject.ResizeBorder(RECT*, IOleInPlaceUIWindow*,
BOOL
)"/>
113
/// <inheritdoc cref="IOleInPlaceActiveObject.EnableModeless(
BOOL
)"/>
119
/// <inheritdoc cref="IOleWindow.ContextSensitiveHelp(
BOOL
)"/>
189
/// <inheritdoc cref="IOleObject.InitFromData(ComIDataObject*,
BOOL
, uint)"/>
350
/// <inheritdoc cref="IOleWindow.ContextSensitiveHelp(
BOOL
)"/>
387
/// <inheritdoc cref="IPersistPropertyBag.Save(IPropertyBag*,
BOOL
,
BOOL
)"/>
423
/// <inheritdoc cref="IPersistStorage.Save(IStorage*,
BOOL
)"/>
467
/// <inheritdoc cref="IPersistStreamInit.Save(IStream*,
BOOL
)"/>
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (1)
73
/// <inheritdoc cref="IRichEditOleCallback.QueryAcceptData(Com.IDataObject*, ushort*, RECO_FLAGS,
BOOL
, HGLOBAL)"/>
System.Windows.Forms.Primitives (58)
Microsoft\Office\IMsoComponent.cs (15)
160
/// <inheritdoc cref="Interface.OnEnterState(msocstate,
BOOL
)"/>
167
/// <inheritdoc cref="Interface.OnAppActivate(
BOOL
, uint)"/>
181
/// <inheritdoc cref="Interface.OnActivationChange(IMsoComponent*,
BOOL
, MSOCRINFO*,
BOOL
, nint, uint)"/>
204
/// <inheritdoc cref="Interface.FQueryTerminate(
BOOL
)"/>
261
/// <returns><see cref="
BOOL
.TRUE"/></returns>
275
/// Return <see cref="
BOOL
.TRUE"/> if the message is consumed,
276
/// <see cref="
BOOL
.FALSE"/> otherwise.
315
/// If <see cref="
BOOL
.TRUE"/>, the host app is being activated and <paramref name="dwOtherThreadID"/>
318
/// If <see cref="
BOOL
.FALSE"/>, the host app is being deactivated and <paramref name="dwOtherThreadID"/>
414
/// <see cref="
BOOL
.TRUE"/> if more time is needed to perform the idle time tasks,
415
/// <see cref="
BOOL
.FALSE"/> otherwise.
443
/// <see cref="
BOOL
.TRUE"/> if the message loop should continue, <see cref="
BOOL
.FALSE"/> otherwise.
446
/// If <see cref="
BOOL
.FALSE"/> is returned, the component manager terminates the
Microsoft\Office\IMsoComponentManager.cs (28)
105
/// <inheritdoc cref="Interface.FSetTrackingComponent(nuint,
BOOL
)"/>
242
/// <returns><see cref="
BOOL
.TRUE"/></returns>
258
/// <returns><see cref="
BOOL
.TRUE"/> if successful.</returns>
269
/// <returns><see cref="
BOOL
.TRUE"/> if successful.</returns>
284
/// <returns><see cref="
BOOL
.TRUE"/> if successful.</returns>
302
/// <see cref="
BOOL
.FALSE"/> is returned and SetLastError is set to msoerrACompIsXActive
306
/// <returns><see cref="
BOOL
.TRUE"/> if successful.</returns>
331
/// <see cref="
BOOL
.TRUE"/> to begin tracking operation. <see cref="
BOOL
.FALSE"/>
334
/// <returns><see cref="
BOOL
.TRUE"/> if successful.</returns>
351
/// <see cref="IMsoComponent.OnEnterState(msocstate,
BOOL
)"/> (see "Comments on State Contexts" in
369
/// <see cref="IOleInPlaceFrame.EnableModeless(
BOOL
)"/> instead.
406
/// via <see cref="IMsoComponent.OnEnterState(msocstate,
BOOL
)"/> (see "Comments on State Contexts", above).
417
/// <see cref="
BOOL
.TRUE"/> if, at the end of this call, the state is still in effect at the root
419
/// otherwise return <see cref="
BOOL
.FALSE"/> (ie. return what <see cref="FInState"/> would return).
434
/// Return <see cref="
BOOL
.TRUE"/> if the state identified by <paramref name="uStateID"/>
435
/// is in effect at the root of this component manager's state context, <see cref="
BOOL
.FALSE"/>
448
/// <see cref="
BOOL
.TRUE"/> if component can continue its idle time processing,
449
/// <see cref="
BOOL
.FALSE"/> if not (in which case component returns from FDoIdle.)
462
/// When <see cref="IMsoComponent.FContinueMessageLoop(msoloop, void*, MSG*)"/> returns <see cref="
BOOL
.FALSE"/>,
468
/// <see cref="
BOOL
.TRUE"/> if component manager terminates loop because component told it
469
/// to (by returning <see cref="
BOOL
.FALSE"/> from <see cref="IMsoComponent.FContinueMessageLoop(msoloop, void*, MSG*)"/>),
470
/// <see cref="
BOOL
.FALSE"/> if it had to terminate the loop for some other reason. In the
491
/// <returns><see cref="
BOOL
.TRUE"/> if successful.</returns>
505
/// <see cref="
BOOL
.TRUE"/> if the parent is returned, <see cref="
BOOL
.FALSE"/>
526
/// <see cref="
BOOL
.TRUE"/> if the component indicated by <paramref name="dwgac"/>
527
/// exists, <see cref="
BOOL
.FALSE"/> if no such component exists or some error occurred.
Microsoft\Office\msocstate.cs (1)
7
/// State IDs passed to <see cref="IMsoComponent.OnEnterState(msocstate,
BOOL
)" /> and
Microsoft\Office\msoloop.cs (1)
9
/// returns <see cref="
BOOL
.FALSE" />
Microsoft\VisualStudio\Shell\IVsPerPropertyBrowsing.cs (5)
55
/// <inheritdoc cref="Interface.HideProperty(int,
BOOL
*)"/>
62
/// <inheritdoc cref="Interface.DisplayChildProperties(int,
BOOL
*)"/>
85
/// <inheritdoc cref="Interface.HasDefaultValue(int,
BOOL
*)"/>
94
/// <inheritdoc cref="Interface.IsPropertyReadOnly(int,
BOOL
*)"/>
111
/// <inheritdoc cref="Interface.CanResetPropertyValue(int,
BOOL
*)"/>
Windows\Win32\PInvoke.DragAcceptFiles.cs (1)
8
/// <inheritdoc cref="DragAcceptFiles(HWND,
BOOL
)"/>
Windows\Win32\PInvoke.EnableWindow.cs (1)
8
/// <inheritdoc cref="EnableWindow(HWND,
BOOL
)"/>
Windows\Win32\PInvoke.GetSystemMenu.cs (1)
8
/// <inheritdoc cref="GetSystemMenu(HWND,
BOOL
)"/>
Windows\Win32\PInvoke.InvalidateRect.cs (1)
8
/// <inheritdoc cref="InvalidateRect(HWND, RECT*,
BOOL
)"/>
Windows\Win32\PInvoke.InvalidateRgn.cs (1)
8
/// <inheritdoc cref="InvalidateRgn(HWND, HRGN,
BOOL
)"/>
Windows\Win32\PInvoke.SetScrollInfo.cs (1)
8
/// <inheritdoc cref="SetScrollInfo(HWND, SCROLLBAR_CONSTANTS, in SCROLLINFO,
BOOL
)"/>
Windows\Win32\PInvoke.SetScrollPos.cs (1)
8
/// <inheritdoc cref="SetScrollPos(HWND, SCROLLBAR_CONSTANTS, int,
BOOL
)"/>
Windows\Win32\PInvoke.SetWindowRgn.cs (1)
8
/// <inheritdoc cref="SetWindowRgn(HWND, HRGN,
BOOL
)"/>