2 references to GetDeviceCaps
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
271
int sysBitDepth = NativeMethods.
GetDeviceCaps
(hdcDesktop, (int)NativeMethods.DeviceCap.BITSPIXEL);
272
sysBitDepth *= NativeMethods.
GetDeviceCaps
(hdcDesktop, (int)NativeMethods.DeviceCap.PLANES);