4 instantiations of BOOL
Microsoft.Private.Windows.Core (4)
_generated\9\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);
254 references to BOOL
Microsoft.Private.Windows.Core (254)
_generated\125\Windows.Win32.ICONINFO.g.cs (1)
34 internal winmdroot.Foundation.BOOL fIcon;
_generated\126\Windows.Win32.IDataObject.g.cs (6)
169 /// <inheritdoc cref="SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/> 171 internal unsafe winmdroot.Foundation.HRESULT SetData(in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease) 195 public unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease) 197 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); 325 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> SetData_8; 362 unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease);
_generated\127\Windows.Win32.IDataObjectAsyncCapability.g.cs (18)
68 public winmdroot.Foundation.HRESULT SetAsyncMode(winmdroot.Foundation.BOOL fDoOpAsync) 70 return ((delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDataObjectAsyncCapability*)Unsafe.AsPointer(ref this), fDoOpAsync); 73 /// <inheritdoc cref="GetAsyncMode(winmdroot.Foundation.BOOL*)"/> 75 internal unsafe winmdroot.Foundation.HRESULT GetAsyncMode(out winmdroot.Foundation.BOOL pfIsOpAsync) 77 fixed (winmdroot.Foundation.BOOL* pfIsOpAsyncLocal = &pfIsOpAsync) 93 public unsafe winmdroot.Foundation.HRESULT GetAsyncMode(winmdroot.Foundation.BOOL* pfIsOpAsync) 95 return ((delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IDataObjectAsyncCapability*)Unsafe.AsPointer(ref this), pfIsOpAsync); 112 /// <inheritdoc cref="InOperation(winmdroot.Foundation.BOOL*)"/> 114 internal unsafe winmdroot.Foundation.HRESULT InOperation(out winmdroot.Foundation.BOOL pfInAsyncOp) 116 fixed (winmdroot.Foundation.BOOL* pfInAsyncOpLocal = &pfInAsyncOp) 132 public unsafe winmdroot.Foundation.HRESULT InOperation(winmdroot.Foundation.BOOL* pfInAsyncOp) 134 return ((delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IDataObjectAsyncCapability*)Unsafe.AsPointer(ref this), pfInAsyncOp); 191 internal delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> SetAsyncMode_4; 193 internal delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> GetAsyncMode_5; 197 internal delegate *unmanaged [Stdcall]<IDataObjectAsyncCapability*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> InOperation_7; 216winmdroot.Foundation.HRESULT SetAsyncMode(winmdroot.Foundation.BOOL fDoOpAsync); 219 unsafe winmdroot.Foundation.HRESULT GetAsyncMode(winmdroot.Foundation.BOOL* pfIsOpAsync); 225 unsafe winmdroot.Foundation.HRESULT InOperation(winmdroot.Foundation.BOOL* pfInAsyncOp);
_generated\134\Windows.Win32.IDropSource.g.cs (4)
64 public winmdroot.Foundation.HRESULT QueryContinueDrag(winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState) 66 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); 114 internal delegate *unmanaged [Stdcall]<IDropSource*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.HRESULT> QueryContinueDrag_4; 133winmdroot.Foundation.HRESULT QueryContinueDrag(winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState);
_generated\137\Windows.Win32.IDropTargetHelper.g.cs (4)
174 public winmdroot.Foundation.HRESULT Show(winmdroot.Foundation.BOOL fShow) 176 return ((delegate *unmanaged [Stdcall]<IDropTargetHelper*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IDropTargetHelper*)Unsafe.AsPointer(ref this), fShow); 216 internal delegate *unmanaged [Stdcall]<IDropTargetHelper*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Show_8; 245winmdroot.Foundation.HRESULT Show(winmdroot.Foundation.BOOL fShow);
_generated\147\Windows.Win32.IMoniker.g.cs (12)
82 public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty) 84 return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IMoniker*)Unsafe.AsPointer(ref this), pStm, fClearDirty); 204 public unsafe winmdroot.Foundation.HRESULT ComposeWith(winmdroot.System.Com.IMoniker* pmkRight, winmdroot.Foundation.BOOL fOnlyIfNotGeneric, winmdroot.System.Com.IMoniker** ppmkComposite) 206 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); 218 public unsafe winmdroot.Foundation.HRESULT Enum(winmdroot.Foundation.BOOL fForward, winmdroot.System.Com.IEnumMoniker** ppenumMoniker) 220 return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IEnumMoniker** ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IMoniker*)Unsafe.AsPointer(ref this), fForward, ppenumMoniker); 482 internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 492 internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.IMoniker* ,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT> ComposeWith_12; 494 internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.Foundation.BOOL ,winmdroot.System.Com.IEnumMoniker** ,winmdroot.Foundation.HRESULT> Enum_13; 540 unsafe new winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty); 555 unsafe winmdroot.Foundation.HRESULT ComposeWith(winmdroot.System.Com.IMoniker* pmkRight, winmdroot.Foundation.BOOL fOnlyIfNotGeneric, winmdroot.System.Com.IMoniker** ppmkComposite); 558 unsafe winmdroot.Foundation.HRESULT Enum(winmdroot.Foundation.BOOL fForward, winmdroot.System.Com.IEnumMoniker** ppenumMoniker);
_generated\152\Windows.Win32.IPersistStream.g.cs (4)
111 public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty) 113 return ((delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistStream*)Unsafe.AsPointer(ref this), pStm, fClearDirty); 174 internal delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 202 unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty);
_generated\153\Windows.Win32.IPicture.g.cs (17)
282 /// <inheritdoc cref="get_KeepOriginalFormat(winmdroot.Foundation.BOOL*)"/> 284 internal unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(out winmdroot.Foundation.BOOL pKeep) 286 fixed (winmdroot.Foundation.BOOL* pKeepLocal = &pKeep) 302 public unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(winmdroot.Foundation.BOOL* pKeep) 304 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IPicture*)Unsafe.AsPointer(ref this), pKeep); 313 public winmdroot.Foundation.HRESULT put_KeepOriginalFormat(winmdroot.Foundation.BOOL keep) 315 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IPicture*)Unsafe.AsPointer(ref this), keep); 328 /// <inheritdoc cref="SaveAsFile(winmdroot.System.Com.IStream*, winmdroot.Foundation.BOOL, int*)"/> 330 internal unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, out int pCbSize) 347 public unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize) 349 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); 427 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> get_KeepOriginalFormat_13; 429 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> put_KeepOriginalFormat_14; 433 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,int* ,winmdroot.Foundation.HRESULT> SaveAsFile_16; 479 unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(winmdroot.Foundation.BOOL* pKeep); 482winmdroot.Foundation.HRESULT put_KeepOriginalFormat(winmdroot.Foundation.BOOL keep); 488 unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize);
_generated\155\Windows.Win32.IRecordInfo.g.cs (4)
353 public unsafe winmdroot.Foundation.BOOL IsMatchingType(winmdroot.System.Ole.IRecordInfo* pRecordInfo) 355 return ((delegate *unmanaged [Stdcall]<IRecordInfo*,winmdroot.System.Ole.IRecordInfo* ,winmdroot.Foundation.BOOL>)lpVtbl[15])((IRecordInfo*)Unsafe.AsPointer(ref this), pRecordInfo); 461 internal delegate *unmanaged [Stdcall]<IRecordInfo*,winmdroot.System.Ole.IRecordInfo* ,winmdroot.Foundation.BOOL> IsMatchingType_16; 519 unsafe winmdroot.Foundation.BOOL IsMatchingType(winmdroot.System.Ole.IRecordInfo* pRecordInfo);
_generated\163\Windows.Win32.ITypeLib.g.cs (7)
215 /// <inheritdoc cref="IsName(winmdroot.Foundation.PWSTR, uint, winmdroot.Foundation.BOOL*)"/> 217 internal unsafe winmdroot.Foundation.HRESULT IsName(ref Span<char>szNameBuf, uint lHashVal, out winmdroot.Foundation.BOOL pfName) 220 fixed (winmdroot.Foundation.BOOL* pfNameLocal = &pfName) 243 public unsafe winmdroot.Foundation.HRESULT IsName(winmdroot.Foundation.PWSTR szNameBuf, uint lHashVal, winmdroot.Foundation.BOOL* pfName) 245 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); 350 internal delegate *unmanaged [Stdcall]<ITypeLib*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> IsName_11; 391 unsafe winmdroot.Foundation.HRESULT IsName(winmdroot.Foundation.PWSTR szNameBuf, uint lHashVal, winmdroot.Foundation.BOOL* pfName);
_generated\181\Windows.Win32.PAINTSTRUCT.g.cs (3)
33 internal winmdroot.Foundation.BOOL fErase; 39 internal winmdroot.Foundation.BOOL fRestore; 42 internal winmdroot.Foundation.BOOL fIncUpdate;
_generated\192\Windows.Win32.PInvokeCore.COMCTL32.dll.g.cs (1)
35 internal static extern winmdroot.Foundation.BOOL DestroyPropertySheetPage(winmdroot.UI.Controls.HPROPSHEETPAGE param0);
_generated\194\Windows.Win32.PInvokeCore.GDI32.dll.g.cs (28)
49 internal static extern winmdroot.Foundation.BOOL BitBlt(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, int cx, int cy, [Optional] winmdroot.Graphics.Gdi.HDC hdcSrc, int x1, int y1, winmdroot.Graphics.Gdi.ROP_CODE rop); 59 internal static extern winmdroot.Foundation.BOOL DeleteEnhMetaFile([Optional] winmdroot.Graphics.Gdi.HENHMETAFILE hmf); 86 internal static extern winmdroot.Foundation.BOOL DeleteObject(winmdroot.Graphics.Gdi.HGDIOBJ ho); 381 internal static extern winmdroot.Foundation.BOOL DeleteDC(winmdroot.Graphics.Gdi.HDC hdc); 386 internal static unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile([Optional] 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) 389 winmdroot.Foundation.BOOL __result = PInvokeCore.EnumEnhMetaFile(hdc, hmf, proc, param3, lpRect.HasValue ? &lpRectLocal : null); 407 internal static extern unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile([Optional] 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); 570 internal static unsafe winmdroot.Foundation.BOOL GetViewportExtEx(winmdroot.Graphics.Gdi.HDC hdc, out winmdroot.Foundation.SIZE lpsize) 574 winmdroot.Foundation.BOOL __result = PInvokeCore.GetViewportExtEx(hdc, lpsizeLocal); 590 internal static extern unsafe winmdroot.Foundation.BOOL GetViewportExtEx(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.SIZE* lpsize); 595 internal static unsafe winmdroot.Foundation.BOOL GetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, out global::System.Drawing.Point lppoint) 599 winmdroot.Foundation.BOOL __result = PInvokeCore.GetViewportOrgEx(hdc, lppointLocal); 615 internal static extern unsafe winmdroot.Foundation.BOOL GetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, global::System.Drawing.Point* lppoint); 620 internal static unsafe winmdroot.Foundation.BOOL GetWindowOrgEx(winmdroot.Graphics.Gdi.HDC hdc, out global::System.Drawing.Point lppoint) 624 winmdroot.Foundation.BOOL __result = PInvokeCore.GetWindowOrgEx(hdc, lppointLocal); 640 internal static extern unsafe winmdroot.Foundation.BOOL GetWindowOrgEx(winmdroot.Graphics.Gdi.HDC hdc, global::System.Drawing.Point* lppoint); 645 internal static unsafe winmdroot.Foundation.BOOL GetWorldTransform(winmdroot.Graphics.Gdi.HDC hdc, out winmdroot.Graphics.Gdi.XFORM lpxf) 649 winmdroot.Foundation.BOOL __result = PInvokeCore.GetWorldTransform(hdc, lpxfLocal); 663 internal static extern unsafe winmdroot.Foundation.BOOL GetWorldTransform(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.XFORM* lpxf); 686 internal static unsafe winmdroot.Foundation.BOOL OffsetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, out global::System.Drawing.Point lppt) 690 winmdroot.Foundation.BOOL __result = PInvokeCore.OffsetViewportOrgEx(hdc, x, y, lpptLocal); 697 internal static unsafe winmdroot.Foundation.BOOL OffsetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, int x, int y) 699 winmdroot.Foundation.BOOL __result = PInvokeCore.OffsetViewportOrgEx(hdc, x, y, default(global::System.Drawing.Point* )); 714 internal static extern unsafe winmdroot.Foundation.BOOL OffsetViewportOrgEx(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, [Optional] global::System.Drawing.Point* lppt); 724 internal static extern winmdroot.Foundation.BOOL DeleteMetaFile(winmdroot.Graphics.Gdi.HMETAFILE hmf); 754 internal static extern winmdroot.Foundation.BOOL Rectangle(winmdroot.Graphics.Gdi.HDC hdc, int left, int top, int right, int bottom); 765 internal static extern winmdroot.Foundation.BOOL RestoreDC(winmdroot.Graphics.Gdi.HDC hdc, int nSavedDC); 830 internal static extern winmdroot.Graphics.Gdi.HPALETTE SelectPalette(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HPALETTE hPal, winmdroot.Foundation.BOOL bForceBkgd);
_generated\196\Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (9)
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); 224 /// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.PSTR, int, winmdroot.Foundation.PCSTR, winmdroot.Foundation.BOOL*)"/> 227 internal static unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, string lpWideCharStr, int cchWideChar, [Optional] winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, [Optional] string lpDefaultChar, out winmdroot.Foundation.BOOL lpUsedDefaultChar) 229 fixed (winmdroot.Foundation.BOOL* lpUsedDefaultCharLocal = &lpUsedDefaultChar) 242 /// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.PSTR, int, winmdroot.Foundation.PCSTR, winmdroot.Foundation.BOOL*)"/> 250 int __result = PInvokeCore.WideCharToMultiByte(CodePage, dwFlags, lpWideCharStrLocal, cchWideChar, lpMultiByteStr, cbMultiByte, new winmdroot.Foundation.PCSTR (lpDefaultCharLocal), default(winmdroot.Foundation.BOOL* )); 289 internal static extern unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, winmdroot.Foundation.PCWSTR lpWideCharStr, int cchWideChar, [Optional] winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, [Optional] winmdroot.Foundation.PCSTR lpDefaultChar, [Optional] winmdroot.Foundation.BOOL* lpUsedDefaultChar);
_generated\198\Windows.Win32.PInvokeCore.OLEAUT32.dll.g.cs (3)
65 /// <inheritdoc cref="OleCreatePictureIndirect(winmdroot.System.Ole.PICTDESC*, global::System.Guid*, winmdroot.Foundation.BOOL, void**)"/> 68 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) 95 internal static extern unsafe winmdroot.Foundation.HRESULT OleCreatePictureIndirect(winmdroot.System.Ole.PICTDESC* lpPictDesc, global::System.Guid* riid, winmdroot.Foundation.BOOL fOwn, void** lplpvObj);
_generated\199\Windows.Win32.PInvokeCore.SHELL32.dll.g.cs (1)
38 internal static extern void DragAcceptFiles(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL fAccept);
_generated\200\Windows.Win32.PInvokeCore.USER32.dll.g.cs (39)
156 internal static extern winmdroot.Foundation.BOOL DestroyIcon(winmdroot.UI.WindowsAndMessaging.HICON hIcon); 202 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, [Optional] winmdroot.Graphics.Gdi.HBRUSH hbrFlickerFreeDraw, winmdroot.UI.WindowsAndMessaging.DI_FLAGS diFlags); 207 internal static unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, in winmdroot.Graphics.Gdi.PAINTSTRUCT lpPaint) 211 winmdroot.Foundation.BOOL __result = PInvokeCore.EndPaint(hWnd, lpPaintLocal); 226 internal static extern unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.PAINTSTRUCT* lpPaint); 250 internal static extern unsafe winmdroot.Foundation.BOOL EnumChildWindows([Optional] 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); 255 internal static unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors([Optional] 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) 258 winmdroot.Foundation.BOOL __result = PInvokeCore.EnumDisplayMonitors(hdc, lprcClip.HasValue ? &lprcClipLocal : null, lpfnEnum, dwData); 283 internal static extern unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors([Optional] 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); 306 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); 326 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); 331 internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 335 winmdroot.Foundation.BOOL __result = PInvokeCore.GetClientRect(hWnd, lpRectLocal); 355 internal static extern unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 462 internal static unsafe winmdroot.Foundation.BOOL GetIconInfo(winmdroot.UI.WindowsAndMessaging.HICON hIcon, out winmdroot.UI.WindowsAndMessaging.ICONINFO piconinfo) 466 winmdroot.Foundation.BOOL __result = PInvokeCore.GetIconInfo(hIcon, piconinfoLocal); 486 internal static extern unsafe winmdroot.Foundation.BOOL GetIconInfo(winmdroot.UI.WindowsAndMessaging.HICON hIcon, winmdroot.UI.WindowsAndMessaging.ICONINFO* piconinfo); 491 internal static unsafe winmdroot.Foundation.BOOL GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR hMonitor, ref winmdroot.Graphics.Gdi.MONITORINFO lpmi) 495 winmdroot.Foundation.BOOL __result = PInvokeCore.GetMonitorInfo(hMonitor, lpmiLocal); 515 internal static extern unsafe winmdroot.Foundation.BOOL GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR hMonitor, winmdroot.Graphics.Gdi.MONITORINFO* lpmi); 559 internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 563 winmdroot.Foundation.BOOL __result = PInvokeCore.GetWindowRect(hWnd, lpRectLocal); 586 internal static extern unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 694 internal static extern winmdroot.Foundation.BOOL DestroyCursor(winmdroot.UI.WindowsAndMessaging.HCURSOR hCursor); 810 internal static unsafe winmdroot.Foundation.BOOL PeekMessage(out winmdroot.UI.WindowsAndMessaging.MSG lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE wRemoveMsg) 814 winmdroot.Foundation.BOOL __result = PInvokeCore.PeekMessage(lpMsgLocal, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg); 848 internal static extern unsafe winmdroot.Foundation.BOOL PeekMessage(winmdroot.UI.WindowsAndMessaging.MSG* lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE wRemoveMsg); 877 internal static extern winmdroot.Foundation.BOOL PostMessage([Optional] winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 951 internal static unsafe winmdroot.Foundation.BOOL SystemParametersInfo(winmdroot.UI.WindowsAndMessaging.SYSTEM_PARAMETERS_INFO_ACTION uiAction, uint uiParam, winmdroot.UI.WindowsAndMessaging.SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS fWinIni) 953 winmdroot.Foundation.BOOL __result = PInvokeCore.SystemParametersInfo(uiAction, uiParam, default(void* ), fWinIni); 984 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); 988 internal static unsafe winmdroot.Foundation.BOOL SystemParametersInfoForDpi(uint uiAction, uint uiParam, uint fWinIni, uint dpi) 990 winmdroot.Foundation.BOOL __result = PInvokeCore.SystemParametersInfoForDpi(uiAction, uiParam, default(void* ), fWinIni, dpi); 1009 internal static extern unsafe winmdroot.Foundation.BOOL SystemParametersInfoForDpi(uint uiAction, uint uiParam, [Optional] void* pvParam, uint fWinIni, uint dpi);
_generated\230\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)
_generated\246\Windows.Win32.System_Com_ITypeLib_Extensions.g.cs (3)
82 /// <inheritdoc cref="winmdroot.System.Com.ITypeLib.Interface.IsName(winmdroot.Foundation.PWSTR, uint, winmdroot.Foundation.BOOL*)"/> 83 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) 86 fixed (winmdroot.Foundation.BOOL* pfNameLocal = &pfName)
_generated\252\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)
_generated\263\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)
_generated\60\Windows.Win32.DROPFILES.g.cs (2)
46 internal winmdroot.Foundation.BOOL fNC; 52 internal winmdroot.Foundation.BOOL fWide;
_generated\80\Windows.Win32.GdiplusStartupInput.g.cs (2)
29 internal winmdroot.Foundation.BOOL SuppressBackgroundThread; 31 internal winmdroot.Foundation.BOOL SuppressExternalCodecs;
_generated\9\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);
System\Private\Windows\Ole\Composition.cs (1)
223public 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)
93public 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\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;