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