Commit | Line | Data |
7df24e1f |
1 | Attribute VB_Name = "WinError" |
2 | Option Explicit |
3 | |
4 | ' GetLastError and the constants for the values returned by it |
5 | ' (only the ones known to be used by Storm or Lmpqapi are included) |
6 | |
7 | Declare Function GetLastError Lib "Kernel32" () As Long |
8 | |
9 | Public Const ERROR_SUCCESS As Long = 0 |
10 | Public Const NO_ERROR As Long = 0 |
11 | Public Const ERROR_FILE_NOT_FOUND As Long = 2 |
12 | Public Const ERROR_OUTOFMEMORY As Long = 14 |
13 | Public Const ERROR_INVALID_PARAMETER As Long = 87 |
14 | Public Const ERROR_DISK_FULL As Long = 112 |
15 | Public Const ERROR_ALREADY_EXISTS As Long = 183 |
16 | Public Const ERROR_FILE_INVALID As Long = 1006 |
17 | Public Const ERROR_UNKNOWN_PROPERTY As Long = 1608 |
18 | |