X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?p=SFmpqapi.git;a=blobdiff_plain;f=WinError.bas;h=55d9400198b3f675f2f35656c5c1e653340e3088;hp=42fac2ce7eb4698fc45cd54086195cd4d7b88036;hb=940e7cf75b8fc0c46c0d7d17e7b198f32ad7562a;hpb=5ec6acabbdf7207331585eb3bbbb5b477dcc5564 diff --git a/WinError.bas b/WinError.bas index 42fac2c..55d9400 100644 --- a/WinError.bas +++ b/WinError.bas @@ -1,18 +1,18 @@ -Attribute VB_Name = "WinError" -Option Explicit - -' GetLastError and the constants for the values returned by it -' (only the ones known to be used by Storm or Lmpqapi are included) - -Declare Function GetLastError Lib "Kernel32" () As Long - -Public Const ERROR_SUCCESS As Long = 0 -Public Const NO_ERROR As Long = 0 -Public Const ERROR_FILE_NOT_FOUND As Long = 2 -Public Const ERROR_OUTOFMEMORY As Long = 14 -Public Const ERROR_INVALID_PARAMETER As Long = 87 -Public Const ERROR_DISK_FULL As Long = 112 -Public Const ERROR_ALREADY_EXISTS As Long = 183 -Public Const ERROR_FILE_INVALID As Long = 1006 -Public Const ERROR_UNKNOWN_PROPERTY As Long = 1608 - +Attribute VB_Name = "WinError" +Option Explicit + +' GetLastError and the constants for the values returned by it +' (only the ones known to be used by Storm or Lmpqapi are included) + +Declare Function GetLastError Lib "Kernel32" () As Long + +Public Const ERROR_SUCCESS As Long = 0 +Public Const NO_ERROR As Long = 0 +Public Const ERROR_FILE_NOT_FOUND As Long = 2 +Public Const ERROR_OUTOFMEMORY As Long = 14 +Public Const ERROR_INVALID_PARAMETER As Long = 87 +Public Const ERROR_DISK_FULL As Long = 112 +Public Const ERROR_ALREADY_EXISTS As Long = 183 +Public Const ERROR_FILE_INVALID As Long = 1006 +Public Const ERROR_UNKNOWN_PROPERTY As Long = 1608 +