373 references to PInvokeCore
System.Private.Windows.Core (368)
Windows\Win32\Foundation\COLORREF.cs (1)
10/// Never convert native constants (such as <see cref="PInvokeCore.CLR_NONE"/> to <see cref="Color"/> or pass them through
Windows\Win32\Graphics\Gdi\BeginPaintScope.cs (3)
9/// Helper to scope lifetime of an HDC retrieved via <see cref="PInvokeCore.BeginPaint(HWND, out PAINTSTRUCT)"/> 31HDC = PInvokeCore.BeginPaint(hwnd, out _paintStruct); 41PInvokeCore.EndPaint(HWND, _paintStruct);
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (6)
7/// Helper to scope lifetime of a <see cref="Gdi.HBITMAP"/> created via <see cref="PInvokeCore.CreateBitmap"/> 25/// Creates a bitmap using <see cref="PInvokeCore.CreateBitmap"/> 28HBITMAP = PInvokeCore.CreateBitmap(nWidth, nHeight, nPlanes, nBitCount, lpvBits); 32/// <see cref="PInvokeCore.CreateCompatibleBitmap(HDC, int, int)"/> 34public CreateBitmapScope(HDC hdc, int cx, int cy) => HBITMAP = PInvokeCore.CreateCompatibleBitmap(hdc, cx, cy); 46PInvokeCore.DeleteObject(HBITMAP);
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (4)
27/// Creates a solid brush based on the <paramref name="color"/> using <see cref="PInvokeCore.CreateSolidBrush(COLORREF)"/>. 32? PInvokeCore.GetSysColorBrush(color) 33: PInvokeCore.CreateSolidBrush(color); 48PInvokeCore.DeleteObject(HBRUSH);
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (5)
25/// Creates a compatible HDC for <paramref name="hdc"/> using <see cref="PInvokeCore.CreateCompatibleDC(HDC)"/>. 34HDC = PInvokeCore.CreateCompatibleDC(hdc); 47? PInvokeCore.CreateICW(driver, device, null, lpInitData) 48: PInvokeCore.CreateDCW(driver, device, null, lpInitData); 63PInvokeCore.DeleteDC(HDC);
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (3)
27/// <see cref="PInvokeCore.CreatePen(PEN_STYLE, int, COLORREF)" />. 30HPEN = PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, width, color); 41PInvokeCore.DeleteObject(HPEN);
Windows\Win32\Graphics\Gdi\GetDcScope.cs (7)
7/// Helper to scope lifetime of an <see cref="Gdi.HDC"/> retrieved via <see cref="PInvokeCore.GetDC(HWND)"/> and 8/// <see cref="PInvokeCore.GetDCEx(HWND, HRGN, GET_DCX_FLAGS)"/>. Releases the <see cref="Gdi.HDC"/> (if any) 25HDC = PInvokeCore.GetDC(hwnd); 29/// Creates a <see cref="Gdi.HDC"/> using <see cref="PInvokeCore.GetDCEx(HWND, HRGN, GET_DCX_FLAGS)"/>. 43HDC = PInvokeCore.GetDCEx(hwnd, hrgnClip, flags); 51/// <see cref="PInvokeCore.CreateDCW(PCWSTR, PCWSTR, PCWSTR, DEVMODEW*)" /> is the 66PInvokeCore.ReleaseDC(HWND, HDC);
Windows\Win32\Graphics\Gdi\HBITMAP.cs (1)
12PInvokeCore.DeleteObject(this);
Windows\Win32\Graphics\Gdi\HdcHandle.cs (1)
33PInvokeCore.DeleteDC(Handle);
Windows\Win32\Graphics\Gdi\HRGN.cs (2)
10uint regionDataSize = PInvokeCore.GetRegionData(this, 0, lpRgnData: null); 20if (PInvokeCore.GetRegionData(this, regionDataSize, (RGNDATA*)b) != regionDataSize)
Windows\Win32\Graphics\Gdi\ObjectScope.cs (1)
32PInvokeCore.DeleteObject(HGDIOBJ);
Windows\Win32\Graphics\Gdi\RegionScope.cs (9)
26/// Creates a region with the given rectangle via <see cref="PInvokeCore.CreateRectRgn(int, int, int, int)"/>. 29Region = PInvokeCore.CreateRectRgn(rectangle.X, rectangle.Y, rectangle.Right, rectangle.Bottom); 32/// Creates a region with the given rectangle via <see cref="PInvokeCore.CreateRectRgn(int, int, int, int)"/>. 35Region = PInvokeCore.CreateRectRgn(x1, y1, x2, y2); 38/// Creates a clipping region copy via <see cref="PInvokeCore.GetClipRgn(HDC, HRGN)"/> for the given device context. 43HRGN region = PInvokeCore.CreateRectRgn(0, 0, 0, 0); 44int result = PInvokeCore.GetClipRgn(hdc, region); 54PInvokeCore.DeleteObject(region); 88PInvokeCore.DeleteObject(Region);
Windows\Win32\Graphics\Gdi\SaveDcScope.cs (3)
29/// Saves the device context state using <see cref="PInvokeCore.SaveDC(HDC)"/>. 34_savedState = PInvokeCore.SaveDC(hdc); 42PInvokeCore.RestoreDC(HDC, _savedState);
Windows\Win32\Graphics\Gdi\SelectObjectScope.cs (3)
27/// <see cref="PInvokeCore.SelectObject(HDC, HGDIOBJ)"/>. 41PreviousObject = PInvokeCore.SelectObject(hdc, @object); 49PInvokeCore.SelectObject(_hdc, PreviousObject);
Windows\Win32\Graphics\Gdi\SelectPaletteScope.cs (3)
27HPALETTE = PInvokeCore.SelectPalette(hdc, hpalette, forceBackground); 30PInvokeCore.RealizePalette(hdc); 40PInvokeCore.SelectPalette(HDC, HPALETTE, bForceBkgd: false);
Windows\Win32\Graphics\Gdi\SetBackgroundColorScope.cs (3)
23/// <see cref="PInvokeCore.SetBkColor(HDC, COLORREF)"/>. 27_previousColor = PInvokeCore.SetBkColor(hdc, color); 37PInvokeCore.SetBkColor(_hdc, _previousColor);
Windows\Win32\Graphics\Gdi\SetBkModeScope.cs (2)
30_previousMode = (BACKGROUND_MODE)PInvokeCore.SetBkMode(hdc, bkmode); 40PInvokeCore.SetBkMode(_hdc, _previousMode);
Windows\Win32\Graphics\Gdi\SetMapModeScope.cs (3)
27/// <see cref="PInvokeCore.SetMapMode(HDC, HDC_MAP_MODE)"/>. 31_previousMapMode = (HDC_MAP_MODE)PInvokeCore.SetMapMode(hdc, mapMode); 41PInvokeCore.SetMapMode(_hdc, _previousMapMode);
Windows\Win32\Graphics\Gdi\SetRop2Scope.cs (3)
26/// Selects <paramref name="rop2"/> into the given <paramref name="hdc"/> using <see cref="PInvokeCore.SetROP2(HDC, R2_MODE)"/>. 30_previousRop = (R2_MODE)PInvokeCore.SetROP2(hdc, rop2); 40PInvokeCore.SetROP2(_hdc, _previousRop);
Windows\Win32\Graphics\Gdi\SetTextAlignmentScope.cs (3)
27/// using <see cref="PInvokeCore.SetTextAlign(HDC, TEXT_ALIGN_OPTIONS)"/>. 31_previousTa = (TEXT_ALIGN_OPTIONS)PInvokeCore.SetTextAlign(hdc, ta); 41PInvokeCore.SetTextAlign(_hdc, _previousTa);
Windows\Win32\Graphics\Gdi\SetTextColorScope.cs (3)
27/// <see cref="PInvokeCore.SetTextColor(HDC, COLORREF)"/>. 31_previousColor = PInvokeCore.SetTextColor(hdc, color); 41PInvokeCore.SetTextColor(_hdc, _previousColor);
Windows\Win32\MessageId.cs (281)
22public const uint WM_REFLECT = PInvokeCore.WM_USER + 0x1C00; 23public const uint WM_REFLECT_NOTIFY = WM_REFLECT + PInvokeCore.WM_NOTIFY; 24public const uint WM_REFLECT_NOTIFYFORMAT = WM_REFLECT + PInvokeCore.WM_NOTIFYFORMAT; 25public const uint WM_REFLECT_COMMAND = WM_REFLECT + PInvokeCore.WM_COMMAND; 26public const uint WM_REFLECT_CHARTOITEM = WM_REFLECT + PInvokeCore.WM_CHARTOITEM; 27public const uint WM_REFLECT_VKEYTOITEM = WM_REFLECT + PInvokeCore.WM_VKEYTOITEM; 28public const uint WM_REFLECT_DRAWITEM = WM_REFLECT + PInvokeCore.WM_DRAWITEM; 29public const uint WM_REFLECT_MEASUREITEM = WM_REFLECT + PInvokeCore.WM_MEASUREITEM; 30public const uint WM_REFLECT_HSCROLL = WM_REFLECT + PInvokeCore.WM_HSCROLL; 31public const uint WM_REFLECT_VSCROLL = WM_REFLECT + PInvokeCore.WM_VSCROLL; 32public const uint WM_REFLECT_CTLCOLOR = WM_REFLECT + PInvokeCore.WM_CTLCOLOR; 33public const uint WM_REFLECT_CTLCOLORBTN = WM_REFLECT + PInvokeCore.WM_CTLCOLORBTN; 34public const uint WM_REFLECT_CTLCOLORDLG = WM_REFLECT + PInvokeCore.WM_CTLCOLORDLG; 35public const uint WM_REFLECT_CTLCOLORMSGBOX = WM_REFLECT + PInvokeCore.WM_CTLCOLORMSGBOX; 36public const uint WM_REFLECT_CTLCOLORSCROLLBAR = WM_REFLECT + PInvokeCore.WM_CTLCOLORSCROLLBAR; 37public const uint WM_REFLECT_CTLCOLOREDIT = WM_REFLECT + PInvokeCore.WM_CTLCOLOREDIT; 38public const uint WM_REFLECT_CTLCOLORLISTBOX = WM_REFLECT + PInvokeCore.WM_CTLCOLORLISTBOX; 39public const uint WM_REFLECT_CTLCOLORSTATIC = WM_REFLECT + PInvokeCore.WM_CTLCOLORSTATIC; 48PInvokeCore.WM_NULL => "WM_NULL", 49PInvokeCore.WM_CREATE => "WM_CREATE", 50PInvokeCore.WM_DESTROY => "WM_DESTROY", 51PInvokeCore.WM_MOVE => "WM_MOVE", 52PInvokeCore.WM_SIZE => "WM_SIZE", 53PInvokeCore.WM_ACTIVATE => "WM_ACTIVATE", 54PInvokeCore.WM_SETFOCUS => "WM_SETFOCUS", 55PInvokeCore.WM_KILLFOCUS => "WM_KILLFOCUS", 56PInvokeCore.WM_ENABLE => "WM_ENABLE", 57PInvokeCore.WM_SETREDRAW => "WM_SETREDRAW", 58PInvokeCore.WM_SETTEXT => "WM_SETTEXT", 59PInvokeCore.WM_GETTEXT => "WM_GETTEXT", 60PInvokeCore.WM_GETTEXTLENGTH => "WM_GETTEXTLENGTH", 61PInvokeCore.WM_PAINT => "WM_PAINT", 62PInvokeCore.WM_CLOSE => "WM_CLOSE", 63PInvokeCore.WM_QUERYENDSESSION => "WM_QUERYENDSESSION", 64PInvokeCore.WM_QUIT => "WM_QUIT", 65PInvokeCore.WM_QUERYOPEN => "WM_QUERYOPEN", 66PInvokeCore.WM_ERASEBKGND => "WM_ERASEBKGND", 67PInvokeCore.WM_SYSCOLORCHANGE => "WM_SYSCOLORCHANGE", 68PInvokeCore.WM_ENDSESSION => "WM_ENDSESSION", 69PInvokeCore.WM_SHOWWINDOW => "WM_SHOWWINDOW", 70PInvokeCore.WM_WININICHANGE => "WM_WININICHANGE", 71PInvokeCore.WM_DEVMODECHANGE => "WM_DEVMODECHANGE", 72PInvokeCore.WM_ACTIVATEAPP => "WM_ACTIVATEAPP", 73PInvokeCore.WM_FONTCHANGE => "WM_FONTCHANGE", 74PInvokeCore.WM_TIMECHANGE => "WM_TIMECHANGE", 75PInvokeCore.WM_CANCELMODE => "WM_CANCELMODE", 76PInvokeCore.WM_SETCURSOR => "WM_SETCURSOR", 77PInvokeCore.WM_MOUSEACTIVATE => "WM_MOUSEACTIVATE", 78PInvokeCore.WM_CHILDACTIVATE => "WM_CHILDACTIVATE", 79PInvokeCore.WM_QUEUESYNC => "WM_QUEUESYNC", 80PInvokeCore.WM_GETMINMAXINFO => "WM_GETMINMAXINFO", 81PInvokeCore.WM_PAINTICON => "WM_PAINTICON", 82PInvokeCore.WM_ICONERASEBKGND => "WM_ICONERASEBKGND", 83PInvokeCore.WM_NEXTDLGCTL => "WM_NEXTDLGCTL", 84PInvokeCore.WM_SPOOLERSTATUS => "WM_SPOOLERSTATUS", 85PInvokeCore.WM_DRAWITEM => "WM_DRAWITEM", 86PInvokeCore.WM_MEASUREITEM => "WM_MEASUREITEM", 87PInvokeCore.WM_DELETEITEM => "WM_DELETEITEM", 88PInvokeCore.WM_VKEYTOITEM => "WM_VKEYTOITEM", 89PInvokeCore.WM_CHARTOITEM => "WM_CHARTOITEM", 90PInvokeCore.WM_SETFONT => "WM_SETFONT", 91PInvokeCore.WM_GETFONT => "WM_GETFONT", 92PInvokeCore.WM_SETHOTKEY => "WM_SETHOTKEY", 93PInvokeCore.WM_GETHOTKEY => "WM_GETHOTKEY", 94PInvokeCore.WM_QUERYDRAGICON => "WM_QUERYDRAGICON", 95PInvokeCore.WM_COMPAREITEM => "WM_COMPAREITEM", 96PInvokeCore.WM_GETOBJECT => "WM_GETOBJECT", 97PInvokeCore.WM_COMPACTING => "WM_COMPACTING", 98PInvokeCore.WM_COMMNOTIFY => "WM_COMMNOTIFY", 99PInvokeCore.WM_WINDOWPOSCHANGING => "WM_WINDOWPOSCHANGING", 100PInvokeCore.WM_WINDOWPOSCHANGED => "WM_WINDOWPOSCHANGED", 101PInvokeCore.WM_POWER => "WM_POWER", 102PInvokeCore.WM_COPYDATA => "WM_COPYDATA", 103PInvokeCore.WM_CANCELJOURNAL => "WM_CANCELJOURNAL", 104PInvokeCore.WM_NOTIFY => "WM_NOTIFY", 105PInvokeCore.WM_INPUTLANGCHANGEREQUEST => "WM_INPUTLANGCHANGEREQUEST", 106PInvokeCore.WM_INPUTLANGCHANGE => "WM_INPUTLANGCHANGE", 107PInvokeCore.WM_TCARD => "WM_TCARD", 108PInvokeCore.WM_HELP => "WM_HELP", 109PInvokeCore.WM_USERCHANGED => "WM_USERCHANGED", 110PInvokeCore.WM_NOTIFYFORMAT => "WM_NOTIFYFORMAT", 111PInvokeCore.WM_CONTEXTMENU => "WM_CONTEXTMENU", 112PInvokeCore.WM_STYLECHANGING => "WM_STYLECHANGING", 113PInvokeCore.WM_STYLECHANGED => "WM_STYLECHANGED", 114PInvokeCore.WM_DISPLAYCHANGE => "WM_DISPLAYCHANGE", 115PInvokeCore.WM_GETICON => "WM_GETICON", 116PInvokeCore.WM_SETICON => "WM_SETICON", 117PInvokeCore.WM_NCCREATE => "WM_NCCREATE", 118PInvokeCore.WM_NCDESTROY => "WM_NCDESTROY", 119PInvokeCore.WM_NCCALCSIZE => "WM_NCCALCSIZE", 120PInvokeCore.WM_NCHITTEST => "WM_NCHITTEST", 121PInvokeCore.WM_NCPAINT => "WM_NCPAINT", 122PInvokeCore.WM_NCACTIVATE => "WM_NCACTIVATE", 123PInvokeCore.WM_GETDLGCODE => "WM_GETDLGCODE", 124PInvokeCore.WM_NCMOUSEMOVE => "WM_NCMOUSEMOVE", 125PInvokeCore.WM_NCLBUTTONDOWN => "WM_NCLBUTTONDOWN", 126PInvokeCore.WM_NCLBUTTONUP => "WM_NCLBUTTONUP", 127PInvokeCore.WM_NCLBUTTONDBLCLK => "WM_NCLBUTTONDBLCLK", 128PInvokeCore.WM_NCRBUTTONDOWN => "WM_NCRBUTTONDOWN", 129PInvokeCore.WM_NCRBUTTONUP => "WM_NCRBUTTONUP", 130PInvokeCore.WM_NCRBUTTONDBLCLK => "WM_NCRBUTTONDBLCLK", 131PInvokeCore.WM_NCMBUTTONDOWN => "WM_NCMBUTTONDOWN", 132PInvokeCore.WM_NCMBUTTONUP => "WM_NCMBUTTONUP", 133PInvokeCore.WM_NCMBUTTONDBLCLK => "WM_NCMBUTTONDBLCLK", 134PInvokeCore.WM_KEYDOWN => "WM_KEYDOWN", 135PInvokeCore.WM_KEYUP => "WM_KEYUP", 136PInvokeCore.WM_CHAR => "WM_CHAR", 137PInvokeCore.WM_DEADCHAR => "WM_DEADCHAR", 138PInvokeCore.WM_SYSKEYDOWN => "WM_SYSKEYDOWN", 139PInvokeCore.WM_SYSKEYUP => "WM_SYSKEYUP", 140PInvokeCore.WM_SYSCHAR => "WM_SYSCHAR", 141PInvokeCore.WM_SYSDEADCHAR => "WM_SYSDEADCHAR", 142PInvokeCore.WM_KEYLAST => "WM_KEYLAST", 143PInvokeCore.WM_IME_STARTCOMPOSITION => "WM_IME_STARTCOMPOSITION", 144PInvokeCore.WM_IME_ENDCOMPOSITION => "WM_IME_ENDCOMPOSITION", 145PInvokeCore.WM_IME_COMPOSITION => "WM_IME_COMPOSITION", 146PInvokeCore.WM_INITDIALOG => "WM_INITDIALOG", 147PInvokeCore.WM_COMMAND => "WM_COMMAND", 148PInvokeCore.WM_SYSCOMMAND => "WM_SYSCOMMAND", 149PInvokeCore.WM_TIMER => "WM_TIMER", 150PInvokeCore.WM_HSCROLL => "WM_HSCROLL", 151PInvokeCore.WM_VSCROLL => "WM_VSCROLL", 152PInvokeCore.WM_INITMENU => "WM_INITMENU", 153PInvokeCore.WM_INITMENUPOPUP => "WM_INITMENUPOPUP", 154PInvokeCore.WM_MENUSELECT => "WM_MENUSELECT", 155PInvokeCore.WM_MENUCHAR => "WM_MENUCHAR", 156PInvokeCore.WM_ENTERIDLE => "WM_ENTERIDLE", 157PInvokeCore.WM_CTLCOLORMSGBOX => "WM_CTLCOLORMSGBOX", 158PInvokeCore.WM_CTLCOLOREDIT => "WM_CTLCOLOREDIT", 159PInvokeCore.WM_CTLCOLORLISTBOX => "WM_CTLCOLORLISTBOX", 160PInvokeCore.WM_CTLCOLORBTN => "WM_CTLCOLORBTN", 161PInvokeCore.WM_CTLCOLORDLG => "WM_CTLCOLORDLG", 162PInvokeCore.WM_CTLCOLORSCROLLBAR => "WM_CTLCOLORSCROLLBAR", 163PInvokeCore.WM_CTLCOLORSTATIC => "WM_CTLCOLORSTATIC", 164PInvokeCore.WM_MOUSEMOVE => "WM_MOUSEMOVE", 165PInvokeCore.WM_LBUTTONDOWN => "WM_LBUTTONDOWN", 166PInvokeCore.WM_LBUTTONUP => "WM_LBUTTONUP", 167PInvokeCore.WM_LBUTTONDBLCLK => "WM_LBUTTONDBLCLK", 168PInvokeCore.WM_RBUTTONDOWN => "WM_RBUTTONDOWN", 169PInvokeCore.WM_RBUTTONUP => "WM_RBUTTONUP", 170PInvokeCore.WM_RBUTTONDBLCLK => "WM_RBUTTONDBLCLK", 171PInvokeCore.WM_MBUTTONDOWN => "WM_MBUTTONDOWN", 172PInvokeCore.WM_MBUTTONUP => "WM_MBUTTONUP", 173PInvokeCore.WM_MBUTTONDBLCLK => "WM_MBUTTONDBLCLK", 174PInvokeCore.WM_MOUSEWHEEL => "WM_MOUSEWHEEL", 175PInvokeCore.WM_PARENTNOTIFY => "WM_PARENTNOTIFY", 176PInvokeCore.WM_ENTERMENULOOP => "WM_ENTERMENULOOP", 177PInvokeCore.WM_EXITMENULOOP => "WM_EXITMENULOOP", 178PInvokeCore.WM_NEXTMENU => "WM_NEXTMENU", 179PInvokeCore.WM_SIZING => "WM_SIZING", 180PInvokeCore.WM_CAPTURECHANGED => "WM_CAPTURECHANGED", 181PInvokeCore.WM_MOVING => "WM_MOVING", 182PInvokeCore.WM_POWERBROADCAST => "WM_POWERBROADCAST", 183PInvokeCore.WM_DEVICECHANGE => "WM_DEVICECHANGE", 184PInvokeCore.WM_IME_SETCONTEXT => "WM_IME_SETCONTEXT", 185PInvokeCore.WM_IME_NOTIFY => "WM_IME_NOTIFY", 186PInvokeCore.WM_IME_CONTROL => "WM_IME_CONTROL", 187PInvokeCore.WM_IME_COMPOSITIONFULL => "WM_IME_COMPOSITIONFULL", 188PInvokeCore.WM_IME_SELECT => "WM_IME_SELECT", 189PInvokeCore.WM_IME_CHAR => "WM_IME_CHAR", 190PInvokeCore.WM_IME_KEYDOWN => "WM_IME_KEYDOWN", 191PInvokeCore.WM_IME_KEYUP => "WM_IME_KEYUP", 192PInvokeCore.WM_MDICREATE => "WM_MDICREATE", 193PInvokeCore.WM_MDIDESTROY => "WM_MDIDESTROY", 194PInvokeCore.WM_MDIACTIVATE => "WM_MDIACTIVATE", 195PInvokeCore.WM_MDIRESTORE => "WM_MDIRESTORE", 196PInvokeCore.WM_MDINEXT => "WM_MDINEXT", 197PInvokeCore.WM_MDIMAXIMIZE => "WM_MDIMAXIMIZE", 198PInvokeCore.WM_MDITILE => "WM_MDITILE", 199PInvokeCore.WM_MDICASCADE => "WM_MDICASCADE", 200PInvokeCore.WM_MDIICONARRANGE => "WM_MDIICONARRANGE", 201PInvokeCore.WM_MDIGETACTIVE => "WM_MDIGETACTIVE", 202PInvokeCore.WM_MDISETMENU => "WM_MDISETMENU", 203PInvokeCore.WM_ENTERSIZEMOVE => "WM_ENTERSIZEMOVE", 204PInvokeCore.WM_EXITSIZEMOVE => "WM_EXITSIZEMOVE", 205PInvokeCore.WM_DROPFILES => "WM_DROPFILES", 206PInvokeCore.WM_MDIREFRESHMENU => "WM_MDIREFRESHMENU", 207PInvokeCore.WM_MOUSEHOVER => "WM_MOUSEHOVER", 208PInvokeCore.WM_MOUSELEAVE => "WM_MOUSELEAVE", 209PInvokeCore.WM_CUT => "WM_CUT", 210PInvokeCore.WM_COPY => "WM_COPY", 211PInvokeCore.WM_PASTE => "WM_PASTE", 212PInvokeCore.WM_CLEAR => "WM_CLEAR", 213PInvokeCore.WM_UNDO => "WM_UNDO", 214PInvokeCore.WM_RENDERFORMAT => "WM_RENDERFORMAT", 215PInvokeCore.WM_RENDERALLFORMATS => "WM_RENDERALLFORMATS", 216PInvokeCore.WM_DESTROYCLIPBOARD => "WM_DESTROYCLIPBOARD", 217PInvokeCore.WM_DRAWCLIPBOARD => "WM_DRAWCLIPBOARD", 218PInvokeCore.WM_PAINTCLIPBOARD => "WM_PAINTCLIPBOARD", 219PInvokeCore.WM_VSCROLLCLIPBOARD => "WM_VSCROLLCLIPBOARD", 220PInvokeCore.WM_SIZECLIPBOARD => "WM_SIZECLIPBOARD", 221PInvokeCore.WM_ASKCBFORMATNAME => "WM_ASKCBFORMATNAME", 222PInvokeCore.WM_CHANGECBCHAIN => "WM_CHANGECBCHAIN", 223PInvokeCore.WM_HSCROLLCLIPBOARD => "WM_HSCROLLCLIPBOARD", 224PInvokeCore.WM_QUERYNEWPALETTE => "WM_QUERYNEWPALETTE", 225PInvokeCore.WM_PALETTEISCHANGING => "WM_PALETTEISCHANGING", 226PInvokeCore.WM_PALETTECHANGED => "WM_PALETTECHANGED", 227PInvokeCore.WM_HOTKEY => "WM_HOTKEY", 228PInvokeCore.WM_PRINT => "WM_PRINT", 229PInvokeCore.WM_PRINTCLIENT => "WM_PRINTCLIENT", 230PInvokeCore.WM_HANDHELDFIRST => "WM_HANDHELDFIRST", 231PInvokeCore.WM_HANDHELDLAST => "WM_HANDHELDLAST", 232PInvokeCore.WM_AFXFIRST => "WM_AFXFIRST", 233PInvokeCore.WM_AFXLAST => "WM_AFXLAST", 234PInvokeCore.WM_PENWINFIRST => "WM_PENWINFIRST", 235PInvokeCore.WM_PENWINLAST => "WM_PENWINLAST", 236PInvokeCore.WM_APP => "WM_APP", 237PInvokeCore.WM_USER => "WM_USER", 238PInvokeCore.WM_CTLCOLOR => "WM_CTLCOLOR", 241PInvokeCore.EM_GETLIMITTEXT => "EM_GETLIMITTEXT", 242PInvokeCore.EM_POSFROMCHAR => "EM_POSFROMCHAR", 243PInvokeCore.EM_CHARFROMPOS => "EM_CHARFROMPOS", 244PInvokeCore.EM_SCROLLCARET => "EM_SCROLLCARET", 245PInvokeCore.EM_CANPASTE => "EM_CANPASTE", 246PInvokeCore.EM_DISPLAYBAND => "EM_DISPLAYBAND", 247PInvokeCore.EM_EXGETSEL => "EM_EXGETSEL", 248PInvokeCore.EM_EXLIMITTEXT => "EM_EXLIMITTEXT", 249PInvokeCore.EM_EXLINEFROMCHAR => "EM_EXLINEFROMCHAR", 250PInvokeCore.EM_EXSETSEL => "EM_EXSETSEL", 251PInvokeCore.EM_FINDTEXT => "EM_FINDTEXT", 252PInvokeCore.EM_FORMATRANGE => "EM_FORMATRANGE", 253PInvokeCore.EM_GETCHARFORMAT => "EM_GETCHARFORMAT", 254PInvokeCore.EM_GETEVENTMASK => "EM_GETEVENTMASK", 255PInvokeCore.EM_GETOLEINTERFACE => "EM_GETOLEINTERFACE", 256PInvokeCore.EM_GETPARAFORMAT => "EM_GETPARAFORMAT", 257PInvokeCore.EM_GETSELTEXT => "EM_GETSELTEXT", 258PInvokeCore.EM_HIDESELECTION => "EM_HIDESELECTION", 259PInvokeCore.EM_PASTESPECIAL => "EM_PASTESPECIAL", 260PInvokeCore.EM_REQUESTRESIZE => "EM_REQUESTRESIZE", 261PInvokeCore.EM_SELECTIONTYPE => "EM_SELECTIONTYPE", 262PInvokeCore.EM_SETBKGNDCOLOR => "EM_SETBKGNDCOLOR", 263PInvokeCore.EM_SETCHARFORMAT => "EM_SETCHARFORMAT", 264PInvokeCore.EM_SETEVENTMASK => "EM_SETEVENTMASK", 265PInvokeCore.EM_SETOLECALLBACK => "EM_SETOLECALLBACK", 266PInvokeCore.EM_SETPARAFORMAT => "EM_SETPARAFORMAT", 267PInvokeCore.EM_SETTARGETDEVICE => "EM_SETTARGETDEVICE", 268PInvokeCore.EM_STREAMIN => "EM_STREAMIN", 269PInvokeCore.EM_STREAMOUT => "EM_STREAMOUT", 270PInvokeCore.EM_GETTEXTRANGE => "EM_GETTEXTRANGE", 271PInvokeCore.EM_FINDWORDBREAK => "EM_FINDWORDBREAK", 272PInvokeCore.EM_SETOPTIONS => "EM_SETOPTIONS", 273PInvokeCore.EM_GETOPTIONS => "EM_GETOPTIONS", 274PInvokeCore.EM_FINDTEXTEX => "EM_FINDTEXTEX", 275PInvokeCore.EM_GETWORDBREAKPROCEX => "EM_GETWORDBREAKPROCEX", 276PInvokeCore.EM_SETWORDBREAKPROCEX => "EM_SETWORDBREAKPROCEX", 279PInvokeCore.EM_SETUNDOLIMIT => "EM_SETUNDOLIMIT", 280PInvokeCore.EM_REDO => "EM_REDO", 281PInvokeCore.EM_CANREDO => "EM_CANREDO", 282PInvokeCore.EM_GETUNDONAME => "EM_GETUNDONAME", 283PInvokeCore.EM_GETREDONAME => "EM_GETREDONAME", 284PInvokeCore.EM_STOPGROUPTYPING => "EM_STOPGROUPTYPING", 285PInvokeCore.EM_SETTEXTMODE => "EM_SETTEXTMODE", 286PInvokeCore.EM_GETTEXTMODE => "EM_GETTEXTMODE", 287PInvokeCore.EM_AUTOURLDETECT => "EM_AUTOURLDETECT", 288PInvokeCore.EM_GETAUTOURLDETECT => "EM_GETAUTOURLDETECT", 289PInvokeCore.EM_SETPALETTE => "EM_SETPALETTE", 290PInvokeCore.EM_GETTEXTEX => "EM_GETTEXTEX", 291PInvokeCore.EM_GETTEXTLENGTHEX => "EM_GETTEXTLENGTHEX", 294PInvokeCore.EM_SETPUNCTUATION => "EM_SETPUNCTUATION", 295PInvokeCore.EM_GETPUNCTUATION => "EM_GETPUNCTUATION", 296PInvokeCore.EM_SETWORDWRAPMODE => "EM_SETWORDWRAPMODE", 297PInvokeCore.EM_GETWORDWRAPMODE => "EM_GETWORDWRAPMODE", 298PInvokeCore.EM_SETIMECOLOR => "EM_SETIMECOLOR", 299PInvokeCore.EM_GETIMECOLOR => "EM_GETIMECOLOR", 300PInvokeCore.EM_SETIMEOPTIONS => "EM_SETIMEOPTIONS", 301PInvokeCore.EM_GETIMEOPTIONS => "EM_GETIMEOPTIONS", 302PInvokeCore.EM_CONVPOSITION => "EM_CONVPOSITION", 303PInvokeCore.EM_SETLANGOPTIONS => "EM_SETLANGOPTIONS", 304PInvokeCore.EM_GETLANGOPTIONS => "EM_GETLANGOPTIONS", 305PInvokeCore.EM_GETIMECOMPMODE => "EM_GETIMECOMPMODE", 306PInvokeCore.EM_FINDTEXTW => "EM_FINDTEXTW", 307PInvokeCore.EM_FINDTEXTEXW => "EM_FINDTEXTEXW", 310PInvokeCore.EM_RECONVERSION => "EM_RECONVERSION", 311PInvokeCore.EM_SETIMEMODEBIAS => "EM_SETIMEMODEBIAS", 312PInvokeCore.EM_GETIMEMODEBIAS => "EM_GETIMEMODEBIAS", 315PInvokeCore.EM_SETBIDIOPTIONS => "EM_SETBIDIOPTIONS", 316PInvokeCore.EM_GETBIDIOPTIONS => "EM_GETBIDIOPTIONS", 317PInvokeCore.EM_SETTYPOGRAPHYOPTIONS => "EM_SETTYPOGRAPHYOPTIONS", 318PInvokeCore.EM_GETTYPOGRAPHYOPTIONS => "EM_GETTYPOGRAPHYOPTIONS", 321PInvokeCore.EM_SETEDITSTYLE => "EM_SETEDITSTYLE", 322PInvokeCore.EM_GETEDITSTYLE => "EM_GETEDITSTYLE",
Windows\Win32\System\Com\ComHelpers.cs (1)
339HRESULT hr = PInvokeCore.LoadRegTypeLib(typeLibrary, majorVersion, minorVersion, 0, typelib);
Windows\Win32\System\Com\GlobalInterfaceTable.cs (1)
22PInvokeCore.CoCreateInstance(
Windows\Win32\System\Com\IDispatch.cs (3)
96int putDispatchID = PInvokeCore.DISPID_PROPERTYPUT; 113PInvokeCore.GetThreadLocale(), 141HRESULT result = GetIDsOfNames(IID.NULL(), (PWSTR*)&n, 1u, PInvokeCore.GetThreadLocale(), &id);
Windows\Win32\System\Com\SAFEARRAY.cs (2)
35return PInvokeCore.SafeArrayCreate(arrayType, 1, &saBound); 65PInvokeCore.SafeArrayGetVartype(pThis, &vt).ThrowOnFailure();
Windows\Win32\System\Com\SafeArrayScope.cs (5)
11/// <see cref="PInvokeCore.SafeArrayCreate(VARENUM, uint, SAFEARRAYBOUND*)"/> 127_value = (nint)PInvokeCore.SafeArrayCreate(vt, 1, &saBound); 214PInvokeCore.SafeArrayGetElement(Value, pIndices, &result).ThrowOnFailure(); 225PInvokeCore.SafeArrayPutElement((SAFEARRAY*)_value, pIndices, value).ThrowOnFailure(); 246PInvokeCore.SafeArrayDestroy(safeArray).ThrowOnFailure();
Windows\Win32\System\Variant\VARIANT.cs (3)
63PInvokeCore.PropVariantClear((PROPVARIANT*)t); 275HRESULT hr = PInvokeCore.SafeArrayLock(psa); 433hr = PInvokeCore.SafeArrayUnlock(psa);
Windows\Win32\UI\Controls\Dialogs\PRINTPAGERANGE.cs (1)
8/// supplied in the <see cref="PRINTDLGEXW"/> structure when calling the <see cref="PInvokeCore.PrintDlgEx"/> function.
Windows\Win32\UI\WindowsAndMessaging\ICONINFO.cs (2)
12PInvokeCore.DeleteObject((HGDIOBJ)hbmMask.Value); 18PInvokeCore.DeleteObject((HGDIOBJ)hbmColor.Value);
System.Private.Windows.GdiPlus (2)
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (1)
40/// the viewport origin are applied (<see cref="PInvokeCore.GetViewportExtEx(HDC, SIZE*)"/>). The clipping
Windows\Win32\Graphics\GdiPlus\GdiPlusInitialization.cs (1)
31/// This should be called anywhere you make <see cref="PInvokeCore"/> calls to GDI+ where you don't
System.Windows.Forms.IntegrationTests.Common (1)
TestHelpers.cs (1)
416/// <seealso cref="PInvokeCore.GetForegroundWindow()"/>
System.Windows.Forms.Primitives (1)
Windows\Win32\System\Com\ComSafeArrayScope.cs (1)
10/// <see cref="PInvokeCore.SafeArrayCreate(VARENUM, uint, SAFEARRAYBOUND*)"/>
System.Windows.Forms.TestUtilities (1)
ControlExtensions.cs (1)
13/// Creates a metafile for the specified <see cref="Control"/> by calling <see cref="PInvokeCore.WM_PRINT"/>.