21 references to Win32Error
WindowsBase (21)
Base\MS\Internal\Interop\ErrorCodes.cs (21)
29
public static readonly Win32Error ERROR_SUCCESS = new
Win32Error
(0);
31
public static readonly Win32Error ERROR_INVALID_FUNCTION = new
Win32Error
(1);
33
public static readonly Win32Error ERROR_FILE_NOT_FOUND = new
Win32Error
(2);
35
public static readonly Win32Error ERROR_PATH_NOT_FOUND = new
Win32Error
(3);
37
public static readonly Win32Error ERROR_TOO_MANY_OPEN_FILES = new
Win32Error
(4);
39
public static readonly Win32Error ERROR_ACCESS_DENIED = new
Win32Error
(5);
41
public static readonly Win32Error ERROR_INVALID_HANDLE = new
Win32Error
(6);
43
public static readonly Win32Error ERROR_OUTOFMEMORY = new
Win32Error
(14);
45
public static readonly Win32Error ERROR_NO_MORE_FILES = new
Win32Error
(18);
47
public static readonly Win32Error ERROR_SHARING_VIOLATION = new
Win32Error
(32);
49
public static readonly Win32Error ERROR_INVALID_PARAMETER = new
Win32Error
(87);
51
public static readonly Win32Error ERROR_INSUFFICIENT_BUFFER = new
Win32Error
(122);
53
public static readonly Win32Error ERROR_NESTING_NOT_ALLOWED = new
Win32Error
(215);
55
public static readonly Win32Error ERROR_KEY_DELETED = new
Win32Error
(1018);
57
public static readonly Win32Error ERROR_NO_MATCH = new
Win32Error
(1169);
59
public static readonly Win32Error ERROR_BAD_DEVICE = new
Win32Error
(1200);
61
public static readonly Win32Error ERROR_CANCELLED = new
Win32Error
(1223);
63
public static readonly Win32Error ERROR_INVALID_WINDOW_HANDLE = new
Win32Error
(1400);
65
public static readonly Win32Error ERROR_TIMEOUT = new
Win32Error
(1460);
67
public static readonly Win32Error ERROR_INVALID_DATATYPE = new
Win32Error
(1804);
109
return new
Win32Error
(Marshal.GetLastWin32Error());