mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
This should fix most icon scaling issues
Improved the IniReader a bit and replaced some old code.
This commit is contained in:
parent
41baf27d84
commit
4a958be8b5
35 changed files with 2767 additions and 301 deletions
|
@ -1,42 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GreenshotWin10Plugin.Native
|
||||
{
|
||||
/// <summary>
|
||||
/// The HRESULT represents Windows error codes
|
||||
/// See <a href="https://en.wikipedia.org/wiki/HRESULT">wikipedia</a>
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
public enum HResult
|
||||
{
|
||||
#pragma warning disable 1591
|
||||
S_OK = 0,
|
||||
S_FALSE = 1,
|
||||
E_FAIL = unchecked((int)0x80004005),
|
||||
E_INVALIDARG = unchecked((int)0x80070057),
|
||||
E_NOTIMPL = unchecked((int)0x80004001),
|
||||
E_POINTER = unchecked((int)0x80004003),
|
||||
E_PENDING = unchecked((int)0x8000000A),
|
||||
E_NOINTERFACE = unchecked((int)0x80004002),
|
||||
E_ABORT = unchecked((int)0x80004004),
|
||||
E_ACCESSDENIED = unchecked((int)0x80070006),
|
||||
E_HANDLE = unchecked((int)0x80070006),
|
||||
E_UNEXPECTED = unchecked((int)0x8000FFFF),
|
||||
E_FILENOTFOUND = unchecked((int)0x80070002),
|
||||
E_PATHNOTFOUND = unchecked((int)0x80070003),
|
||||
E_INVALID_DATA = unchecked((int)0x8007000D),
|
||||
E_OUTOFMEMORY = unchecked((int)0x8007000E),
|
||||
E_INSUFFICIENT_BUFFER = unchecked((int)0x8007007A),
|
||||
WSAECONNABORTED = unchecked((int)0x80072745),
|
||||
WSAECONNRESET = unchecked((int)0x80072746),
|
||||
ERROR_TOO_MANY_CMDS = unchecked((int)0x80070038),
|
||||
ERROR_NOT_SUPPORTED = unchecked((int)0x80070032),
|
||||
TYPE_E_ELEMENTNOTFOUND = unchecked((int)0x8002802B)
|
||||
#pragma warning restore 1591
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue