static extern int GetDeviceCaps(IntPtr hdc, DeviceCapsIndex index);
private static extern int GetDeviceCaps(IntPtr hdc, DeviceCapsIndex nIndex);
public static extern int GetDeviceCaps(IntPtr hdc, DeviceCapsIndex nIndex);