mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -168,7 +168,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
public class SafeCompatibleDCHandle : SafeDCHandle {
|
||||
[DllImport("gdi32", SetLastError = true)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
private static extern bool DeleteDC(IntPtr hDC);
|
||||
private static extern bool DeleteDC(IntPtr hDC);
|
||||
|
||||
/// <summary>
|
||||
/// Needed for marshalling return values
|
||||
|
@ -367,7 +367,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
// V5
|
||||
bV5RedMask = (uint)255 << 16;
|
||||
bV5GreenMask = (uint)255 << 8;
|
||||
bV5BlueMask = (uint)255;
|
||||
bV5BlueMask = 255;
|
||||
bV5AlphaMask = (uint)255 << 24;
|
||||
bV5CSType = 1934772034; // sRGB
|
||||
bV5Endpoints = new CIEXYZTRIPLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue