mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
A bit of refactoring to be able to find some issue...
This commit is contained in:
parent
bef29df3db
commit
42cd533862
308 changed files with 2705 additions and 2454 deletions
67
GreenshotPlugin/UnmanagedHelpers/Enums/Win32Error.cs
Normal file
67
GreenshotPlugin/UnmanagedHelpers/Enums/Win32Error.cs
Normal file
|
@ -0,0 +1,67 @@
|
|||
namespace GreenshotPlugin.UnmanagedHelpers.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// A Win32 error code.
|
||||
/// </summary>
|
||||
public enum Win32Error : uint {
|
||||
Success = 0x0,
|
||||
InvalidFunction = 0x1,
|
||||
FileNotFound = 0x2,
|
||||
PathNotFound = 0x3,
|
||||
TooManyOpenFiles = 0x4,
|
||||
AccessDenied = 0x5,
|
||||
InvalidHandle = 0x6,
|
||||
ArenaTrashed = 0x7,
|
||||
NotEnoughMemory = 0x8,
|
||||
InvalidBlock = 0x9,
|
||||
BadEnvironment = 0xa,
|
||||
BadFormat = 0xb,
|
||||
InvalidAccess = 0xc,
|
||||
InvalidData = 0xd,
|
||||
OutOfMemory = 0xe,
|
||||
InvalidDrive = 0xf,
|
||||
CurrentDirectory = 0x10,
|
||||
NotSameDevice = 0x11,
|
||||
NoMoreFiles = 0x12,
|
||||
WriteProtect = 0x13,
|
||||
BadUnit = 0x14,
|
||||
NotReady = 0x15,
|
||||
BadCommand = 0x16,
|
||||
Crc = 0x17,
|
||||
BadLength = 0x18,
|
||||
Seek = 0x19,
|
||||
NotDosDisk = 0x1a,
|
||||
SectorNotFound = 0x1b,
|
||||
OutOfPaper = 0x1c,
|
||||
WriteFault = 0x1d,
|
||||
ReadFault = 0x1e,
|
||||
GenFailure = 0x1f,
|
||||
SharingViolation = 0x20,
|
||||
LockViolation = 0x21,
|
||||
WrongDisk = 0x22,
|
||||
SharingBufferExceeded = 0x24,
|
||||
HandleEof = 0x26,
|
||||
HandleDiskFull = 0x27,
|
||||
NotSupported = 0x32,
|
||||
RemNotList = 0x33,
|
||||
DupName = 0x34,
|
||||
BadNetPath = 0x35,
|
||||
NetworkBusy = 0x36,
|
||||
DevNotExist = 0x37,
|
||||
TooManyCmds = 0x38,
|
||||
FileExists = 0x50,
|
||||
CannotMake = 0x52,
|
||||
AlreadyAssigned = 0x55,
|
||||
InvalidPassword = 0x56,
|
||||
InvalidParameter = 0x57,
|
||||
NetWriteFault = 0x58,
|
||||
NoProcSlots = 0x59,
|
||||
TooManySemaphores = 0x64,
|
||||
ExclSemAlreadyOwned = 0x65,
|
||||
SemIsSet = 0x66,
|
||||
TooManySemRequests = 0x67,
|
||||
InvalidAtInterruptTime = 0x68,
|
||||
SemOwnerDied = 0x69,
|
||||
SemUserLimit = 0x6a
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue