20 references to GET_DEVICE_CAPS_INDEX
System.Private.Windows.Core (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvokeCore.GDI32.dll.g.cs (1)
449
internal static int GetDeviceCaps([Optional] winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.
GET_DEVICE_CAPS_INDEX
index)
System.Private.Windows.GdiPlus (1)
Windows\Win32\Graphics\Gdi\HdcExtensions.cs (1)
22
if (PInvokeCore.GetDeviceCaps(hdc.Handle,
GET_DEVICE_CAPS_INDEX
.BITSPIXEL) > 8)
System.Windows.Forms (16)
System\Windows\Forms\ActiveX\AxHost.cs (2)
1064
s_logPixelsX = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSX);
1065
s_logPixelsY = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSY);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
283
s_logPixels.X = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSX);
284
s_logPixels.Y = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSY);
System\Windows\Forms\Control.MetafileDCWrapper.cs (2)
42
int planes = PInvokeCore.GetDeviceCaps(HDC,
GET_DEVICE_CAPS_INDEX
.PLANES);
43
int bitsPixel = PInvokeCore.GetDeviceCaps(HDC,
GET_DEVICE_CAPS_INDEX
.BITSPIXEL);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
1704
int planes = PInvokeCore.GetDeviceCaps(compatibleDC,
GET_DEVICE_CAPS_INDEX
.PLANES);
1705
int bitsPixel = PInvokeCore.GetDeviceCaps(compatibleDC,
GET_DEVICE_CAPS_INDEX
.BITSPIXEL);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
2868
s_logPixelsX = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSX);
2869
s_logPixelsY = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSY);
System\Windows\Forms\Controls\WebBrowser\WebBrowserHelper.cs (2)
69
s_logPixelsX = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSX);
84
s_logPixelsY = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSY);
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
499
PInvokeCore.GetDeviceCaps(hdc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSX),
500
PInvokeCore.GetDeviceCaps(hdc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSY));
System\Windows\Forms\Screen.cs (2)
88
_bitDepth = PInvokeCore.GetDeviceCaps(screenDC,
GET_DEVICE_CAPS_INDEX
.BITSPIXEL);
89
_bitDepth *= PInvokeCore.GetDeviceCaps(screenDC,
GET_DEVICE_CAPS_INDEX
.PLANES);
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
888
int lpy = PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSY);
System\Windows\Forms\Internals\ScaleHelper.cs (1)
73
return PInvokeCore.GetDeviceCaps(dc,
GET_DEVICE_CAPS_INDEX
.LOGPIXELSX);