added remaining LSL2 entities
This commit is contained in:
53
LSL2/STPROCINS/FILE_SERVICES_EQUATES.txt
Normal file
53
LSL2/STPROCINS/FILE_SERVICES_EQUATES.txt
Normal file
@ -0,0 +1,53 @@
|
||||
Compile insert File_Services_Equates
|
||||
#pragma precomp SRP_PreCompiler
|
||||
|
||||
/***********************************************************************************************************************
|
||||
|
||||
This program is proprietary and is not to be used by or disclosed to others, nor is it to be copied without written
|
||||
permission from SRP Computer Solutions, Inc.
|
||||
|
||||
Name : File_Services_Equates
|
||||
|
||||
Description : Common declarations and equates used by the File_Services service module.
|
||||
|
||||
Notes : For more information visit: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/
|
||||
For a list of Windows error messages visit:
|
||||
https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
|
||||
|
||||
History : (Date, Initials, Notes)
|
||||
09/04/20 djs Original programmer.
|
||||
|
||||
***********************************************************************************************************************/
|
||||
|
||||
// File access constants
|
||||
Equ GENERIC_READ$ to 2147483648
|
||||
Equ GENERIC_WRITE$ to 1073741824
|
||||
Equ GENERIC_EXECUTE$ to 536870912
|
||||
Equ GENERIC_ALL$ to 268435456
|
||||
|
||||
// File sharing constants
|
||||
Equ FILE_SHARE_NONE$ to 0
|
||||
Equ FILE_SHARE_DELETE$ to 4
|
||||
Equ FILE_SHARE_READ$ to 1
|
||||
Equ FILE_SHARE_WRITE$ to 2
|
||||
|
||||
// File open/creation constants
|
||||
Equ CREATE_ALWAYS$ to 2
|
||||
Equ CREATE_NEW$ to 1
|
||||
Equ OPEN_ALWAYS$ to 4
|
||||
Equ OPEN_EXISTING$ to 3
|
||||
Equ TRUNCATE_EXISTING$ to 5
|
||||
|
||||
// File attribute constants
|
||||
Equ FILE_ATTRIBUTE_ARCHIVE$ to 32
|
||||
Equ FILE_ATTRIBUTE_ENCRYPTED$ to 16384
|
||||
Equ FILE_ATTRIBUTE_HIDDEN$ to 2
|
||||
Equ FILE_ATTRIBUTE_NORMAL$ to 128
|
||||
Equ FILE_ATTRIBUTE_OFFLINE$ to 4096
|
||||
Equ FILE_ATTRIBUTE_READONLY$ to 1
|
||||
Equ FILE_ATTRIBUTE_SYSTEM$ to 4
|
||||
Equ FILE_ATTRIBUTE_TEMPORARY$ to 256
|
||||
|
||||
// File IO error constants
|
||||
Equ FILE_ERROR$ to 4294967295
|
||||
|
Reference in New Issue
Block a user