4 instantiations of BOOL
Microsoft.Private.Windows.Core (4)
Windows.Win32.BOOL.g.cs (2)
33 public static explicit operator BOOL(int value) => new BOOL(value); 51 public static implicit operator BOOL(bool value) => new BOOL(value);
Windows\Win32\Foundation\BOOL.cs (2)
10public static BOOL TRUE { get; } = new(true); 12public static BOOL FALSE { get; } = new(false);
243 references to BOOL
Microsoft.Private.Windows.Core (243)
System\Private\Windows\Ole\Composition.cs (1)
216public HRESULT SetData(FORMATETC* pformatetc, STGMEDIUM* pmedium, BOOL fRelease) => _nativeDataObject.SetData(pformatetc, pmedium, fRelease);
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (1)
203public HRESULT SetData(FORMATETC* pformatetc, STGMEDIUM* pmedium, BOOL fRelease)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
82public HRESULT SetData(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease)
System\Private\Windows\Ole\Composition.RuntimeToNativeAdapter.cs (1)
134HRESULT Com.IDataObject.Interface.SetData(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease)
System\Private\Windows\Ole\DragDropHelper.cs (3)
143return (basePtr is not null) && (*(BOOL*)basePtr == true); 211hGlobal = PInvokeCore.GlobalAlloc(GMEM_MOVEABLE | GMEM_ZEROINIT, (nuint)sizeof(BOOL)) 226*(BOOL*)basePtr = value;
Windows.Win32.BOOL.g.cs (11)
25 : IEquatable<BOOL> 31 public static implicit operator int(BOOL value) => value.Value; 33 public static explicit operator BOOL(int value) => new BOOL(value); 35 public static bool operator ==(BOOL left, BOOL right) => left.Value == right.Value; 37 public static bool operator !=(BOOL left, BOOL right) => !(left == right); 39 public bool Equals(BOOL other) => this.Value == other.Value; 41 public override bool Equals(object obj) => obj is BOOL other && this.Equals(other); 49 public static implicit operator bool(BOOL value) => value.Value != 0; 51 public static implicit operator BOOL(bool value) => new BOOL(value);
Windows.Win32.DROPFILES.g.cs (2)
46 internal winmdroot.Foundation.BOOL fNC; 52 internal winmdroot.Foundation.BOOL fWide;
Windows.Win32.GdiplusStartupInput.g.cs (2)
29 internal winmdroot.Foundation.BOOL SuppressBackgroundThread; 31 internal winmdroot.Foundation.BOOL SuppressExternalCodecs;
Windows.Win32.ICONINFO.g.cs (1)
34 internal winmdroot.Foundation.BOOL fIcon;
Windows.Win32.IDataObject.g.cs (6)
164 /// <inheritdoc cref="SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/> 165 internal unsafe winmdroot.Foundation.HRESULT SetData(in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease) 189 public unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease) 191 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IDataObject*)Unsafe.AsPointer(ref this), pformatetc, pmedium, fRelease); 316 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> SetData_8; 348 unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease);
Windows.Win32.IDataObjectAsyncCapability.g.cs (18)
67 public winmdroot.Foundation.HRESULT SetAsyncMode(winmdroot.Foundation.BOOL fDoOpAsync) 69 return ((delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDataObjectAsyncCapability*)Unsafe.AsPointer(ref this), fDoOpAsync); 72 /// <inheritdoc cref="GetAsyncMode(winmdroot.Foundation.BOOL*)"/> 73 internal unsafe winmdroot.Foundation.HRESULT GetAsyncMode(out winmdroot.Foundation.BOOL pfIsOpAsync) 75 fixed (winmdroot.Foundation.BOOL* pfIsOpAsyncLocal = &pfIsOpAsync) 91 public unsafe winmdroot.Foundation.HRESULT GetAsyncMode(winmdroot.Foundation.BOOL* pfIsOpAsync) 93 return ((delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IDataObjectAsyncCapability*)Unsafe.AsPointer(ref this), pfIsOpAsync); 110 /// <inheritdoc cref="InOperation(winmdroot.Foundation.BOOL*)"/> 111 internal unsafe winmdroot.Foundation.HRESULT InOperation(out winmdroot.Foundation.BOOL pfInAsyncOp) 113 fixed (winmdroot.Foundation.BOOL* pfInAsyncOpLocal = &pfInAsyncOp) 129 public unsafe winmdroot.Foundation.HRESULT InOperation(winmdroot.Foundation.BOOL* pfInAsyncOp) 131 return ((delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IDataObjectAsyncCapability*)Unsafe.AsPointer(ref this), pfInAsyncOp); 186 internal delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> SetAsyncMode_4; 188 internal delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> GetAsyncMode_5; 192 internal delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> InOperation_7; 206winmdroot.Foundation.HRESULT SetAsyncMode(winmdroot.Foundation.BOOL fDoOpAsync); 209 unsafe winmdroot.Foundation.HRESULT GetAsyncMode(winmdroot.Foundation.BOOL* pfIsOpAsync); 215 unsafe winmdroot.Foundation.HRESULT InOperation(winmdroot.Foundation.BOOL* pfInAsyncOp);
Windows.Win32.IDropSource.g.cs (4)
63 public winmdroot.Foundation.HRESULT QueryContinueDrag(winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState) 65 return ((delegate *unmanaged [Stdcall]<IDropSource*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDropSource*)Unsafe.AsPointer(ref this), fEscapePressed, grfKeyState); 111 internal delegate *unmanaged [Stdcall]<IDropSource*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.HRESULT> QueryContinueDrag_4; 125winmdroot.Foundation.HRESULT QueryContinueDrag(winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState);
Windows.Win32.IDropTargetHelper.g.cs (4)
170 public winmdroot.Foundation.HRESULT Show(winmdroot.Foundation.BOOL fShow) 172 return ((delegate *unmanaged [Stdcall]<IDropTargetHelper*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IDropTargetHelper*)Unsafe.AsPointer(ref this), fShow); 210 internal delegate *unmanaged [Stdcall]<IDropTargetHelper*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Show_8; 234winmdroot.Foundation.HRESULT Show(winmdroot.Foundation.BOOL fShow);
Windows.Win32.IMoniker.g.cs (12)
80 public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty) 82 return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IMoniker*)Unsafe.AsPointer(ref this), pStm, fClearDirty); 199 public unsafe winmdroot.Foundation.HRESULT ComposeWith(winmdroot.System.Com.IMoniker* pmkRight, winmdroot.Foundation.BOOL fOnlyIfNotGeneric, winmdroot.System.Com.IMoniker** ppmkComposite) 201 return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IMoniker* ,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IMoniker*)Unsafe.AsPointer(ref this), pmkRight, fOnlyIfNotGeneric, ppmkComposite); 213 public unsafe winmdroot.Foundation.HRESULT Enum(winmdroot.Foundation.BOOL fForward, winmdroot.System.Com.IEnumMoniker** ppenumMoniker) 215 return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IEnumMoniker** ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IMoniker*)Unsafe.AsPointer(ref this), fForward, ppenumMoniker); 470 internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 480 internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IMoniker* ,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT> ComposeWith_12; 482 internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IEnumMoniker** ,winmdroot.Foundation.HRESULT> Enum_13; 523 unsafe new winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty); 538 unsafe winmdroot.Foundation.HRESULT ComposeWith(winmdroot.System.Com.IMoniker* pmkRight, winmdroot.Foundation.BOOL fOnlyIfNotGeneric, winmdroot.System.Com.IMoniker** ppmkComposite); 541 unsafe winmdroot.Foundation.HRESULT Enum(winmdroot.Foundation.BOOL fForward, winmdroot.System.Com.IEnumMoniker** ppenumMoniker);
Windows.Win32.IPersistStream.g.cs (4)
109 public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty) 111 return ((delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistStream*)Unsafe.AsPointer(ref this), pStm, fClearDirty); 169 internal delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 192 unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty);
Windows.Win32.IPicture.g.cs (17)
273 /// <inheritdoc cref="get_KeepOriginalFormat(winmdroot.Foundation.BOOL*)"/> 274 internal unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(out winmdroot.Foundation.BOOL pKeep) 276 fixed (winmdroot.Foundation.BOOL* pKeepLocal = &pKeep) 292 public unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(winmdroot.Foundation.BOOL* pKeep) 294 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IPicture*)Unsafe.AsPointer(ref this), pKeep); 303 public winmdroot.Foundation.HRESULT put_KeepOriginalFormat(winmdroot.Foundation.BOOL keep) 305 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IPicture*)Unsafe.AsPointer(ref this), keep); 318 /// <inheritdoc cref="SaveAsFile(winmdroot.System.Com.IStream*, winmdroot.Foundation.BOOL, int*)"/> 319 internal unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, out int pCbSize) 336 public unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize) 338 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IPicture*)Unsafe.AsPointer(ref this), pStream, fSaveMemCopy, pCbSize); 413 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> get_KeepOriginalFormat_13; 415 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> put_KeepOriginalFormat_14; 419 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,int* ,winmdroot.Foundation.HRESULT> SaveAsFile_16; 460 unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(winmdroot.Foundation.BOOL* pKeep); 463winmdroot.Foundation.HRESULT put_KeepOriginalFormat(winmdroot.Foundation.BOOL keep); 469 unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize);
Windows.Win32.IRecordInfo.g.cs (4)
331 public unsafe winmdroot.Foundation.BOOL IsMatchingType(winmdroot.System.Ole.IRecordInfo* pRecordInfo) 333 return ((delegate *unmanaged [Stdcall]<IRecordInfo*,winmdroot.System.Ole.IRecordInfo* ,winmdroot.Foundation.BOOL>)lpVtbl[15])((IRecordInfo*)Unsafe.AsPointer(ref this), pRecordInfo); 436 internal delegate *unmanaged [Stdcall]<IRecordInfo*,winmdroot.System.Ole.IRecordInfo* ,winmdroot.Foundation.BOOL> IsMatchingType_16; 489 unsafe winmdroot.Foundation.BOOL IsMatchingType(winmdroot.System.Ole.IRecordInfo* pRecordInfo);
Windows.Win32.ITypeLib.g.cs (7)
191 /// <inheritdoc cref="IsName(winmdroot.Foundation.PWSTR, uint, winmdroot.Foundation.BOOL*)"/> 192 internal unsafe winmdroot.Foundation.HRESULT IsName(ref Span<char>szNameBuf, uint lHashVal, out winmdroot.Foundation.BOOL pfName) 195 fixed (winmdroot.Foundation.BOOL* pfNameLocal = &pfName) 218 public unsafe winmdroot.Foundation.HRESULT IsName(winmdroot.Foundation.PWSTR szNameBuf, uint lHashVal, winmdroot.Foundation.BOOL* pfName) 220 return ((delegate *unmanaged [Stdcall]<ITypeLib*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((ITypeLib*)Unsafe.AsPointer(ref this), szNameBuf, lHashVal, pfName); 318 internal delegate *unmanaged [Stdcall]<ITypeLib*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> IsName_11; 354 unsafe winmdroot.Foundation.HRESULT IsName(winmdroot.Foundation.PWSTR szNameBuf, uint lHashVal, winmdroot.Foundation.BOOL* pfName);
Windows.Win32.PAINTSTRUCT.g.cs (3)
33 internal winmdroot.Foundation.BOOL fErase; 39 internal winmdroot.Foundation.BOOL fRestore; 42 internal winmdroot.Foundation.BOOL fIncUpdate;
Windows.Win32.PInvokeCore.COMCTL32.dll.g.cs (1)
35 internal static extern winmdroot.Foundation.BOOL DestroyPropertySheetPage(winmdroot.UI.Controls.HPROPSHEETPAGE param0);
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (24)
49 internal static extern winmdroot.Foundation.BOOL BitBlt(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, int cx, int cy, winmdroot.Graphics.Gdi.HDC hdcSrc, int x1, int y1, winmdroot.Graphics.Gdi.ROP_CODE rop); 59 internal static extern winmdroot.Foundation.BOOL DeleteEnhMetaFile(winmdroot.Graphics.Gdi.HENHMETAFILE hmf); 86 internal static extern winmdroot.Foundation.BOOL DeleteObject(winmdroot.Graphics.Gdi.HGDIOBJ ho); 376 internal static extern winmdroot.Foundation.BOOL DeleteDC(winmdroot.Graphics.Gdi.HDC hdc); 380 internal static unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HENHMETAFILE hmf, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Graphics.Gdi.HANDLETABLE*,global::Windows.Win32.Graphics.Gdi.ENHMETARECORD*,int,global::Windows.Win32.Foundation.LPARAM,int> proc, void* param3, winmdroot.Foundation.RECT? lpRect) 383 winmdroot.Foundation.BOOL __result = PInvokeCore.EnumEnhMetaFile(hdc, hmf, proc, param3, lpRect.HasValue ? &lpRectLocal : null); 401 internal static extern unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HENHMETAFILE hmf, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Graphics.Gdi.HANDLETABLE*,global::Windows.Win32.Graphics.Gdi.ENHMETARECORD*,int,global::Windows.Win32.Foundation.LPARAM,int> proc, [Optional] void* param3, [Optional] winmdroot.Foundation.RECT* lpRect); 541 internal static unsafe winmdroot.Foundation.BOOL GetViewportExtEx(winmdroot.Graphics.Gdi.HDC hdc, out winmdroot.Foundation.SIZE lpsize) 545 winmdroot.Foundation.BOOL __result = PInvokeCore.GetViewportExtEx(hdc, lpsizeLocal); 561 internal static extern unsafe winmdroot.Foundation.BOOL GetViewportExtEx(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.SIZE* lpsize); 565 internal static unsafe winmdroot.Foundation.BOOL GetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, out global::System.Drawing.Point lppoint) 569 winmdroot.Foundation.BOOL __result = PInvokeCore.GetViewportOrgEx(hdc, lppointLocal); 585 internal static extern unsafe winmdroot.Foundation.BOOL GetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, global::System.Drawing.Point* lppoint); 589 internal static unsafe winmdroot.Foundation.BOOL GetWindowOrgEx(winmdroot.Graphics.Gdi.HDC hdc, out global::System.Drawing.Point lppoint) 593 winmdroot.Foundation.BOOL __result = PInvokeCore.GetWindowOrgEx(hdc, lppointLocal); 609 internal static extern unsafe winmdroot.Foundation.BOOL GetWindowOrgEx(winmdroot.Graphics.Gdi.HDC hdc, global::System.Drawing.Point* lppoint); 613 internal static unsafe winmdroot.Foundation.BOOL GetWorldTransform(winmdroot.Graphics.Gdi.HDC hdc, out winmdroot.Graphics.Gdi.XFORM lpxf) 617 winmdroot.Foundation.BOOL __result = PInvokeCore.GetWorldTransform(hdc, lpxfLocal); 631 internal static extern unsafe winmdroot.Foundation.BOOL GetWorldTransform(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.XFORM* lpxf); 662 internal static extern unsafe winmdroot.Foundation.BOOL OffsetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, [Optional] global::System.Drawing.Point* lppt); 672 internal static extern winmdroot.Foundation.BOOL DeleteMetaFile(winmdroot.Graphics.Gdi.HMETAFILE hmf); 702 internal static extern winmdroot.Foundation.BOOL Rectangle(winmdroot.Graphics.Gdi.HDC hdc, int left, int top, int right, int bottom); 713 internal static extern winmdroot.Foundation.BOOL RestoreDC(winmdroot.Graphics.Gdi.HDC hdc, int nSavedDC); 778 internal static extern winmdroot.Graphics.Gdi.HPALETTE SelectPalette(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HPALETTE hPal, winmdroot.Foundation.BOOL bForceBkgd);
Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (6)
39 internal static extern winmdroot.Foundation.BOOL CloseHandle(winmdroot.Foundation.HANDLE hObject); 165 internal static extern winmdroot.Foundation.BOOL GlobalUnlock(winmdroot.Foundation.HGLOBAL hMem); 181 internal static extern winmdroot.Foundation.BOOL FreeLibrary(winmdroot.Foundation.HMODULE hLibModule); 221 /// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.PSTR, int, winmdroot.Foundation.PCSTR, winmdroot.Foundation.BOOL*)"/> 223 internal static unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, string lpWideCharStr, int cchWideChar, winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, string lpDefaultChar, winmdroot.Foundation.BOOL* lpUsedDefaultChar) 268 internal static extern unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, winmdroot.Foundation.PCWSTR lpWideCharStr, int cchWideChar, winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, winmdroot.Foundation.PCSTR lpDefaultChar, [Optional] winmdroot.Foundation.BOOL* lpUsedDefaultChar);
Windows.Win32.PInvokeCore.OLEAUT32.dll.g.cs (3)
64 /// <inheritdoc cref="OleCreatePictureIndirect(winmdroot.System.Ole.PICTDESC*, global::System.Guid*, winmdroot.Foundation.BOOL, void**)"/> 66 internal static unsafe winmdroot.Foundation.HRESULT OleCreatePictureIndirect(in winmdroot.System.Ole.PICTDESC lpPictDesc, in global::System.Guid riid, winmdroot.Foundation.BOOL fOwn, out void* lplpvObj) 93 internal static extern unsafe winmdroot.Foundation.HRESULT OleCreatePictureIndirect(winmdroot.System.Ole.PICTDESC* lpPictDesc, global::System.Guid* riid, winmdroot.Foundation.BOOL fOwn, void** lplpvObj);
Windows.Win32.PInvokeCore.SHELL32.dll.g.cs (1)
38 internal static extern void DragAcceptFiles(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL fAccept);
Windows.Win32.PInvokeCore.USER32.dll.g.cs (35)
155 internal static extern winmdroot.Foundation.BOOL DestroyIcon(winmdroot.UI.WindowsAndMessaging.HICON hIcon); 201 internal static extern winmdroot.Foundation.BOOL DrawIconEx(winmdroot.Graphics.Gdi.HDC hdc, int xLeft, int yTop, winmdroot.UI.WindowsAndMessaging.HICON hIcon, int cxWidth, int cyWidth, uint istepIfAniCur, winmdroot.Graphics.Gdi.HBRUSH hbrFlickerFreeDraw, winmdroot.UI.WindowsAndMessaging.DI_FLAGS diFlags); 205 internal static unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, in winmdroot.Graphics.Gdi.PAINTSTRUCT lpPaint) 209 winmdroot.Foundation.BOOL __result = PInvokeCore.EndPaint(hWnd, lpPaintLocal); 224 internal static extern unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.PAINTSTRUCT* lpPaint); 248 internal static extern unsafe winmdroot.Foundation.BOOL EnumChildWindows(winmdroot.Foundation.HWND hWndParent, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 252 internal static unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.RECT? lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData) 255 winmdroot.Foundation.BOOL __result = PInvokeCore.EnumDisplayMonitors(hdc, lprcClip.HasValue ? &lprcClipLocal : null, lpfnEnum, dwData); 280 internal static extern unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.RECT* lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData); 303 internal static extern unsafe winmdroot.Foundation.BOOL EnumThreadWindows(uint dwThreadId, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfn, winmdroot.Foundation.LPARAM lParam); 323 internal static extern unsafe winmdroot.Foundation.BOOL EnumWindows(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 327 internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 331 winmdroot.Foundation.BOOL __result = PInvokeCore.GetClientRect(hWnd, lpRectLocal); 351 internal static extern unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 446 internal static unsafe winmdroot.Foundation.BOOL GetIconInfo(winmdroot.UI.WindowsAndMessaging.HICON hIcon, out winmdroot.UI.WindowsAndMessaging.ICONINFO piconinfo) 450 winmdroot.Foundation.BOOL __result = PInvokeCore.GetIconInfo(hIcon, piconinfoLocal); 470 internal static extern unsafe winmdroot.Foundation.BOOL GetIconInfo(winmdroot.UI.WindowsAndMessaging.HICON hIcon, winmdroot.UI.WindowsAndMessaging.ICONINFO* piconinfo); 474 internal static unsafe winmdroot.Foundation.BOOL GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR hMonitor, ref winmdroot.Graphics.Gdi.MONITORINFO lpmi) 478 winmdroot.Foundation.BOOL __result = PInvokeCore.GetMonitorInfo(hMonitor, lpmiLocal); 498 internal static extern unsafe winmdroot.Foundation.BOOL GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR hMonitor, winmdroot.Graphics.Gdi.MONITORINFO* lpmi); 541 internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 545 winmdroot.Foundation.BOOL __result = PInvokeCore.GetWindowRect(hWnd, lpRectLocal); 568 internal static extern unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 645 internal static extern winmdroot.Foundation.BOOL DestroyCursor(winmdroot.UI.WindowsAndMessaging.HCURSOR hCursor); 758 internal static unsafe winmdroot.Foundation.BOOL PeekMessage(out winmdroot.UI.WindowsAndMessaging.MSG lpMsg, winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE wRemoveMsg) 762 winmdroot.Foundation.BOOL __result = PInvokeCore.PeekMessage(lpMsgLocal, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg); 796 internal static extern unsafe winmdroot.Foundation.BOOL PeekMessage(winmdroot.UI.WindowsAndMessaging.MSG* lpMsg, winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE wRemoveMsg); 825 internal static extern winmdroot.Foundation.BOOL PostMessage(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 923 internal static extern unsafe winmdroot.Foundation.BOOL SystemParametersInfo(winmdroot.UI.WindowsAndMessaging.SYSTEM_PARAMETERS_INFO_ACTION uiAction, uint uiParam, [Optional] void* pvParam, winmdroot.UI.WindowsAndMessaging.SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS fWinIni); 940 internal static extern unsafe winmdroot.Foundation.BOOL SystemParametersInfoForDpi(uint uiAction, uint uiParam, [Optional] void* pvParam, uint fWinIni, uint dpi);
Windows.Win32.System_Com_IDataObject_Extensions.g.cs (2)
72 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/> 73 internal static unsafe winmdroot.Foundation.HRESULT SetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease)
Windows.Win32.System_Com_ITypeLib_Extensions.g.cs (3)
63 /// <inheritdoc cref="winmdroot.System.Com.ITypeLib.Interface.IsName(winmdroot.Foundation.PWSTR, uint, winmdroot.Foundation.BOOL*)"/> 64 internal static unsafe winmdroot.Foundation.HRESULT IsName(this winmdroot.System.Com.ITypeLib.Interface @this, ref Span<char>szNameBuf, uint lHashVal, out winmdroot.Foundation.BOOL pfName) 67 fixed (winmdroot.Foundation.BOOL* pfNameLocal = &pfName)
Windows.Win32.System_Ole_IPicture_Extensions.g.cs (5)
106 /// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_KeepOriginalFormat(winmdroot.Foundation.BOOL*)"/> 107 internal static unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.Foundation.BOOL pKeep) 109 fixed (winmdroot.Foundation.BOOL* pKeepLocal = &pKeep) 116 /// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.SaveAsFile(winmdroot.System.Com.IStream*, winmdroot.Foundation.BOOL, int*)"/> 117 internal static unsafe winmdroot.Foundation.HRESULT SaveAsFile(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, out int pCbSize)
Windows.Win32.UI_Shell_IDataObjectAsyncCapability_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IDataObjectAsyncCapability.Interface.GetAsyncMode(winmdroot.Foundation.BOOL*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetAsyncMode(this winmdroot.UI.Shell.IDataObjectAsyncCapability.Interface @this, out winmdroot.Foundation.BOOL pfIsOpAsync) 26 fixed (winmdroot.Foundation.BOOL* pfIsOpAsyncLocal = &pfIsOpAsync) 33 /// <inheritdoc cref="winmdroot.UI.Shell.IDataObjectAsyncCapability.Interface.InOperation(winmdroot.Foundation.BOOL*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT InOperation(this winmdroot.UI.Shell.IDataObjectAsyncCapability.Interface @this, out winmdroot.Foundation.BOOL pfInAsyncOp) 36 fixed (winmdroot.Foundation.BOOL* pfInAsyncOpLocal = &pfInAsyncOp)
Windows\Win32\Foundation\BOOL.cs (4)
10public static BOOL TRUE { get; } = new(true); 12public static BOOL FALSE { get; } = new(false); 14public static bool operator true(BOOL value) => value.Value != 0; 16public static bool operator false(BOOL value) => value.Value == 0;
Windows\Win32\Foundation\LPARAM.cs (1)
13public static explicit operator LPARAM(BOOL value) => new((nint)value);
Windows\Win32\Foundation\LRESULT.cs (3)
16public static explicit operator BOOL(LRESULT value) => (BOOL)value.Value; 17public static explicit operator LRESULT(BOOL value) => new((nint)value);
Windows\Win32\Foundation\WPARAM.cs (3)
21public static explicit operator BOOL(WPARAM value) => (BOOL)(nint)value.Value; 22public static explicit operator WPARAM(BOOL value) => new((nuint)(nint)value);
Windows\Win32\Graphics\GdiPlus\GdiplusStartupInputEx.cs (2)
16result.Base.SuppressBackgroundThread = BOOL.FALSE; 17result.Base.SuppressExternalCodecs = BOOL.FALSE;
Windows\Win32\PInvokeCore.BitBlt.cs (4)
9public static BOOL BitBlt<T>( 20BOOL result = BitBlt( 35public static BOOL BitBlt<T>( 46BOOL result = BitBlt(
Windows\Win32\PInvokeCore.DragAcceptFiles.cs (2)
8/// <inheritdoc cref="DragAcceptFiles(HWND, BOOL)"/> 9public static void DragAcceptFiles<T>(T hWnd, BOOL fAccept) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.DrawIcon.cs (2)
8public static BOOL DrawIcon<T>(HDC hDC, int x, int y, T hIcon) 15BOOL result = DrawIconEx(hDC, x, y, hIcon, 0, 0, DI_FLAGS.DI_NORMAL | DI_FLAGS.DI_DEFAULTSIZE);
Windows\Win32\PInvokeCore.DrawIconEx.cs (2)
9public static BOOL DrawIconEx<T>( 25BOOL result = DrawIconEx(hDC, xLeft, yTop, hIcon.Handle, cxWidth, cyWidth, 0, HBRUSH.Null, diFlags);
Windows\Win32\PInvokeCore.EnumChildWindows.cs (6)
8public delegate BOOL EnumChildWindowsCallback(HWND hWnd); 11private delegate BOOL EnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL> s_enumChildWindowsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumChildWindowsNativeCallback); 17public static BOOL EnumChildWindows<T>(T hwndParent, EnumChildWindowsCallback callback) 42private static BOOL HandleEnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (5)
11private delegate BOOL EnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HMONITOR, HDC, RECT*, LPARAM, BOOL> s_enumDisplayMonitorsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HMONITOR, HDC, RECT*, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumDisplayMonitorsNativeCallback); 17public static BOOL EnumDisplayMonitors(EnumDisplayMonitorsCallback callBack) 37private static BOOL HandleEnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (6)
8public delegate BOOL EnumThreadWindowsCallback(HWND hWnd); 11private delegate BOOL EnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL> s_enumThreadWindowsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumThreadWindowsNativeCallback); 20public static BOOL EnumCurrentThreadWindows(EnumThreadWindowsCallback callback) 46private static BOOL HandleEnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumWindows.cs (6)
8public delegate BOOL EnumWindowsCallback(HWND hWnd); 11private delegate BOOL EnumWindowsNativeCallback(HWND hWnd, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL> s_enumWindowsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumWindowsNativeCallback); 17public static unsafe BOOL EnumWindows(EnumWindowsCallback callback) 40private static BOOL HandleEnumWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.GetClientRect.cs (2)
9public static BOOL GetClientRect<T>(T hWnd, out RECT lpRect) 12BOOL result = GetClientRect(hWnd.Handle, out lpRect);
Windows\Win32\PInvokeCore.GetWindowRect.cs (2)
9public static BOOL GetWindowRect<T>(T hWnd, out RECT lpRect) where T : IHandle<HWND> 11BOOL result = GetWindowRect(hWnd.Handle, out lpRect);
Windows\Win32\PInvokeCore.PeekMessage.cs (2)
9public static unsafe BOOL PeekMessage<T>( 17BOOL result = PeekMessage(lpMsg, hWnd.Handle, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
Windows\Win32\PInvokeCore.PostMessage.cs (2)
9public static BOOL PostMessage<T>( 16BOOL result = PostMessage(hWnd.Handle, (uint)Msg, wParam, lParam);
Windows\Win32\PInvokeCore.SystemParametersInfo.cs (1)
31BOOL nativeBool = value;