Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




1 Attribute VB_Name = "WinError"
2 Option Explicit
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)
7 Declare Function GetLastError Lib "Kernel32" () As Long
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