21 references to Win32Error
PresentationFramework (21)
src\Framework\System\Windows\Standard\ErrorCodes.cs (21)
29public static readonly Win32Error ERROR_SUCCESS = new Win32Error(0); 32public static readonly Win32Error ERROR_INVALID_FUNCTION = new Win32Error(1); 35public static readonly Win32Error ERROR_FILE_NOT_FOUND = new Win32Error(2); 38public static readonly Win32Error ERROR_PATH_NOT_FOUND = new Win32Error(3); 41public static readonly Win32Error ERROR_TOO_MANY_OPEN_FILES = new Win32Error(4); 44public static readonly Win32Error ERROR_ACCESS_DENIED = new Win32Error(5); 47public static readonly Win32Error ERROR_INVALID_HANDLE = new Win32Error(6); 50public static readonly Win32Error ERROR_OUTOFMEMORY = new Win32Error(14); 53public static readonly Win32Error ERROR_NO_MORE_FILES = new Win32Error(18); 56public static readonly Win32Error ERROR_SHARING_VIOLATION = new Win32Error(32); 59public static readonly Win32Error ERROR_INVALID_PARAMETER = new Win32Error(87); 62public static readonly Win32Error ERROR_INSUFFICIENT_BUFFER = new Win32Error(122); 65public static readonly Win32Error ERROR_NESTING_NOT_ALLOWED = new Win32Error(215); 68public static readonly Win32Error ERROR_KEY_DELETED = new Win32Error(1018); 71public static readonly Win32Error ERROR_NOT_FOUND = new Win32Error(1168); 74public static readonly Win32Error ERROR_NO_MATCH = new Win32Error(1169); 77public static readonly Win32Error ERROR_BAD_DEVICE = new Win32Error(1200); 80public static readonly Win32Error ERROR_CANCELLED = new Win32Error(1223); 83public static readonly Win32Error ERROR_CLASS_ALREADY_EXISTS = new Win32Error(1410); 86public static readonly Win32Error ERROR_INVALID_DATATYPE = new Win32Error(1804); 129return new Win32Error(Marshal.GetLastWin32Error());