EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

winssec.htm
Constants
Structures
SECURITY_ATTRIBUTES
SECURITY_DESCRIPTOR

This file can be included to program for Windows written in EuroAssembler.

It declares the most often used constant symbols and structures used for
security functions of MS Windows Application Programming Interface (WinAPI),
as they were derived from header files in [WindowsSDK].

winssec HEAD
↑ SECURITY_ATTRIBUTES
The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.
SECURITY_ATTRIBUTES STRUC
.nLength              D DWORD
.lpSecurityDescriptor D DWORD
.bInheritHandle       D DWORD
   ENDSTRUC SECURITY_ATTRIBUTES
↑ SECURITY_DESCRIPTOR
An opaque data structure.
SECURITY_DESCRIPTOR STRUC
.Revision D BYTE
.Sbz1     D BYTE
.Control  D WORD
.Owner    D DWORD
.Group    D DWORD
.Sacl     D DWORD
.Dacl     D DWORD
 ENDSTRUC SECURITY_DESCRIPTOR
↑ Constants
Encoding of constant symbols used in WinAPI.
; Define access rights to files and directories
FILE_READ_DATA            = 0x0001  ; File | pipe.
FILE_LIST_DIRECTORY       = 0x0001  ; Directory.
FILE_WRITE_DATA           = 0x0002  ; File | pipe.
FILE_ADD_FILE             = 0x0002  ; Directory.
FILE_APPEND_DATA          = 0x0004  ; File.
FILE_ADD_SUBDIRECTORY     = 0x0004  ; Directory.
FILE_CREATE_PIPE_INSTANCE = 0x0004  ; Named pipe.
FILE_READ_EA              = 0x0008  ; File | directory.
FILE_WRITE_EA             = 0x0010  ; File | directory.
FILE_EXECUTE              = 0x0020  ; File.
FILE_TRAVERSE             = 0x0020  ; Directory.
FILE_DELETE_CHILD         = 0x0040  ; Directory.
FILE_READ_ATTRIBUTES      = 0x0080  ; All.
FILE_WRITE_ATTRIBUTES     = 0x0100  ; All.
 ENDHEAD winssec

▲Back to the top▲