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