Constants
VB.Net
Module Constants
Public Const GENERIC_ALL As Int32 = &H10000000
Public Const GENERIC_EXECUTE As Int32 = &H20000000
Public Const GENERIC_WRITE As Int32 = &H40000000
Public Const GENERIC_READ As Int32 = &H80000000
Public Const FILE_SHARE_READ As Int32 = &H1
Public Const FILE_SHARE_WRITE As Int32 = &H2
Public Const FILE_SHARE_DELETE As Int32 = &H4
Public Const CREATE_NEW As Int32 = 1
Public Const CREATE_ALWAYS As Int32 = 2
Public Const OPEN_EXISTING As Int32 = 3
Public Const OPEN_ALWAYS As Int32 = 4
Public Const TRUNCATE_EXISTING As Int32 = 5
Public Const FILE_ATTRIBUTE_READONLY As Int32 = 1
Public Const FILE_ATTRIBUTE_HIDDEN As Int32 = 2
Public Const FILE_ATTRIBUTE_SYSTEM As Int32 = 4
Public Const FILE_ATTRIBUTE_ARCHIVE As Int32 = 32
Public Const FILE_ATTRIBUTE_NORMAL As Int32 = 128
Public Const FILE_ATTRIBUTE_TEMPORARY As Int32 = 256
Public Const FILE_ATTRIBUTE_OFFLINE As Int32 = 4096
Public Const FILE_ATTRIBUTE_ENCRYPTED As Int32 = 16384
End Module