Location: Symbol Reference > Files > JwsclConstants.pas
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwsclConstants.pas

Project JEDI Windows Security Code Library (JWSCL) 

This unit contains constants that are used by the units of JWSCL.

The Original Code is JwsclConstants.pas. 

The Initial Developer of the Original Code is Christian Wimmer. Portions created by Christian Wimmer are Copyright (C) Christian Wimmer. All rights reserved.

Christian Wimmer

Name 
Description 
ALL_SECURITY_INFORMATION can be used in TJwSecurityDescriptor.getStringSid as the parameter value to get all SID information at once. This value is defined as zero and also as a or combination of the given values. 
The system is a 2003 Server 
The system is a 2003 Server Release 2 
The system is unknown 
The system is a Vista 
The system is a Windows 2000 
The system is a 2008 Server (tested with RC) 
The system is a Win7 cOsWinXXX = cOsWin7; //use this to set proper name for this OS! 
The system is a Windows 95 
The system is a Windows 98 
The system is a Windows 98 Second Edition 
The system is a ME 
The system is a NT 
The system is a XP 
The system is a XP 64 bit version 
This is constant CRYPTPROTECTMEMORY_CROSS_PROCESS. 
This is constant CRYPTPROTECTMEMORY_SAME_LOGON. 
 
This is constant DesktopMappingStartIndex. 
E_CLASS_IS_NOT_SETUP The requested COM class has not been setup to be used for elevation. 
E_CLASS_IS_NOT_SETUPint The requested COM class has not been setup to be used for elevation. Integer version. Contains only code part of HRESULT. 
 
 
LogonUser undefined constant values (may be moved to JWA) 
This is constant EventMappingStartIndex. 
0x00010000L 
This is constant FileFolderMappingStartIndex. 
This is constant FileMapMappingStartIndex. 
 
This is constant FolderMappingStartIndex. 
This is constant FW_AUTHORIZEDAPPLICATION_CLASS_NAME. 
This is constant FW_MGR_CLASS_NAME. 
This is constant FW_OPENPORT_CLASS. 
This is constant IDAPPLY. 
This value is used in LocalizeMapping for parameter UseDefaultOnError. Set to true to ignore invalid jwscl resource strings and use default ones. Otherwise an exception is raised. 
This is constant JOB_ACCESS_ADMINISTER. 
This is constant JOB_ACCESS_READ. 
This is constant JobMappingStartIndex. 
This is constant JwAllSecurityAccess. 
This is constant JwSecurityInformationACLFlagsDS. 
This is constant JwSecurityInformationACLFlagsOD. 
This is constant JwSecurityInformationACLFlagsODS. 
This is constant JwSecurityInformationACLFlagsOG. 
This is constant JwSecurityInformationAllFlags. 
This is constant JwSecurityInformationAllFlagsOGDS. 
This is constant JwSecurityInformationProtectedACLFlags. 
This is constant JwSecurityInformationUnprotectedACLFlags. 
JwSidAttributeHumanStrings converts all enumeration values of TJwSidAttribute into human readable strings. This array uses resource strings that can be translated. 
JwSidAttributeStrings converts all enumeration values of TJwSidAttribute into their defined names. 
LUID_A_INVALID defines a Luid_and_attributes structure that is invalid 
LUID_A_NULL defines a Luid_and_attributes structure that is undefined 
LUID_INVALID defines a LUID structure that is invalid 
LUID_NULL defines a LUID structure that is undefined 
Maximum size of a resource string 
This is constant MutexMappingStartIndex. 
This is constant NET_FW_IP_PROTOCOL_TCP. 
This is constant NET_FW_IP_PROTOCOL_UDP. 
This is constant NET_FW_IP_VERSION_ANY. 
This is constant NET_FW_SCOPE_ALL. 
This is constant NET_FW_SCOPE_LOCAL_SUBNET. 
This is constant PipeMappingStartIndex. 
This is constant PRINTER_ACCESS_ADMINISTER. 
This is constant PRINTER_ACCESS_USE. 
This is constant PRINTER_ALL_ACCESS. 
This is constant PRINTER_EXECUTE. 
This is constant PRINTER_READ. 
This is constant PRINTER_WRITE. 
This is constant PrinterMappingStartIndex. 
This is constant ProcessMappingStartIndex. 
This is constant RegistryMappingStartIndex. 
This is constant SCManagerMappingStartIndex. 
This is constant SemaphoreMappingStartIndex. 
This is constant SERVER_ACCESS_ADMINISTER. 
This is constant SERVER_ACCESS_ENUMERATE. 
This is constant SERVER_ALL_ACCESS. 
This is constant SERVER_EXECUTE. 
This is constant SERVER_READ. 
This is constant SERVER_WRITE. 
This is constant ServiceMappingStartIndex. 
This is constant ShareMappingStartIndex. 
SM_SERVERR2 is used as an additional constant for GetSystemMetrics to detect the second release of Win2003 
sOSVerString contains the windows version as text 
TAceTypeString maps different types of ace types to strings. 
This is constant ThreadMappingStartIndex. 
This is constant TimerMappingStartIndex. 
This is constant TokenMappingStartIndex. 
This is constant WinStationMappingStartIndex. 
 
