9 references to DeviceCap
ReachFramework (9)
MS\Internal\Printing\Configuration\UnsafeNativeMethods.cs (1)
282
public static extern int GetDeviceCaps(HandleRef hdc,
DeviceCap
capability);
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (8)
67
logicalPixelsX = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.LOGPIXELSX);
68
logicalPixelsY = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.LOGPIXELSY);
69
physicalWidth = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.PHYSICALWIDTH);
70
physicalHeight = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.PHYSICALHEIGHT);
71
physicalOffsetX = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.PHYSICALOFFSETX);
72
physicalOffsetY = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.PHYSICALOFFSETY);
73
horizontalResolution = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.HORZRES);
74
verticalResolution = UnsafeNativeMethods.GetDeviceCaps(hdcRef,
DeviceCap
.VERTRES);