Skip to content

Constants

Constant Type Description
Error_success Numeric Successfull function call
O_Read Numeric Read-only access of object
O_Write Numeric Full access of object
O_append Numeric Append-Access of object
Constant Type Description
HKEY_CLASSES_ROOT Numeric Registry hive root
HKEY_LOCAL_MACHINE Numeric Registry hive root
HKEY_CURRENT_USER Numeric Registry hive root
HKEY_USERS Numeric Registry hive root
HKEY_CURRENT_CONFIG Numeric Registry hive root available from CI5.1 Build 105
REG_SZ Numeric Typecode for string
REG_EXPAND_SZ Numeric Typecode for expanded string value
REG_BINARY Numeric Typecode for binary value
REG_DWORD Numeric Typecode for numeric value
REG_MULTI_SZ Numeric Typecode for multi string value
REG_QWORD Numeric Typecode for numeric value
STR_REG_SZ String Typecode for string value
STR_REG_EXPAND_SZ String Typecode for expanded string value
STR_REG_BINARY String Typecode for binary value
STR_REG_DWORD String Typecode for numeric value
STR_REG_MULTI_SZ String Typecode for multi string value
STR_REG_QWORD String Typecode for numeric value
Constant Type Permissions Description
FILE_NORMAL Numeric special*** Normal file. No attributes are set
FILE_READONLY Numeric read/write Read-only file.
FILE_HIDDEN Numeric read/write Hidden file.
FILE_SYSTEM Numeric read/write System file.
FILE_DIRECTORY Numeric read-only** Folder or directory.
FILE_ARCHIVE Numeric read/write File has changed since last backup.
FILE_COMPRESSED Numeric read-only** Compressed file.

*  Only clears r/w attributes. Will not clear read-only attributes

** Read-only attributes cannot be set from VBScript

Read more

Constant Type Value
MSI_BAD_CONFIGURATION String Bad configuration.
MSI_INVALID_ARGUMENT String Invalid argument.
MSI_NOT_INSTALLED String The package is not installed.
MSI_IS_ADVERISED_NOT_INSTALLED String The package is advertised, but not installed.
MSI_IS_ABSENT String The package is absent.
MSI_IS_INSTALLED String The package is installed.
Constant Type Value
SCS_Running String Running
SCS_Stopped String Stopped
SCS_Paused String Paused
SCS_StartPending String StartPending
SCS_StopPending String StopPending
SCS_PausePending String PausePending
SCS_ContinuePending String ContinuePending
Constant Type Value
SSM_Boot String Boot
SSM_System String System
SSM_Automatic String Automatic
SSM_AutomaticDelayed String AutomaticDelayed
SSM_Manual String Manual
SSM_Disabled String Disabled
Constant Type Value
EC_UNKNOWN String UNKNOWN ‘Initial undefined value’
EC_32On32 String 32On32
EC_32On64 String 32On64
EC_64On64 String 64On64
Constant Type Value
OS_UNKNOWN String Unknown
OS_WINDOWS_NT40 String Windows NT 4.0 Workstation
OS_WINDOWS_2K String Windows 2000
OS_WINDOWS_XP String Windows XP Professional
OS_WINDOWS_XP_X64 String Windows XP Professional x64
OS_WINDOWS_VISTA String Windows Vista
OS_WINDOWS_7 String Windows 7
OS_WINDOWS_8 String Windows 8
OS_WINDOWS_81 String Windows 8.1
OS_WINDOWS_10 String Windows 10
Constant Type Value
OS_WINDOWS_NT40_SERVER String Windows NT 4.0 Server
OS_WINDOWS_NT40_DOMAIN String Windows NT 4.0 Domain Controller
OS_WINDOWS_2K_SERVER String Windows 2000 Server
OS_WINDOWS_2K_ADVANCED_SERVER String Windows 2000 Advanced Server
OS_WINDOWS_SERVER_2003 String Windows Server 2003
OS_WINDOWS_SERVER_2008 String Windows Server 2008
OS_WINDOWS_SERVER_2008_R2 String Windows Server 2008 R2
OS_WINDOWS_SERVER_2012 String Windows Server 2012
OS_WINDOWS_SERVER_2012_R2 String Windows Server 2012 R2
OS_WINDOWS_SERVER_2016 String Windows Server 2016