Name 
Description 
 
JwInitLocalizedMappings translate all the rights mapping arrays using the resource.
user language or neutral if not found JwInitLocalizedMappings(PRIMARYLANGID(GetUserDefaultUILanguage), SUBLANGID(GetUserDefaultUILanguage)); JwInitLocalizedMappings(LANG_SYSTEM_DEFAULT, SUBLANG_SYS_DEFAULT);
english version JwInitLocalizedMappings(LANG_ENGLISH, SUBLANG_ENGLISH_UK);
german version JwInitLocalizedMappings(LANG_GERMAN,SUBLANG_GERMAN);
neutral version (using constant names) JwInitLocalizedMappings(LANG_NEUTRAL, SUBLANG_SYS_DEFAULT); JwInitLocalizedMappings(0,0);
 
Name 
Description 
This is variable DesktopGenericMapping. 
This is variable DesktopMapping. 
This is variable EventGenericMapping. 
This is variable EventMapping. 
This is variable FileFolderGenericMapping. 
This is variable FileFolderMapping. 
This is variable FileFolderMappingEx. 
This is variable FileGenericMapping. 
This is variable FileMapGenericMapping. 
This is variable FileMapMapping. 
This is variable FileMapping. 
This is variable FolderGenericMapping. 
This is variable FolderMapping. 
This is variable JobGenericMapping. 
This is variable JobMapping. 
This is variable JwNullSecurityAttributes. 
This is variable MutexGenericMapping. 
This is variable MutexMapping. 
NullGenericMapping defines a mapping record that maps all generic rights to zero. It can be used to reset a dynamic mapping record (may be faster than call ZeroMemory). 
This is variable PipeGenericMapping. 
This is variable PipeMapping. 
This is variable PrinterGenericMapping. 
This is variable PrinterMapping. 
This is variable ProcessGenericMapping. 
This is variable ProcessMapping. 
This is variable RegistryGenericMapping. 
This is variable RegistryMapping. 
This is variable SCManagerGenericMapping. 
This is variable SCManagerMapping. 
This is variable SemaphoreGenericMapping. 
This is variable SemaphoreMapping. 
This is variable ServiceGenericMapping. 
This is variable ServiceMapping. 
This is variable ShareGenericMapping. 
This is variable ShareMapping. 
This is variable ThreadGenericMapping. 
This is variable ThreadMapping. 
This is variable TimerGenericMapping. 
This is variable TimerMapping. 
This is variable TokenGenericMapping. 
This is variable TokenMapping. 
This is variable WinStationGenericMapping. 
This is variable WinStationMapping. 
License

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. 

Alternatively, the contents of this file may be used under the terms of the GNU Lesser General Public License (the "LGPL License"), in which case the provisions of the LGPL License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the LGPL License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the LGPL License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the LGPL License. 

For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!