{***************************************************************************}
{ This source code was generated automatically by                           }
{ Pas file import tool for Scripter Studio (Pro)                            }
{                                                                           }
{ Scripter Studio and Pas file import tool for Scripter Studio              }
{ written by TMS Software                                                   }
{            copyright © 1997 - 2010                                        }
{            Email : info@tmssoftware.com                                   }
{            Web : http://www.tmssoftware.com                               }
{***************************************************************************}
unit ap_RegStr;

interface

uses
  Windows,
  RegStr,
  Variants,
  atScript;

{$WARNINGS OFF}

type
  TatRegStrLibrary = class(TatScripterLibrary)
    procedure Init; override;
    class function LibraryName: string; override;
  end;



  _DSKTLSYSTEMTIMEWrapper = class(TatRecordWrapper)
  private
    FwYear: Word;
    FwMonth: Word;
    FwDayOfWeek: Word;
    FwDay: Word;
    FwHour: Word;
    FwMinute: Word;
    FwSecond: Word;
    FwMilliseconds: Word;
    FwResult: Word;
  public
    constructor Create(ARecord: _DSKTLSYSTEMTIME);
    function ObjToRec: _DSKTLSYSTEMTIME;
  published
    property wYear: Word read FwYear write FwYear;
    property wMonth: Word read FwMonth write FwMonth;
    property wDayOfWeek: Word read FwDayOfWeek write FwDayOfWeek;
    property wDay: Word read FwDay write FwDay;
    property wHour: Word read FwHour write FwHour;
    property wMinute: Word read FwMinute write FwMinute;
    property wSecond: Word read FwSecond write FwSecond;
    property wMilliseconds: Word read FwMilliseconds write FwMilliseconds;
    property wResult: Word read FwResult write FwResult;
  end;
  

implementation

constructor _DSKTLSYSTEMTIMEWrapper.Create(ARecord: _DSKTLSYSTEMTIME);
begin
  inherited Create;
  FwYear := ARecord.wYear;
  FwMonth := ARecord.wMonth;
  FwDayOfWeek := ARecord.wDayOfWeek;
  FwDay := ARecord.wDay;
  FwHour := ARecord.wHour;
  FwMinute := ARecord.wMinute;
  FwSecond := ARecord.wSecond;
  FwMilliseconds := ARecord.wMilliseconds;
  FwResult := ARecord.wResult;
end;

function _DSKTLSYSTEMTIMEWrapper.ObjToRec: _DSKTLSYSTEMTIME;
begin
  result.wYear := FwYear;
  result.wMonth := FwMonth;
  result.wDayOfWeek := FwDayOfWeek;
  result.wDay := FwDay;
  result.wHour := FwHour;
  result.wMinute := FwMinute;
  result.wSecond := FwSecond;
  result.wMilliseconds := FwMilliseconds;
  result.wResult := FwResult;
end;



procedure TatRegStrLibrary.Init;
  procedure AddConsts1;
  begin
    With Scripter.DefineClass(ClassType) do
    begin
      AddConstant('REGSTR_KEY_CLASS',REGSTR_KEY_CLASS);
      AddConstant('REGSTR_KEY_CONFIG',REGSTR_KEY_CONFIG);
      AddConstant('REGSTR_KEY_ENUM',REGSTR_KEY_ENUM);
      AddConstant('REGSTR_KEY_ROOTENUM',REGSTR_KEY_ROOTENUM);
      AddConstant('REGSTR_KEY_BIOSENUM',REGSTR_KEY_BIOSENUM);
      AddConstant('REGSTR_KEY_PCMCIAENUM',REGSTR_KEY_PCMCIAENUM);
      AddConstant('REGSTR_KEY_PCIENUM',REGSTR_KEY_PCIENUM);
      AddConstant('REGSTR_KEY_ISAENUM',REGSTR_KEY_ISAENUM);
      AddConstant('REGSTR_KEY_EISAENUM',REGSTR_KEY_EISAENUM);
      AddConstant('REGSTR_KEY_ISAENUM_NEC_98',REGSTR_KEY_ISAENUM_NEC_98);
      AddConstant('REGSTR_KEY_EISAENUM_NEC_98',REGSTR_KEY_EISAENUM_NEC_98);
      AddConstant('REGSTR_KEY_LOGCONFIG',REGSTR_KEY_LOGCONFIG);
      AddConstant('REGSTR_KEY_SYSTEMBOARD',REGSTR_KEY_SYSTEMBOARD);
      AddConstant('REGSTR_KEY_APM',REGSTR_KEY_APM);
      AddConstant('REGSTR_KEY_INIUPDATE',REGSTR_KEY_INIUPDATE);
      AddConstant('REG_KEY_INSTDEV',REG_KEY_INSTDEV);
      AddConstant('REGSTR_KEY_DOSOPTCDROM',REGSTR_KEY_DOSOPTCDROM);
      AddConstant('REGSTR_KEY_DOSOPTMOUSE',REGSTR_KEY_DOSOPTMOUSE);
      AddConstant('REGSTR_DEFAULT_INSTANCE',REGSTR_DEFAULT_INSTANCE);
      AddConstant('REGSTR_PATH_MOTHERBOARD',REGSTR_PATH_MOTHERBOARD);
      AddConstant('REGSTR_PATH_SETUP',REGSTR_PATH_SETUP);
      AddConstant('REGSTR_PATH_PIFCONVERT',REGSTR_PATH_PIFCONVERT);
      AddConstant('REGSTR_PATH_MSDOSOPTS',REGSTR_PATH_MSDOSOPTS);
      AddConstant('REGSTR_PATH_MSDOSEMU',REGSTR_PATH_MSDOSEMU);
      AddConstant('REGSTR_PATH_NOSUGGMSDOS',REGSTR_PATH_NOSUGGMSDOS);
      AddConstant('REGSTR_PATH_NEWDOSBOX',REGSTR_PATH_NEWDOSBOX);
      AddConstant('REGSTR_PATH_RUNONCE',REGSTR_PATH_RUNONCE);
      AddConstant('REGSTR_PATH_RUN',REGSTR_PATH_RUN);
      AddConstant('REGSTR_PATH_RUNSERVICESONCE',REGSTR_PATH_RUNSERVICESONCE);
      AddConstant('REGSTR_PATH_RUNSERVICES',REGSTR_PATH_RUNSERVICES);
      AddConstant('REGSTR_PATH_EXPLORER',REGSTR_PATH_EXPLORER);
      AddConstant('REGSTR_PATH_DETECT',REGSTR_PATH_DETECT);
      AddConstant('REGSTR_PATH_APPPATHS',REGSTR_PATH_APPPATHS);
      AddConstant('REGSTR_PATH_UNINSTALL',REGSTR_PATH_UNINSTALL);
      AddConstant('REGSTR_PATH_REALMODENET',REGSTR_PATH_REALMODENET);
      AddConstant('REGSTR_PATH_NETEQUIV',REGSTR_PATH_NETEQUIV);
      AddConstant('REGSTR_PATH_CVNETWORK',REGSTR_PATH_CVNETWORK);
      AddConstant('REGSTR_PATH_IDCONFIGDB',REGSTR_PATH_IDCONFIGDB);
      AddConstant('REGSTR_PATH_CLASS',REGSTR_PATH_CLASS);
      AddConstant('REGSTR_PATH_DISPLAYSETTINGS',REGSTR_PATH_DISPLAYSETTINGS);
      AddConstant('REGSTR_PATH_FONTS',REGSTR_PATH_FONTS);
      AddConstant('REGSTR_PATH_ENUM',REGSTR_PATH_ENUM);
      AddConstant('REGSTR_PATH_ROOT',REGSTR_PATH_ROOT);
      AddConstant('REGSTR_PATH_SERVICES',REGSTR_PATH_SERVICES);
      AddConstant('REGSTR_PATH_VXD',REGSTR_PATH_VXD);
      AddConstant('REGSTR_PATH_IOS',REGSTR_PATH_IOS);
      AddConstant('REGSTR_PATH_VMM',REGSTR_PATH_VMM);
      AddConstant('REGSTR_PATH_VPOWERD',REGSTR_PATH_VPOWERD);
      AddConstant('REGSTR_PATH_VNETSUP',REGSTR_PATH_VNETSUP);
      AddConstant('REGSTR_PATH_NWREDIR',REGSTR_PATH_NWREDIR);
      AddConstant('REGSTR_PATH_NCPSERVER',REGSTR_PATH_NCPSERVER);
      AddConstant('REGSTR_PATH_IOARB',REGSTR_PATH_IOARB);
      AddConstant('REGSTR_PATH_ADDRARB',REGSTR_PATH_ADDRARB);
      AddConstant('REGSTR_PATH_DMAARB',REGSTR_PATH_DMAARB);
      AddConstant('REGSTR_PATH_IRQARB',REGSTR_PATH_IRQARB);
      AddConstant('REGSTR_PATH_CODEPAGE',REGSTR_PATH_CODEPAGE);
      AddConstant('REGSTR_PATH_FILESYSTEM',REGSTR_PATH_FILESYSTEM);
      AddConstant('REGSTR_PATH_FILESYSTEM_NOVOLTRACK',REGSTR_PATH_FILESYSTEM_NOVOLTRACK);
      AddConstant('REGSTR_PATH_CDFS',REGSTR_PATH_CDFS);
      AddConstant('REGSTR_PATH_WINBOOT',REGSTR_PATH_WINBOOT);
      AddConstant('REGSTR_PATH_INSTALLEDFILES',REGSTR_PATH_INSTALLEDFILES);
      AddConstant('REGSTR_PATH_VMM32FILES',REGSTR_PATH_VMM32FILES);
      AddConstant('REGSTR_MAX_VALUE_LENGTH',REGSTR_MAX_VALUE_LENGTH);
      AddConstant('REGSTR_VAL_BITSPERPIXEL',REGSTR_VAL_BITSPERPIXEL);
      AddConstant('REGSTR_VAL_RESOLUTION',REGSTR_VAL_RESOLUTION);
      AddConstant('REGSTR_VAL_DPILOGICALX',REGSTR_VAL_DPILOGICALX);
      AddConstant('REGSTR_VAL_DPILOGICALY',REGSTR_VAL_DPILOGICALY);
      AddConstant('REGSTR_VAL_DPIPHYSICALX',REGSTR_VAL_DPIPHYSICALX);
      AddConstant('REGSTR_VAL_DPIPHYSICALY',REGSTR_VAL_DPIPHYSICALY);
      AddConstant('REGSTR_VAL_REFRESHRATE',REGSTR_VAL_REFRESHRATE);
      AddConstant('REGSTR_VAL_DISPLAYFLAGS',REGSTR_VAL_DISPLAYFLAGS);
      AddConstant('REGSTR_PATH_CONTROLPANEL',REGSTR_PATH_CONTROLPANEL);
      AddConstant('REGSTR_PATH_CONTROLSFOLDER',REGSTR_PATH_CONTROLSFOLDER);
      AddConstant('REGSTR_VAL_DOSCP',REGSTR_VAL_DOSCP);
      AddConstant('REGSTR_VAL_WINCP',REGSTR_VAL_WINCP);
      AddConstant('REGSTR_PATH_DYNA_ENUM',REGSTR_PATH_DYNA_ENUM);
      AddConstant('REGSTR_VAL_HARDWARE_KEY',REGSTR_VAL_HARDWARE_KEY);
      AddConstant('REGSTR_VAL_ALLOCATION',REGSTR_VAL_ALLOCATION);
      AddConstant('REGSTR_VAL_PROBLEM',REGSTR_VAL_PROBLEM);
      AddConstant('REGSTR_VAL_STATUS',REGSTR_VAL_STATUS);
      AddConstant('REGSTR_VAL_DONTUSEMEM',REGSTR_VAL_DONTUSEMEM);
      AddConstant('REGSTR_VAL_SYSTEMROOT',REGSTR_VAL_SYSTEMROOT);
      AddConstant('REGSTR_VAL_BOOTCOUNT',REGSTR_VAL_BOOTCOUNT);
      AddConstant('REGSTR_VAL_REALNETSTART',REGSTR_VAL_REALNETSTART);
      AddConstant('REGSTR_VAL_MEDIA',REGSTR_VAL_MEDIA);
      AddConstant('REGSTR_VAL_CONFIG',REGSTR_VAL_CONFIG);
      AddConstant('REGSTR_VAL_DEVICEPATH',REGSTR_VAL_DEVICEPATH);
      AddConstant('REGSTR_VAL_SRCPATH',REGSTR_VAL_SRCPATH);
      AddConstant('REGSTR_VAL_OLDWINDIR',REGSTR_VAL_OLDWINDIR);
      AddConstant('REGSTR_VAL_SETUPFLAGS',REGSTR_VAL_SETUPFLAGS);
      AddConstant('REGSTR_VAL_REGOWNER',REGSTR_VAL_REGOWNER);
      AddConstant('REGSTR_VAL_REGORGANIZATION',REGSTR_VAL_REGORGANIZATION);
      AddConstant('REGSTR_VAL_LICENSINGINFO',REGSTR_VAL_LICENSINGINFO);
      AddConstant('REGSTR_VAL_OLDMSDOSVER',REGSTR_VAL_OLDMSDOSVER);
      AddConstant('REGSTR_VAL_FIRSTINSTALLDATETIME',REGSTR_VAL_FIRSTINSTALLDATETIME);
      AddConstant('REGSTR_VAL_INSTALLTYPE',REGSTR_VAL_INSTALLTYPE);
      AddConstant('REGSTR_VAL_WRAPPER',REGSTR_VAL_WRAPPER);
      AddConstant('IT_COMPACT',IT_COMPACT);
      AddConstant('IT_TYPICAL',IT_TYPICAL);
      AddConstant('IT_PORTABLE',IT_PORTABLE);
      AddConstant('IT_CUSTOM',IT_CUSTOM);
      AddConstant('REGSTR_KEY_SETUP',REGSTR_KEY_SETUP);
      AddConstant('REGSTR_VAL_BOOTDIR',REGSTR_VAL_BOOTDIR);
      AddConstant('REGSTR_VAL_WINBOOTDIR',REGSTR_VAL_WINBOOTDIR);
      AddConstant('REGSTR_VAL_WINDIR',REGSTR_VAL_WINDIR);
      AddConstant('REGSTR_VAL_APPINSTPATH',REGSTR_VAL_APPINSTPATH);
      AddConstant('REGSTR_PATH_EBD',REGSTR_PATH_EBD);
      AddConstant('REGSTR_KEY_EBDFILESLOCAL',REGSTR_KEY_EBDFILESLOCAL);
      AddConstant('REGSTR_KEY_EBDFILESKEYBOARD',REGSTR_KEY_EBDFILESKEYBOARD);
      AddConstant('REGSTR_KEY_EBDAUTOEXECBATLOCAL',REGSTR_KEY_EBDAUTOEXECBATLOCAL);
      AddConstant('REGSTR_KEY_EBDAUTOEXECBATKEYBOARD',REGSTR_KEY_EBDAUTOEXECBATKEYBOARD);
      AddConstant('REGSTR_KEY_EBDCONFIGSYSLOCAL',REGSTR_KEY_EBDCONFIGSYSLOCAL);
      AddConstant('REGSTR_KEY_EBDCONFIGSYSKEYBOARD',REGSTR_KEY_EBDCONFIGSYSKEYBOARD);
      AddConstant('REGSTR_VAL_MSDOSMODE',REGSTR_VAL_MSDOSMODE);
      AddConstant('REGSTR_VAL_MSDOSMODEDISCARD',REGSTR_VAL_MSDOSMODEDISCARD);
      AddConstant('REGSTR_VAL_DOSOPTGLOBALFLAGS',REGSTR_VAL_DOSOPTGLOBALFLAGS);
      AddConstant('DOSOPTGF_DEFCLEAN',DOSOPTGF_DEFCLEAN);
      AddConstant('REGSTR_VAL_DOSOPTFLAGS',REGSTR_VAL_DOSOPTFLAGS);
      AddConstant('REGSTR_VAL_OPTORDER',REGSTR_VAL_OPTORDER);
      AddConstant('REGSTR_VAL_CONFIGSYS',REGSTR_VAL_CONFIGSYS);
      AddConstant('REGSTR_VAL_AUTOEXEC',REGSTR_VAL_AUTOEXEC);
      AddConstant('REGSTR_VAL_STDDOSOPTION',REGSTR_VAL_STDDOSOPTION);
      AddConstant('REGSTR_VAL_DOSOPTTIP',REGSTR_VAL_DOSOPTTIP);
      AddConstant('DOSOPTF_DEFAULT',DOSOPTF_DEFAULT);
      AddConstant('DOSOPTF_SUPPORTED',DOSOPTF_SUPPORTED);
      AddConstant('DOSOPTF_ALWAYSUSE',DOSOPTF_ALWAYSUSE);
      AddConstant('DOSOPTF_USESPMODE',DOSOPTF_USESPMODE);
      AddConstant('DOSOPTF_PROVIDESUMB',DOSOPTF_PROVIDESUMB);
      AddConstant('DOSOPTF_NEEDSETUP',DOSOPTF_NEEDSETUP);
      AddConstant('DOSOPTF_INDOSSTART',DOSOPTF_INDOSSTART);
      AddConstant('DOSOPTF_MULTIPLE',DOSOPTF_MULTIPLE);
      AddConstant('SUF_FIRSTTIME',SUF_FIRSTTIME);
      AddConstant('SUF_EXPRESS',SUF_EXPRESS);
      AddConstant('SUF_BATCHINF',SUF_BATCHINF);
      AddConstant('SUF_CLEAN',SUF_CLEAN);
      AddConstant('SUF_INSETUP',SUF_INSETUP);
      AddConstant('SUF_NETSETUP',SUF_NETSETUP);
      AddConstant('SUF_NETHDBOOT',SUF_NETHDBOOT);
      AddConstant('SUF_NETRPLBOOT',SUF_NETRPLBOOT);
      AddConstant('SUF_SBSCOPYOK',SUF_SBSCOPYOK);
      AddConstant('REGSTR_VAL_DOSPAGER',REGSTR_VAL_DOSPAGER);
      AddConstant('REGSTR_VAL_VXDGROUPS',REGSTR_VAL_VXDGROUPS);
      AddConstant('REGSTR_VAL_VPOWERDFLAGS',REGSTR_VAL_VPOWERDFLAGS);
      AddConstant('VPDF_DISABLEPWRMGMT',VPDF_DISABLEPWRMGMT);
      AddConstant('VPDF_FORCEAPM10MODE',VPDF_FORCEAPM10MODE);
      AddConstant('VPDF_SKIPINTELSLCHECK',VPDF_SKIPINTELSLCHECK);
      AddConstant('VPDF_DISABLEPWRSTATUSPOLL',VPDF_DISABLEPWRSTATUSPOLL);
      AddConstant('REGSTR_VAL_WORKGROUP',REGSTR_VAL_WORKGROUP);
      AddConstant('REGSTR_VAL_DIRECTHOST',REGSTR_VAL_DIRECTHOST);
      AddConstant('REGSTR_VAL_FILESHARING',REGSTR_VAL_FILESHARING);
      AddConstant('REGSTR_VAL_PRINTSHARING',REGSTR_VAL_PRINTSHARING);
      AddConstant('REGSTR_VAL_FIRSTNETDRIVE',REGSTR_VAL_FIRSTNETDRIVE);
      AddConstant('REGSTR_VAL_MAXCONNECTIONS',REGSTR_VAL_MAXCONNECTIONS);
      AddConstant('REGSTR_VAL_APISUPPORT',REGSTR_VAL_APISUPPORT);
      AddConstant('REGSTR_VAL_MAXRETRY',REGSTR_VAL_MAXRETRY);
      AddConstant('REGSTR_VAL_MINRETRY',REGSTR_VAL_MINRETRY);
      AddConstant('REGSTR_VAL_SUPPORTLFN',REGSTR_VAL_SUPPORTLFN);
      AddConstant('REGSTR_VAL_SUPPORTBURST',REGSTR_VAL_SUPPORTBURST);
      AddConstant('REGSTR_VAL_SUPPORTTUNNELLING',REGSTR_VAL_SUPPORTTUNNELLING);
      AddConstant('REGSTR_VAL_FULLTRACE',REGSTR_VAL_FULLTRACE);
      AddConstant('REGSTR_VAL_READCACHING',REGSTR_VAL_READCACHING);
      AddConstant('REGSTR_VAL_SHOWDOTS',REGSTR_VAL_SHOWDOTS);
      AddConstant('REGSTR_VAL_GAPTIME',REGSTR_VAL_GAPTIME);
      AddConstant('REGSTR_VAL_SEARCHMODE',REGSTR_VAL_SEARCHMODE);
      AddConstant('REGSTR_VAL_SHELLVERSION',REGSTR_VAL_SHELLVERSION);
      AddConstant('REGSTR_VAL_MAXLIP',REGSTR_VAL_MAXLIP);
      AddConstant('REGSTR_VAL_PRESERVECASE',REGSTR_VAL_PRESERVECASE);
      AddConstant('REGSTR_VAL_OPTIMIZESFN',REGSTR_VAL_OPTIMIZESFN);
      AddConstant('REGSTR_VAL_NCP_BROWSEMASTER',REGSTR_VAL_NCP_BROWSEMASTER);
      AddConstant('REGSTR_VAL_NCP_USEPEERBROWSING',REGSTR_VAL_NCP_USEPEERBROWSING);
      AddConstant('REGSTR_VAL_NCP_USESAP',REGSTR_VAL_NCP_USESAP);
      AddConstant('REGSTR_VAL_WIN31FILESYSTEM',REGSTR_VAL_WIN31FILESYSTEM);
      AddConstant('REGSTR_VAL_PRESERVELONGNAMES',REGSTR_VAL_PRESERVELONGNAMES);
      AddConstant('REGSTR_VAL_DRIVEWRITEBEHIND',REGSTR_VAL_DRIVEWRITEBEHIND);
      AddConstant('REGSTR_VAL_ASYNCFILECOMMIT',REGSTR_VAL_ASYNCFILECOMMIT);
      AddConstant('REGSTR_VAL_PATHCACHECOUNT',REGSTR_VAL_PATHCACHECOUNT);
      AddConstant('REGSTR_VAL_NAMECACHECOUNT',REGSTR_VAL_NAMECACHECOUNT);
      AddConstant('REGSTR_VAL_CONTIGFILEALLOC',REGSTR_VAL_CONTIGFILEALLOC);
      AddConstant('REGSTR_VAL_VOLIDLETIMEOUT',REGSTR_VAL_VOLIDLETIMEOUT);
      AddConstant('REGSTR_VAL_BUFFIDLETIMEOUT',REGSTR_VAL_BUFFIDLETIMEOUT);
      AddConstant('REGSTR_VAL_BUFFAGETIMEOUT',REGSTR_VAL_BUFFAGETIMEOUT);
      AddConstant('REGSTR_VAL_NAMENUMERICTAIL',REGSTR_VAL_NAMENUMERICTAIL);
      AddConstant('REGSTR_VAL_READAHEADTHRESHOLD',REGSTR_VAL_READAHEADTHRESHOLD);
      AddConstant('REGSTR_VAL_DOUBLEBUFFER',REGSTR_VAL_DOUBLEBUFFER);
      AddConstant('REGSTR_VAL_SOFTCOMPATMODE',REGSTR_VAL_SOFTCOMPATMODE);
      AddConstant('REGSTR_VAL_DRIVESPINDOWN',REGSTR_VAL_DRIVESPINDOWN);
      AddConstant('REGSTR_VAL_FORCEPMIO',REGSTR_VAL_FORCEPMIO);
      AddConstant('REGSTR_VAL_FORCERMIO',REGSTR_VAL_FORCERMIO);
      AddConstant('REGSTR_VAL_LASTBOOTPMDRVS',REGSTR_VAL_LASTBOOTPMDRVS);
      AddConstant('REGSTR_VAL_VIRTUALHDIRQ',REGSTR_VAL_VIRTUALHDIRQ);
      AddConstant('REGSTR_VAL_SRVNAMECACHECOUNT',REGSTR_VAL_SRVNAMECACHECOUNT);
      AddConstant('REGSTR_VAL_SRVNAMECACHE',REGSTR_VAL_SRVNAMECACHE);
      AddConstant('REGSTR_VAL_SRVNAMECACHENETPROV',REGSTR_VAL_SRVNAMECACHENETPROV);
      AddConstant('REGSTR_VAL_AUTOMOUNT',REGSTR_VAL_AUTOMOUNT);
      AddConstant('REGSTR_VAL_COMPRESSIONMETHOD',REGSTR_VAL_COMPRESSIONMETHOD);
      AddConstant('REGSTR_VAL_COMPRESSIONTHRESHOLD',REGSTR_VAL_COMPRESSIONTHRESHOLD);
      AddConstant('REGSTR_VAL_CDCACHESIZE',REGSTR_VAL_CDCACHESIZE);
      AddConstant('REGSTR_VAL_CDPREFETCH',REGSTR_VAL_CDPREFETCH);
      AddConstant('REGSTR_VAL_CDPREFETCHTAIL',REGSTR_VAL_CDPREFETCHTAIL);
      AddConstant('REGSTR_VAL_CDRAWCACHE',REGSTR_VAL_CDRAWCACHE);
      AddConstant('REGSTR_VAL_CDEXTERRORS',REGSTR_VAL_CDEXTERRORS);
      AddConstant('REGSTR_VAL_CDSVDSENSE',REGSTR_VAL_CDSVDSENSE);
      AddConstant('REGSTR_VAL_CDSHOWVERSIONS',REGSTR_VAL_CDSHOWVERSIONS);
      AddConstant('REGSTR_VAL_CDCOMPATNAMES',REGSTR_VAL_CDCOMPATNAMES);
      AddConstant('REGSTR_VAL_CDNOREADAHEAD',REGSTR_VAL_CDNOREADAHEAD);
      AddConstant('REGSTR_VAL_SCSI',REGSTR_VAL_SCSI);
      AddConstant('REGSTR_VAL_ESDI',REGSTR_VAL_ESDI);
      AddConstant('REGSTR_VAL_FLOP',REGSTR_VAL_FLOP);
      AddConstant('REGSTR_VAL_DISK',REGSTR_VAL_DISK);
      AddConstant('REGSTR_VAL_CDROM',REGSTR_VAL_CDROM);
      AddConstant('REGSTR_VAL_TAPE',REGSTR_VAL_TAPE);
      AddConstant('REGSTR_VAL_SCANNER',REGSTR_VAL_SCANNER);
      AddConstant('REGSTR_VAL_FLOPPY',REGSTR_VAL_FLOPPY);
      AddConstant('REGSTR_VAL_SCSITID',REGSTR_VAL_SCSITID);
      AddConstant('REGSTR_VAL_SCSILUN',REGSTR_VAL_SCSILUN);
      AddConstant('REGSTR_VAL_REVLEVEL',REGSTR_VAL_REVLEVEL);
      AddConstant('REGSTR_VAL_PRODUCTID',REGSTR_VAL_PRODUCTID);
      AddConstant('REGSTR_VAL_PRODUCTTYPE',REGSTR_VAL_PRODUCTTYPE);
      AddConstant('REGSTR_VAL_DEVTYPE',REGSTR_VAL_DEVTYPE);
      AddConstant('REGSTR_VAL_REMOVABLE',REGSTR_VAL_REMOVABLE);
      AddConstant('REGSTR_VAL_CURDRVLET',REGSTR_VAL_CURDRVLET);
      AddConstant('REGSTR_VAL_USRDRVLET',REGSTR_VAL_USRDRVLET);
      AddConstant('REGSTR_VAL_SYNCDATAXFER',REGSTR_VAL_SYNCDATAXFER);
      AddConstant('REGSTR_VAL_AUTOINSNOTE',REGSTR_VAL_AUTOINSNOTE);
      AddConstant('REGSTR_VAL_DISCONNECT',REGSTR_VAL_DISCONNECT);
      AddConstant('REGSTR_VAL_INT13',REGSTR_VAL_INT13);
      AddConstant('REGSTR_VAL_PMODE_INT13',REGSTR_VAL_PMODE_INT13);
      AddConstant('REGSTR_VAL_USERSETTINGS',REGSTR_VAL_USERSETTINGS);
      AddConstant('REGSTR_VAL_NOIDE',REGSTR_VAL_NOIDE);
      AddConstant('REGSTR_VAL_DISKCLASSNAME',REGSTR_VAL_DISKCLASSNAME);
      AddConstant('REGSTR_VAL_CDROMCLASSNAME',REGSTR_VAL_CDROMCLASSNAME);
      AddConstant('REGSTR_VAL_FORCELOAD',REGSTR_VAL_FORCELOAD);
      AddConstant('REGSTR_VAL_FORCEFIFO',REGSTR_VAL_FORCEFIFO);
      AddConstant('REGSTR_VAL_FORCECL',REGSTR_VAL_FORCECL);
      AddConstant('REGSTR_VAL_NOUSECLASS',REGSTR_VAL_NOUSECLASS);
      AddConstant('REGSTR_VAL_NOINSTALLCLASS',REGSTR_VAL_NOINSTALLCLASS);
      AddConstant('REGSTR_VAL_NODISPLAYCLASS',REGSTR_VAL_NODISPLAYCLASS);
      AddConstant('REGSTR_VAL_SILENTINSTALL',REGSTR_VAL_SILENTINSTALL);
      AddConstant('REGSTR_KEY_PCMCIA_CLASS',REGSTR_KEY_PCMCIA_CLASS);
      AddConstant('REGSTR_KEY_SCSI_CLASS',REGSTR_KEY_SCSI_CLASS);
      AddConstant('REGSTR_KEY_PORTS_CLASS',REGSTR_KEY_PORTS_CLASS);
      AddConstant('REGSTR_KEY_MEDIA_CLASS',REGSTR_KEY_MEDIA_CLASS);
      AddConstant('REGSTR_KEY_DISPLAY_CLASS',REGSTR_KEY_DISPLAY_CLASS);
      AddConstant('REGSTR_KEY_KEYBOARD_CLASS',REGSTR_KEY_KEYBOARD_CLASS);
      AddConstant('REGSTR_KEY_MOUSE_CLASS',REGSTR_KEY_MOUSE_CLASS);
      AddConstant('REGSTR_KEY_MONITOR_CLASS',REGSTR_KEY_MONITOR_CLASS);
      AddConstant('REGSTR_VAL_PCMCIA_OPT',REGSTR_VAL_PCMCIA_OPT);
      AddConstant('PCMCIA_OPT_HAVE_SOCKET',PCMCIA_OPT_HAVE_SOCKET);
      AddConstant('PCMCIA_OPT_AUTOMEM',PCMCIA_OPT_AUTOMEM);
      AddConstant('PCMCIA_OPT_NO_SOUND',PCMCIA_OPT_NO_SOUND);
      AddConstant('PCMCIA_OPT_NO_AUDIO',PCMCIA_OPT_NO_AUDIO);
      AddConstant('PCMCIA_OPT_NO_APMREMOVE',PCMCIA_OPT_NO_APMREMOVE);
      AddConstant('REGSTR_VAL_PCMCIA_MEM',REGSTR_VAL_PCMCIA_MEM);
      AddConstant('PCMCIA_DEF_MEMBEGIN',PCMCIA_DEF_MEMBEGIN);
      AddConstant('PCMCIA_DEF_MEMEND',PCMCIA_DEF_MEMEND);
      AddConstant('PCMCIA_DEF_MEMLEN',PCMCIA_DEF_MEMLEN);
      AddConstant('REGSTR_VAL_PCMCIA_ALLOC',REGSTR_VAL_PCMCIA_ALLOC);
      AddConstant('REGSTR_VAL_PCMCIA_ATAD',REGSTR_VAL_PCMCIA_ATAD);
      AddConstant('REGSTR_VAL_PCMCIA_SIZ',REGSTR_VAL_PCMCIA_SIZ);
      AddConstant('PCMCIA_DEF_MIN_REGION',PCMCIA_DEF_MIN_REGION);
      AddConstant('REGSTR_VAL_P1284MDL',REGSTR_VAL_P1284MDL);
      AddConstant('REGSTR_VAL_P1284MFG',REGSTR_VAL_P1284MFG);
      AddConstant('REGSTR_VAL_ISAPNP',REGSTR_VAL_ISAPNP);
      AddConstant('REGSTR_VAL_ISAPNP_RDP_OVERRIDE',REGSTR_VAL_ISAPNP_RDP_OVERRIDE);
      AddConstant('REGSTR_VAL_PCI',REGSTR_VAL_PCI);
      AddConstant('REGSTR_PCI_OPTIONS',REGSTR_PCI_OPTIONS);
      AddConstant('REGSTR_PCI_DUAL_IDE',REGSTR_PCI_DUAL_IDE);
      AddConstant('PCI_OPTIONS_USE_BIOS',PCI_OPTIONS_USE_BIOS);
      AddConstant('PCI_OPTIONS_USE_IRQ_STEERING',PCI_OPTIONS_USE_IRQ_STEERING);
      AddConstant('PCI_FLAG_NO_VIDEO_IRQ',PCI_FLAG_NO_VIDEO_IRQ);
      AddConstant('PCI_FLAG_PCMCIA_WANT_IRQ',PCI_FLAG_PCMCIA_WANT_IRQ);
      AddConstant('PCI_FLAG_DUAL_IDE',PCI_FLAG_DUAL_IDE);
      AddConstant('PCI_FLAG_NO_ENUM_AT_ALL',PCI_FLAG_NO_ENUM_AT_ALL);
      AddConstant('PCI_FLAG_ENUM_NO_RESOURCE',PCI_FLAG_ENUM_NO_RESOURCE);
      AddConstant('PCI_FLAG_NEED_DWORD_ACCESS',PCI_FLAG_NEED_DWORD_ACCESS);
      AddConstant('PCI_FLAG_SINGLE_FUNCTION',PCI_FLAG_SINGLE_FUNCTION);
      AddConstant('PCI_FLAG_ALWAYS_ENABLED',PCI_FLAG_ALWAYS_ENABLED);
      AddConstant('PCI_FLAG_IS_IDE',PCI_FLAG_IS_IDE);
      AddConstant('PCI_FLAG_IS_VIDEO',PCI_FLAG_IS_VIDEO);
      AddConstant('PCI_FLAG_FAIL_START',PCI_FLAG_FAIL_START);
      AddConstant('REGSTR_KEY_CRASHES',REGSTR_KEY_CRASHES);
      AddConstant('REGSTR_KEY_DANGERS',REGSTR_KEY_DANGERS);
      AddConstant('REGSTR_KEY_DETMODVARS',REGSTR_KEY_DETMODVARS);
      AddConstant('REGSTR_KEY_NDISINFO',REGSTR_KEY_NDISINFO);
      AddConstant('REGSTR_VAL_PROTINIPATH',REGSTR_VAL_PROTINIPATH);
      AddConstant('REGSTR_VAL_RESOURCES',REGSTR_VAL_RESOURCES);
      AddConstant('REGSTR_VAL_CRASHFUNCS',REGSTR_VAL_CRASHFUNCS);
      AddConstant('REGSTR_VAL_CLASS',REGSTR_VAL_CLASS);
      AddConstant('REGSTR_VAL_DEVDESC',REGSTR_VAL_DEVDESC);
      AddConstant('REGSTR_VAL_BOOTCONFIG',REGSTR_VAL_BOOTCONFIG);
      AddConstant('REGSTR_VAL_DETFUNC',REGSTR_VAL_DETFUNC);
      AddConstant('REGSTR_VAL_DETFLAGS',REGSTR_VAL_DETFLAGS);
      AddConstant('REGSTR_VAL_COMPATIBLEIDS',REGSTR_VAL_COMPATIBLEIDS);
      AddConstant('REGSTR_VAL_DETCONFIG',REGSTR_VAL_DETCONFIG);
      AddConstant('REGSTR_VAL_VERIFYKEY',REGSTR_VAL_VERIFYKEY);
      AddConstant('REGSTR_VAL_COMINFO',REGSTR_VAL_COMINFO);
    end;
  end;

  procedure AddConsts2;
  begin
    With Scripter.DefineClass(ClassType) do
    begin
      AddConstant('REGSTR_VAL_INFNAME',REGSTR_VAL_INFNAME);
      AddConstant('REGSTR_VAL_CARDSPECIFIC',REGSTR_VAL_CARDSPECIFIC);
      AddConstant('REGSTR_VAL_NETOSTYPE',REGSTR_VAL_NETOSTYPE);
      AddConstant('REGSTR_DATA_NETOS_NDIS',REGSTR_DATA_NETOS_NDIS);
      AddConstant('REGSTR_DATA_NETOS_ODI',REGSTR_DATA_NETOS_ODI);
      AddConstant('REGSTR_DATA_NETOS_IPX',REGSTR_DATA_NETOS_IPX);
      AddConstant('REGSTR_VAL_MFG',REGSTR_VAL_MFG);
      AddConstant('REGSTR_VAL_SCAN_ONLY_FIRST',REGSTR_VAL_SCAN_ONLY_FIRST);
      AddConstant('REGSTR_VAL_SHARE_IRQ',REGSTR_VAL_SHARE_IRQ);
      AddConstant('REGSTR_VAL_NONSTANDARD_ATAPI',REGSTR_VAL_NONSTANDARD_ATAPI);
      AddConstant('REGSTR_VAL_IDE_FORCE_SERIALIZE',REGSTR_VAL_IDE_FORCE_SERIALIZE);
      AddConstant('REGSTR_VAL_MAX_HCID_LEN',REGSTR_VAL_MAX_HCID_LEN);
      AddConstant('REGSTR_VAL_HWREV',REGSTR_VAL_HWREV);
      AddConstant('REGSTR_VAL_ENABLEINTS',REGSTR_VAL_ENABLEINTS);
      AddConstant('REGDF_NOTDETIO',REGDF_NOTDETIO);
      AddConstant('REGDF_NOTDETMEM',REGDF_NOTDETMEM);
      AddConstant('REGDF_NOTDETIRQ',REGDF_NOTDETIRQ);
      AddConstant('REGDF_NOTDETDMA',REGDF_NOTDETDMA);
      AddConstant('REGDF_NOTDETALL',REGDF_NOTDETALL);
      AddConstant('REGDF_NEEDFULLCONFIG',REGDF_NEEDFULLCONFIG);
      AddConstant('REGDF_GENFORCEDCONFIG',REGDF_GENFORCEDCONFIG);
      AddConstant('REGDF_NODETCONFIG',REGDF_NODETCONFIG);
      AddConstant('REGDF_CONFLICTIO',REGDF_CONFLICTIO);
      AddConstant('REGDF_CONFLICTMEM',REGDF_CONFLICTMEM);
      AddConstant('REGDF_CONFLICTIRQ',REGDF_CONFLICTIRQ);
      AddConstant('REGDF_CONFLICTDMA',REGDF_CONFLICTDMA);
      AddConstant('REGDF_CONFLICTALL',REGDF_CONFLICTALL);
      AddConstant('REGDF_MAPIRQ2TO9',REGDF_MAPIRQ2TO9);
      AddConstant('REGDF_NOTVERIFIED',REGDF_NOTVERIFIED);
      AddConstant('REGSTR_VAL_APMBIOSVER',REGSTR_VAL_APMBIOSVER);
      AddConstant('REGSTR_VAL_APMFLAGS',REGSTR_VAL_APMFLAGS);
      AddConstant('REGSTR_VAL_SLSUPPORT',REGSTR_VAL_SLSUPPORT);
      AddConstant('REGSTR_VAL_MACHINETYPE',REGSTR_VAL_MACHINETYPE);
      AddConstant('REGSTR_VAL_SETUPMACHINETYPE',REGSTR_VAL_SETUPMACHINETYPE);
      AddConstant('REGSTR_MACHTYPE_UNKNOWN',REGSTR_MACHTYPE_UNKNOWN);
      AddConstant('REGSTR_MACHTYPE_IBMPC',REGSTR_MACHTYPE_IBMPC);
      AddConstant('REGSTR_MACHTYPE_IBMPCJR',REGSTR_MACHTYPE_IBMPCJR);
      AddConstant('REGSTR_MACHTYPE_IBMPCCONV',REGSTR_MACHTYPE_IBMPCCONV);
      AddConstant('REGSTR_MACHTYPE_IBMPCXT',REGSTR_MACHTYPE_IBMPCXT);
      AddConstant('REGSTR_MACHTYPE_IBMPCXT_286',REGSTR_MACHTYPE_IBMPCXT_286);
      AddConstant('REGSTR_MACHTYPE_IBMPCAT',REGSTR_MACHTYPE_IBMPCAT);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_25',REGSTR_MACHTYPE_IBMPS2_25);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_30_286',REGSTR_MACHTYPE_IBMPS2_30_286);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_30',REGSTR_MACHTYPE_IBMPS2_30);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_50',REGSTR_MACHTYPE_IBMPS2_50);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_50Z',REGSTR_MACHTYPE_IBMPS2_50Z);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_55SX',REGSTR_MACHTYPE_IBMPS2_55SX);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_60',REGSTR_MACHTYPE_IBMPS2_60);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_65SX',REGSTR_MACHTYPE_IBMPS2_65SX);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_70',REGSTR_MACHTYPE_IBMPS2_70);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_P70',REGSTR_MACHTYPE_IBMPS2_P70);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_70_80',REGSTR_MACHTYPE_IBMPS2_70_80);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_80',REGSTR_MACHTYPE_IBMPS2_80);
      AddConstant('REGSTR_MACHTYPE_IBMPS2_90',REGSTR_MACHTYPE_IBMPS2_90);
      AddConstant('REGSTR_MACHTYPE_IBMPS1',REGSTR_MACHTYPE_IBMPS1);
      AddConstant('REGSTR_MACHTYPE_PHOENIX_PCAT',REGSTR_MACHTYPE_PHOENIX_PCAT);
      AddConstant('REGSTR_MACHTYPE_HP_VECTRA',REGSTR_MACHTYPE_HP_VECTRA);
      AddConstant('REGSTR_MACHTYPE_ATT_PC',REGSTR_MACHTYPE_ATT_PC);
      AddConstant('REGSTR_MACHTYPE_ZENITH_PC',REGSTR_MACHTYPE_ZENITH_PC);
      AddConstant('REGSTR_VAL_APMMENUSUSPEND',REGSTR_VAL_APMMENUSUSPEND);
      AddConstant('APMMENUSUSPEND_DISABLED',APMMENUSUSPEND_DISABLED);
      AddConstant('APMMENUSUSPEND_ENABLED',APMMENUSUSPEND_ENABLED);
      AddConstant('APMMENUSUSPEND_UNDOCKED',APMMENUSUSPEND_UNDOCKED);
      AddConstant('APMMENUSUSPEND_NOCHANGE',APMMENUSUSPEND_NOCHANGE);
      AddConstant('REGSTR_VAL_BUSTYPE',REGSTR_VAL_BUSTYPE);
      AddConstant('REGSTR_VAL_CPU',REGSTR_VAL_CPU);
      AddConstant('REGSTR_VAL_NDP',REGSTR_VAL_NDP);
      AddConstant('REGSTR_VAL_PNPBIOSVER',REGSTR_VAL_PNPBIOSVER);
      AddConstant('REGSTR_VAL_PNPSTRUCOFFSET',REGSTR_VAL_PNPSTRUCOFFSET);
      AddConstant('REGSTR_VAL_PCIBIOSVER',REGSTR_VAL_PCIBIOSVER);
      AddConstant('REGSTR_VAL_HWMECHANISM',REGSTR_VAL_HWMECHANISM);
      AddConstant('REGSTR_VAL_LASTPCIBUSNUM',REGSTR_VAL_LASTPCIBUSNUM);
      AddConstant('REGSTR_VAL_CONVMEM',REGSTR_VAL_CONVMEM);
      AddConstant('REGSTR_VAL_EXTMEM',REGSTR_VAL_EXTMEM);
      AddConstant('REGSTR_VAL_COMPUTERNAME',REGSTR_VAL_COMPUTERNAME);
      AddConstant('REGSTR_VAL_BIOSNAME',REGSTR_VAL_BIOSNAME);
      AddConstant('REGSTR_VAL_BIOSVERSION',REGSTR_VAL_BIOSVERSION);
      AddConstant('REGSTR_VAL_BIOSDATE',REGSTR_VAL_BIOSDATE);
      AddConstant('REGSTR_VAL_MODEL',REGSTR_VAL_MODEL);
      AddConstant('REGSTR_VAL_SUBMODEL',REGSTR_VAL_SUBMODEL);
      AddConstant('REGSTR_VAL_REVISION',REGSTR_VAL_REVISION);
      AddConstant('REGSTR_VAL_FIFODEPTH',REGSTR_VAL_FIFODEPTH);
      AddConstant('REGSTR_VAL_RDINTTHRESHOLD',REGSTR_VAL_RDINTTHRESHOLD);
      AddConstant('REGSTR_VAL_WRINTTHRESHOLD',REGSTR_VAL_WRINTTHRESHOLD);
      AddConstant('REGSTR_VAL_PRIORITY',REGSTR_VAL_PRIORITY);
      AddConstant('REGSTR_VAL_DRIVER',REGSTR_VAL_DRIVER);
      AddConstant('REGSTR_VAL_FUNCDESC',REGSTR_VAL_FUNCDESC);
      AddConstant('REGSTR_VAL_FORCEDCONFIG',REGSTR_VAL_FORCEDCONFIG);
      AddConstant('REGSTR_VAL_CONFIGFLAGS',REGSTR_VAL_CONFIGFLAGS);
      AddConstant('REGSTR_VAL_CSCONFIGFLAGS',REGSTR_VAL_CSCONFIGFLAGS);
      AddConstant('CONFIGFLAG_DISABLED',CONFIGFLAG_DISABLED);
      AddConstant('CONFIGFLAG_REMOVED',CONFIGFLAG_REMOVED);
      AddConstant('CONFIGFLAG_MANUAL_INSTALL',CONFIGFLAG_MANUAL_INSTALL);
      AddConstant('CONFIGFLAG_IGNORE_BOOT_LC',CONFIGFLAG_IGNORE_BOOT_LC);
      AddConstant('CONFIGFLAG_NET_BOOT',CONFIGFLAG_NET_BOOT);
      AddConstant('CONFIGFLAG_REINSTALL',CONFIGFLAG_REINSTALL);
      AddConstant('CONFIGFLAG_FAILEDINSTALL',CONFIGFLAG_FAILEDINSTALL);
      AddConstant('CONFIGFLAG_CANTSTOPACHILD',CONFIGFLAG_CANTSTOPACHILD);
      AddConstant('CONFIGFLAG_OKREMOVEROM',CONFIGFLAG_OKREMOVEROM);
      AddConstant('CONFIGFLAG_NOREMOVEEXIT',CONFIGFLAG_NOREMOVEEXIT);
      AddConstant('CSCONFIGFLAG_BITS',CSCONFIGFLAG_BITS);
      AddConstant('CSCONFIGFLAG_DISABLED',CSCONFIGFLAG_DISABLED);
      AddConstant('CSCONFIGFLAG_DO_NOT_CREATE',CSCONFIGFLAG_DO_NOT_CREATE);
      AddConstant('CSCONFIGFLAG_DO_NOT_START',CSCONFIGFLAG_DO_NOT_START);
      AddConstant('DMSTATEFLAG_APPLYTOALL',DMSTATEFLAG_APPLYTOALL);
      AddConstant('REGSTR_VAL_ROOT_DEVNODE',REGSTR_VAL_ROOT_DEVNODE);
      AddConstant('REGSTR_VAL_RESERVED_DEVNODE',REGSTR_VAL_RESERVED_DEVNODE);
      AddConstant('REGSTR_PATH_READDATAPORT',REGSTR_PATH_READDATAPORT);
      AddConstant('REGSTR_PATH_MULTI_FUNCTION',REGSTR_PATH_MULTI_FUNCTION);
      AddConstant('REGSTR_VAL_RESOURCE_MAP',REGSTR_VAL_RESOURCE_MAP);
      AddConstant('REGSTR_PATH_CHILD_PREFIX',REGSTR_PATH_CHILD_PREFIX);
      AddConstant('NUM_RESOURCE_MAP',NUM_RESOURCE_MAP);
      AddConstant('REGSTR_VAL_MF_FLAGS',REGSTR_VAL_MF_FLAGS);
      AddConstant('MF_FLAGS_EVEN_IF_NO_RESOURCE',MF_FLAGS_EVEN_IF_NO_RESOURCE);
      AddConstant('MF_FLAGS_NO_CREATE_IF_NO_RESOURCE',MF_FLAGS_NO_CREATE_IF_NO_RESOURCE);
      AddConstant('MF_FLAGS_FILL_IN_UNKNOWN_RESOURCE',MF_FLAGS_FILL_IN_UNKNOWN_RESOURCE);
      AddConstant('MF_FLAGS_CREATE_BUT_NO_SHOW_DISABLED',MF_FLAGS_CREATE_BUT_NO_SHOW_DISABLED);
      AddConstant('REGSTR_VAL_EISA_RANGES',REGSTR_VAL_EISA_RANGES);
      AddConstant('REGSTR_VAL_EISA_FUNCTIONS',REGSTR_VAL_EISA_FUNCTIONS);
      AddConstant('REGSTR_VAL_EISA_FUNCTIONS_MASK',REGSTR_VAL_EISA_FUNCTIONS_MASK);
      AddConstant('REGSTR_VAL_EISA_FLAGS',REGSTR_VAL_EISA_FLAGS);
      AddConstant('REGSTR_VAL_EISA_SIMULATE_INT15',REGSTR_VAL_EISA_SIMULATE_INT15);
      AddConstant('REGSTR_VAL_EISA_RANGES_NEC_98',REGSTR_VAL_EISA_RANGES_NEC_98);
      AddConstant('REGSTR_VAL_EISA_FUNCTIONS_NEC_98',REGSTR_VAL_EISA_FUNCTIONS_NEC_98);
      AddConstant('REGSTR_VAL_EISA_FUNCTIONS_MASK_NEC_98',REGSTR_VAL_EISA_FUNCTIONS_MASK_NEC_98);
      AddConstant('REGSTR_VAL_EISA_FLAGS_NEC_98',REGSTR_VAL_EISA_FLAGS_NEC_98);
      AddConstant('REGSTR_VAL_EISA_SIMULATE_INT15_NEC_98',REGSTR_VAL_EISA_SIMULATE_INT15_NEC_98);
      AddConstant('EISAFLAG_NO_IO_MERGE',EISAFLAG_NO_IO_MERGE);
      AddConstant('EISAFLAG_SLOT_IO_FIRST',EISAFLAG_SLOT_IO_FIRST);
      AddConstant('EISA_NO_MAX_FUNCTION',EISA_NO_MAX_FUNCTION);
      AddConstant('NUM_EISA_RANGES',NUM_EISA_RANGES);
      AddConstant('REGSTR_VAL_DRVDESC',REGSTR_VAL_DRVDESC);
      AddConstant('REGSTR_VAL_DEVLOADER',REGSTR_VAL_DEVLOADER);
      AddConstant('REGSTR_VAL_STATICVXD',REGSTR_VAL_STATICVXD);
      AddConstant('REGSTR_VAL_PROPERTIES',REGSTR_VAL_PROPERTIES);
      AddConstant('REGSTR_VAL_MANUFACTURER',REGSTR_VAL_MANUFACTURER);
      AddConstant('REGSTR_VAL_EXISTS',REGSTR_VAL_EXISTS);
      AddConstant('REGSTR_VAL_CMENUMFLAGS',REGSTR_VAL_CMENUMFLAGS);
      AddConstant('REGSTR_VAL_CMDRIVFLAGS',REGSTR_VAL_CMDRIVFLAGS);
      AddConstant('REGSTR_VAL_ENUMERATOR',REGSTR_VAL_ENUMERATOR);
      AddConstant('REGSTR_VAL_DEVICEDRIVER',REGSTR_VAL_DEVICEDRIVER);
      AddConstant('REGSTR_VAL_PORTNAME',REGSTR_VAL_PORTNAME);
      AddConstant('REGSTR_VAL_INFPATH',REGSTR_VAL_INFPATH);
      AddConstant('REGSTR_VAL_INFSECTION',REGSTR_VAL_INFSECTION);
      AddConstant('REGSTR_VAL_POLLING',REGSTR_VAL_POLLING);
      AddConstant('REGSTR_VAL_DONTLOADIFCONFLICT',REGSTR_VAL_DONTLOADIFCONFLICT);
      AddConstant('REGSTR_VAL_PORTSUBCLASS',REGSTR_VAL_PORTSUBCLASS);
      AddConstant('REGSTR_VAL_NETCLEAN',REGSTR_VAL_NETCLEAN);
      AddConstant('REGSTR_VAL_IDE_NO_SERIALIZE',REGSTR_VAL_IDE_NO_SERIALIZE);
      AddConstant('REGSTR_VAL_NOCMOSORFDPT',REGSTR_VAL_NOCMOSORFDPT);
      AddConstant('REGSTR_VAL_COMVERIFYBASE',REGSTR_VAL_COMVERIFYBASE);
      AddConstant('REGSTR_KEY_OVERRIDE',REGSTR_KEY_OVERRIDE);
      AddConstant('REGSTR_VAL_CONFIGMG',REGSTR_VAL_CONFIGMG);
      AddConstant('REGSTR_VAL_SYSDM',REGSTR_VAL_SYSDM);
      AddConstant('REGSTR_VAL_SYSDMFUNC',REGSTR_VAL_SYSDMFUNC);
      AddConstant('REGSTR_VAL_PRIVATE',REGSTR_VAL_PRIVATE);
      AddConstant('REGSTR_VAL_PRIVATEFUNC',REGSTR_VAL_PRIVATEFUNC);
      AddConstant('REGSTR_VAL_DETECT',REGSTR_VAL_DETECT);
      AddConstant('REGSTR_VAL_DETECTFUNC',REGSTR_VAL_DETECTFUNC);
      AddConstant('REGSTR_VAL_ASKFORCONFIG',REGSTR_VAL_ASKFORCONFIG);
      AddConstant('REGSTR_VAL_ASKFORCONFIGFUNC',REGSTR_VAL_ASKFORCONFIGFUNC);
      AddConstant('REGSTR_VAL_WAITFORUNDOCK',REGSTR_VAL_WAITFORUNDOCK);
      AddConstant('REGSTR_VAL_WAITFORUNDOCKFUNC',REGSTR_VAL_WAITFORUNDOCKFUNC);
      AddConstant('REGSTR_VAL_REMOVEROMOKAY',REGSTR_VAL_REMOVEROMOKAY);
      AddConstant('REGSTR_VAL_REMOVEROMOKAYFUNC',REGSTR_VAL_REMOVEROMOKAYFUNC);
      AddConstant('REGSTR_VAL_CURCONFIG',REGSTR_VAL_CURCONFIG);
      AddConstant('REGSTR_VAL_FRIENDLYNAME',REGSTR_VAL_FRIENDLYNAME);
      AddConstant('REGSTR_VAL_CURRENTCONFIG',REGSTR_VAL_CURRENTCONFIG);
      AddConstant('REGSTR_VAL_MAP',REGSTR_VAL_MAP);
      AddConstant('REGSTR_VAL_ID',REGSTR_VAL_ID);
      AddConstant('REGSTR_VAL_DOCKED',REGSTR_VAL_DOCKED);
      AddConstant('REGSTR_VAL_CHECKSUM',REGSTR_VAL_CHECKSUM);
      AddConstant('REGSTR_VAL_HWDETECT',REGSTR_VAL_HWDETECT);
      AddConstant('REGSTR_VAL_INHIBITRESULTS',REGSTR_VAL_INHIBITRESULTS);
      AddConstant('REGSTR_VAL_PROFILEFLAGS',REGSTR_VAL_PROFILEFLAGS);
      AddConstant('REGSTR_KEY_PCMCIA',REGSTR_KEY_PCMCIA);
      AddConstant('REGSTR_KEY_PCUNKNOWN',REGSTR_KEY_PCUNKNOWN);
      AddConstant('REGSTR_VAL_PCSSDRIVER',REGSTR_VAL_PCSSDRIVER);
      AddConstant('REGSTR_KEY_PCMTD',REGSTR_KEY_PCMTD);
      AddConstant('REGSTR_VAL_PCMTDRIVER',REGSTR_VAL_PCMTDRIVER);
      AddConstant('REGSTR_VAL_HARDWAREID',REGSTR_VAL_HARDWAREID);
      AddConstant('REGSTR_VAL_INSTALLER',REGSTR_VAL_INSTALLER);
      AddConstant('REGSTR_VAL_INSICON',REGSTR_VAL_INSICON);
      AddConstant('REGSTR_VAL_ENUMPROPPAGES',REGSTR_VAL_ENUMPROPPAGES);
      AddConstant('REGSTR_VAL_BASICPROPERTIES',REGSTR_VAL_BASICPROPERTIES);
      AddConstant('REGSTR_VAL_PRIVATEPROBLEM',REGSTR_VAL_PRIVATEPROBLEM);
      AddConstant('REGSTR_KEY_CURRENT',REGSTR_KEY_CURRENT);
      AddConstant('REGSTR_KEY_DEFAULT',REGSTR_KEY_DEFAULT);
      AddConstant('REGSTR_KEY_MODES',REGSTR_KEY_MODES);
      AddConstant('REGSTR_VAL_MODE',REGSTR_VAL_MODE);
      AddConstant('REGSTR_VAL_BPP',REGSTR_VAL_BPP);
      AddConstant('REGSTR_VAL_HRES',REGSTR_VAL_HRES);
      AddConstant('REGSTR_VAL_VRES',REGSTR_VAL_VRES);
      AddConstant('REGSTR_VAL_FONTSIZE',REGSTR_VAL_FONTSIZE);
      AddConstant('REGSTR_VAL_DRV',REGSTR_VAL_DRV);
      AddConstant('REGSTR_VAL_GRB',REGSTR_VAL_GRB);
      AddConstant('REGSTR_VAL_VDD',REGSTR_VAL_VDD);
      AddConstant('REGSTR_VAL_VER',REGSTR_VAL_VER);
      AddConstant('REGSTR_VAL_MAXRES',REGSTR_VAL_MAXRES);
      AddConstant('REGSTR_VAL_DPMS',REGSTR_VAL_DPMS);
      AddConstant('REGSTR_VAL_RESUMERESET',REGSTR_VAL_RESUMERESET);
      AddConstant('REGSTR_VAL_DESCRIPTION',REGSTR_VAL_DESCRIPTION);
      AddConstant('REGSTR_KEY_SYSTEM',REGSTR_KEY_SYSTEM);
      AddConstant('REGSTR_KEY_USER',REGSTR_KEY_USER);
      AddConstant('REGSTR_VAL_DPI',REGSTR_VAL_DPI);
      AddConstant('REGSTR_VAL_PCICOPTIONS',REGSTR_VAL_PCICOPTIONS);
      AddConstant('PCIC_DEFAULT_IRQMASK',PCIC_DEFAULT_IRQMASK);
      AddConstant('PCIC_DEFAULT_IRQMASK_NEC_98',PCIC_DEFAULT_IRQMASK_NEC_98);
      AddConstant('PCIC_DEFAULT_NUMSOCKETS',PCIC_DEFAULT_NUMSOCKETS);
      AddConstant('REGSTR_VAL_PCICIRQMAP',REGSTR_VAL_PCICIRQMAP);
      AddConstant('REGSTR_PATH_APPEARANCE',REGSTR_PATH_APPEARANCE);
      AddConstant('REGSTR_PATH_LOOKSCHEMES',REGSTR_PATH_LOOKSCHEMES);
      AddConstant('REGSTR_VAL_CUSTOMCOLORS',REGSTR_VAL_CUSTOMCOLORS);
      AddConstant('REGSTR_PATH_SCREENSAVE',REGSTR_PATH_SCREENSAVE);
      AddConstant('REGSTR_VALUE_USESCRPASSWORD',REGSTR_VALUE_USESCRPASSWORD);
      AddConstant('REGSTR_VALUE_SCRPASSWORD',REGSTR_VALUE_SCRPASSWORD);
      AddConstant('REGSTR_VALUE_LOWPOWERTIMEOUT',REGSTR_VALUE_LOWPOWERTIMEOUT);
      AddConstant('REGSTR_VALUE_POWEROFFTIMEOUT',REGSTR_VALUE_POWEROFFTIMEOUT);
      AddConstant('REGSTR_VALUE_LOWPOWERACTIVE',REGSTR_VALUE_LOWPOWERACTIVE);
      AddConstant('REGSTR_VALUE_POWEROFFACTIVE',REGSTR_VALUE_POWEROFFACTIVE);
      AddConstant('REGSTR_PATH_WINDOWSAPPLETS',REGSTR_PATH_WINDOWSAPPLETS);
      AddConstant('REGSTR_PATH_SYSTRAY',REGSTR_PATH_SYSTRAY);
      AddConstant('REGSTR_VAL_SYSTRAYSVCS',REGSTR_VAL_SYSTRAYSVCS);
      AddConstant('REGSTR_VAL_SYSTRAYBATFLAGS',REGSTR_VAL_SYSTRAYBATFLAGS);
      AddConstant('REGSTR_VAL_SYSTRAYPCCARDFLAGS',REGSTR_VAL_SYSTRAYPCCARDFLAGS);
      AddConstant('REGSTR_PATH_NETWORK_USERSETTINGS',REGSTR_PATH_NETWORK_USERSETTINGS);
      AddConstant('REGSTR_KEY_NETWORK_PERSISTENT',REGSTR_KEY_NETWORK_PERSISTENT);
      AddConstant('REGSTR_KEY_NETWORK_RECENT',REGSTR_KEY_NETWORK_RECENT);
      AddConstant('REGSTR_VAL_REMOTE_PATH',REGSTR_VAL_REMOTE_PATH);
      AddConstant('REGSTR_VAL_USER_NAME',REGSTR_VAL_USER_NAME);
      AddConstant('REGSTR_VAL_PROVIDER_NAME',REGSTR_VAL_PROVIDER_NAME);
      AddConstant('REGSTR_VAL_CONNECTION_TYPE',REGSTR_VAL_CONNECTION_TYPE);
      AddConstant('REGSTR_VAL_UPGRADE',REGSTR_VAL_UPGRADE);
      AddConstant('REGSTR_KEY_LOGON',REGSTR_KEY_LOGON);
      AddConstant('REGSTR_VAL_MUSTBEVALIDATED',REGSTR_VAL_MUSTBEVALIDATED);
      AddConstant('REGSTR_VAL_RUNLOGINSCRIPT',REGSTR_VAL_RUNLOGINSCRIPT);
      AddConstant('REGSTR_KEY_NETWORKPROVIDER',REGSTR_KEY_NETWORKPROVIDER);
      AddConstant('REGSTR_PATH_NW32NETPROVIDER',REGSTR_PATH_NW32NETPROVIDER);
      AddConstant('REGSTR_PATH_MS32NETPROVIDER',REGSTR_PATH_MS32NETPROVIDER);
      AddConstant('REGSTR_VAL_AUTHENT_AGENT',REGSTR_VAL_AUTHENT_AGENT);
      AddConstant('REGSTR_VAL_PREFREDIR',REGSTR_VAL_PREFREDIR);
      AddConstant('REGSTR_VAL_AUTOSTART',REGSTR_VAL_AUTOSTART);
      AddConstant('REGSTR_VAL_AUTOLOGON',REGSTR_VAL_AUTOLOGON);
      AddConstant('REGSTR_VAL_NETCARD',REGSTR_VAL_NETCARD);
      AddConstant('REGSTR_VAL_TRANSPORT',REGSTR_VAL_TRANSPORT);
      AddConstant('REGSTR_VAL_DYNAMIC',REGSTR_VAL_DYNAMIC);
      AddConstant('REGSTR_VAL_TRANSITION',REGSTR_VAL_TRANSITION);
      AddConstant('REGSTR_VAL_STATICDRIVE',REGSTR_VAL_STATICDRIVE);
      AddConstant('REGSTR_VAL_LOADHI',REGSTR_VAL_LOADHI);
      AddConstant('REGSTR_VAL_LOADRMDRIVERS',REGSTR_VAL_LOADRMDRIVERS);
      AddConstant('REGSTR_VAL_SETUPN',REGSTR_VAL_SETUPN);
      AddConstant('REGSTR_VAL_SETUPNPATH',REGSTR_VAL_SETUPNPATH);
      AddConstant('REGSTR_VAL_WRKGRP_FORCEMAPPING',REGSTR_VAL_WRKGRP_FORCEMAPPING);
      AddConstant('REGSTR_VAL_WRKGRP_REQUIRED',REGSTR_VAL_WRKGRP_REQUIRED);
      AddConstant('REGSTR_PATH_CURRENT_CONTROL_SET',REGSTR_PATH_CURRENT_CONTROL_SET);
      AddConstant('REGSTR_VAL_CURRENT_USER',REGSTR_VAL_CURRENT_USER);
      AddConstant('REGSTR_PATH_PWDPROVIDER',REGSTR_PATH_PWDPROVIDER);
      AddConstant('REGSTR_VAL_PWDPROVIDER_PATH',REGSTR_VAL_PWDPROVIDER_PATH);
      AddConstant('REGSTR_VAL_PWDPROVIDER_DESC',REGSTR_VAL_PWDPROVIDER_DESC);
      AddConstant('REGSTR_VAL_PWDPROVIDER_CHANGEPWD',REGSTR_VAL_PWDPROVIDER_CHANGEPWD);
      AddConstant('REGSTR_VAL_PWDPROVIDER_CHANGEPWDHWND',REGSTR_VAL_PWDPROVIDER_CHANGEPWDHWND);
      AddConstant('REGSTR_VAL_PWDPROVIDER_GETPWDSTATUS',REGSTR_VAL_PWDPROVIDER_GETPWDSTATUS);
      AddConstant('REGSTR_VAL_PWDPROVIDER_ISNP',REGSTR_VAL_PWDPROVIDER_ISNP);
      AddConstant('REGSTR_VAL_PWDPROVIDER_CHANGEORDER',REGSTR_VAL_PWDPROVIDER_CHANGEORDER);
      AddConstant('REGSTR_PATH_POLICIES',REGSTR_PATH_POLICIES);
      AddConstant('REGSTR_PATH_UPDATE',REGSTR_PATH_UPDATE);
      AddConstant('REGSTR_VALUE_ENABLE',REGSTR_VALUE_ENABLE);
      AddConstant('REGSTR_VALUE_VERBOSE',REGSTR_VALUE_VERBOSE);
      AddConstant('REGSTR_VALUE_NETPATH',REGSTR_VALUE_NETPATH);
      AddConstant('REGSTR_VALUE_DEFAULTLOC',REGSTR_VALUE_DEFAULTLOC);
      AddConstant('REGSTR_KEY_NETWORK',REGSTR_KEY_NETWORK);
      AddConstant('REGSTR_KEY_PRINTERS',REGSTR_KEY_PRINTERS);
      AddConstant('REGSTR_KEY_WINOLDAPP',REGSTR_KEY_WINOLDAPP);
      AddConstant('REGSTR_VAL_NOFILESHARING',REGSTR_VAL_NOFILESHARING);
      AddConstant('REGSTR_VAL_NOPRINTSHARING',REGSTR_VAL_NOPRINTSHARING);
      AddConstant('REGSTR_VAL_NOFILESHARINGCTRL',REGSTR_VAL_NOFILESHARINGCTRL);
      AddConstant('REGSTR_VAL_NOPRINTSHARINGCTRL',REGSTR_VAL_NOPRINTSHARINGCTRL);
      AddConstant('REGSTR_VAL_HIDESHAREPWDS',REGSTR_VAL_HIDESHAREPWDS);
      AddConstant('REGSTR_VAL_DISABLEPWDCACHING',REGSTR_VAL_DISABLEPWDCACHING);
      AddConstant('REGSTR_VAL_ALPHANUMPWDS',REGSTR_VAL_ALPHANUMPWDS);
      AddConstant('REGSTR_VAL_NETSETUP_DISABLE',REGSTR_VAL_NETSETUP_DISABLE);
      AddConstant('REGSTR_VAL_NETSETUP_NOCONFIGPAGE',REGSTR_VAL_NETSETUP_NOCONFIGPAGE);
      AddConstant('REGSTR_VAL_NETSETUP_NOIDPAGE',REGSTR_VAL_NETSETUP_NOIDPAGE);
      AddConstant('REGSTR_VAL_NETSETUP_NOSECURITYPAGE',REGSTR_VAL_NETSETUP_NOSECURITYPAGE);
      AddConstant('REGSTR_VAL_SYSTEMCPL_NOVIRTMEMPAGE',REGSTR_VAL_SYSTEMCPL_NOVIRTMEMPAGE);
      AddConstant('REGSTR_VAL_SYSTEMCPL_NODEVMGRPAGE',REGSTR_VAL_SYSTEMCPL_NODEVMGRPAGE);
      AddConstant('REGSTR_VAL_SYSTEMCPL_NOCONFIGPAGE',REGSTR_VAL_SYSTEMCPL_NOCONFIGPAGE);
      AddConstant('REGSTR_VAL_SYSTEMCPL_NOFILESYSPAGE',REGSTR_VAL_SYSTEMCPL_NOFILESYSPAGE);
      AddConstant('REGSTR_VAL_DISPCPL_NODISPCPL',REGSTR_VAL_DISPCPL_NODISPCPL);
      AddConstant('REGSTR_VAL_DISPCPL_NOBACKGROUNDPAGE',REGSTR_VAL_DISPCPL_NOBACKGROUNDPAGE);
      AddConstant('REGSTR_VAL_DISPCPL_NOSCRSAVPAGE',REGSTR_VAL_DISPCPL_NOSCRSAVPAGE);
      AddConstant('REGSTR_VAL_DISPCPL_NOAPPEARANCEPAGE',REGSTR_VAL_DISPCPL_NOAPPEARANCEPAGE);
      AddConstant('REGSTR_VAL_DISPCPL_NOSETTINGSPAGE',REGSTR_VAL_DISPCPL_NOSETTINGSPAGE);
    end;
  end;

  procedure AddConsts3;
  begin
    With Scripter.DefineClass(ClassType) do
    begin
      AddConstant('REGSTR_VAL_SECCPL_NOSECCPL',REGSTR_VAL_SECCPL_NOSECCPL);
      AddConstant('REGSTR_VAL_SECCPL_NOPWDPAGE',REGSTR_VAL_SECCPL_NOPWDPAGE);
      AddConstant('REGSTR_VAL_SECCPL_NOADMINPAGE',REGSTR_VAL_SECCPL_NOADMINPAGE);
      AddConstant('REGSTR_VAL_SECCPL_NOPROFILEPAGE',REGSTR_VAL_SECCPL_NOPROFILEPAGE);
      AddConstant('REGSTR_VAL_PRINTERS_HIDETABS',REGSTR_VAL_PRINTERS_HIDETABS);
      AddConstant('REGSTR_VAL_PRINTERS_NODELETE',REGSTR_VAL_PRINTERS_NODELETE);
      AddConstant('REGSTR_VAL_PRINTERS_NOADD',REGSTR_VAL_PRINTERS_NOADD);
      AddConstant('REGSTR_VAL_WINOLDAPP_DISABLED',REGSTR_VAL_WINOLDAPP_DISABLED);
      AddConstant('REGSTR_VAL_WINOLDAPP_NOREALMODE',REGSTR_VAL_WINOLDAPP_NOREALMODE);
      AddConstant('REGSTR_VAL_NOENTIRENETWORK',REGSTR_VAL_NOENTIRENETWORK);
      AddConstant('REGSTR_VAL_NOWORKGROUPCONTENTS',REGSTR_VAL_NOWORKGROUPCONTENTS);
      AddConstant('REGSTR_VAL_MINPWDLEN',REGSTR_VAL_MINPWDLEN);
      AddConstant('REGSTR_VAL_PWDEXPIRATION',REGSTR_VAL_PWDEXPIRATION);
      AddConstant('REGSTR_VAL_WIN31PROVIDER',REGSTR_VAL_WIN31PROVIDER);
      AddConstant('REGSTR_VAL_DISABLEREGTOOLS',REGSTR_VAL_DISABLEREGTOOLS);
      AddConstant('REGSTR_PATH_WINLOGON',REGSTR_PATH_WINLOGON);
      AddConstant('REGSTR_VAL_LEGALNOTICECAPTION',REGSTR_VAL_LEGALNOTICECAPTION);
      AddConstant('REGSTR_VAL_LEGALNOTICETEXT',REGSTR_VAL_LEGALNOTICETEXT);
      AddConstant('REGSTR_VAL_RESTRICTRUN',REGSTR_VAL_RESTRICTRUN);
      AddConstant('REGSTR_KEY_POL_USERS',REGSTR_KEY_POL_USERS);
      AddConstant('REGSTR_KEY_POL_COMPUTERS',REGSTR_KEY_POL_COMPUTERS);
      AddConstant('REGSTR_KEY_POL_USERGROUPS',REGSTR_KEY_POL_USERGROUPS);
      AddConstant('REGSTR_KEY_POL_DEFAULT',REGSTR_KEY_POL_DEFAULT);
      AddConstant('REGSTR_KEY_POL_USERGROUPDATA',REGSTR_KEY_POL_USERGROUPDATA);
      AddConstant('REGSTR_PATH_TIMEZONE',REGSTR_PATH_TIMEZONE);
      AddConstant('REGSTR_VAL_TZBIAS',REGSTR_VAL_TZBIAS);
      AddConstant('REGSTR_VAL_TZDLTBIAS',REGSTR_VAL_TZDLTBIAS);
      AddConstant('REGSTR_VAL_TZSTDBIAS',REGSTR_VAL_TZSTDBIAS);
      AddConstant('REGSTR_VAL_TZACTBIAS',REGSTR_VAL_TZACTBIAS);
      AddConstant('REGSTR_VAL_TZDLTFLAG',REGSTR_VAL_TZDLTFLAG);
      AddConstant('REGSTR_VAL_TZSTDSTART',REGSTR_VAL_TZSTDSTART);
      AddConstant('REGSTR_VAL_TZDLTSTART',REGSTR_VAL_TZDLTSTART);
      AddConstant('REGSTR_VAL_TZDLTNAME',REGSTR_VAL_TZDLTNAME);
      AddConstant('REGSTR_VAL_TZSTDNAME',REGSTR_VAL_TZSTDNAME);
      AddConstant('REGSTR_VAL_TZNOCHANGESTART',REGSTR_VAL_TZNOCHANGESTART);
      AddConstant('REGSTR_VAL_TZNOCHANGEEND',REGSTR_VAL_TZNOCHANGEEND);
      AddConstant('REGSTR_VAL_TZNOAUTOTIME',REGSTR_VAL_TZNOAUTOTIME);
      AddConstant('REGSTR_PATH_FLOATINGPOINTPROCESSOR',REGSTR_PATH_FLOATINGPOINTPROCESSOR);
      AddConstant('REGSTR_PATH_FLOATINGPOINTPROCESSOR0',REGSTR_PATH_FLOATINGPOINTPROCESSOR0);
      AddConstant('REGSTR_PATH_COMPUTRNAME',REGSTR_PATH_COMPUTRNAME);
      AddConstant('REGSTR_VAL_COMPUTRNAME',REGSTR_VAL_COMPUTRNAME);
      AddConstant('REGSTR_PATH_SHUTDOWN',REGSTR_PATH_SHUTDOWN);
      AddConstant('REGSTR_VAL_FORCEREBOOT',REGSTR_VAL_FORCEREBOOT);
      AddConstant('REGSTR_VAL_SETUPPROGRAMRAN',REGSTR_VAL_SETUPPROGRAMRAN);
      AddConstant('REGSTR_VAL_DOES_POLLING',REGSTR_VAL_DOES_POLLING);
      AddConstant('REGSTR_PATH_KNOWNDLLS',REGSTR_PATH_KNOWNDLLS);
      AddConstant('REGSTR_PATH_KNOWN16DLLS',REGSTR_PATH_KNOWN16DLLS);
      AddConstant('REGSTR_PATH_CHECKVERDLLS',REGSTR_PATH_CHECKVERDLLS);
      AddConstant('REGSTR_PATH_WARNVERDLLS',REGSTR_PATH_WARNVERDLLS);
      AddConstant('REGSTR_PATH_HACKINIFILE',REGSTR_PATH_HACKINIFILE);
      AddConstant('REGSTR_PATH_CHECKBADAPPS',REGSTR_PATH_CHECKBADAPPS);
      AddConstant('REGSTR_PATH_APPPATCH',REGSTR_PATH_APPPATCH);
      AddConstant('REGSTR_PATH_KNOWNVXDS',REGSTR_PATH_KNOWNVXDS);
      AddConstant('REGSTR_VAL_UNINSTALLER_DISPLAYNAME',REGSTR_VAL_UNINSTALLER_DISPLAYNAME);
      AddConstant('REGSTR_VAL_UNINSTALLER_COMMANDLINE',REGSTR_VAL_UNINSTALLER_COMMANDLINE);
      AddConstant('REGSTR_PATH_DESKTOP',REGSTR_PATH_DESKTOP);
      AddConstant('REGSTR_PATH_MOUSE',REGSTR_PATH_MOUSE);
      AddConstant('REGSTR_PATH_KEYBOARD',REGSTR_PATH_KEYBOARD);
      AddConstant('REGSTR_PATH_COLORS',REGSTR_PATH_COLORS);
      AddConstant('REGSTR_PATH_SOUND',REGSTR_PATH_SOUND);
      AddConstant('REGSTR_PATH_METRICS',REGSTR_PATH_METRICS);
      AddConstant('REGSTR_PATH_ICONS',REGSTR_PATH_ICONS);
      AddConstant('REGSTR_PATH_CURSORS',REGSTR_PATH_CURSORS);
      AddConstant('REGSTR_PATH_CHECKDISK',REGSTR_PATH_CHECKDISK);
      AddConstant('REGSTR_PATH_CHECKDISKSET',REGSTR_PATH_CHECKDISKSET);
      AddConstant('REGSTR_PATH_CHECKDISKUDRVS',REGSTR_PATH_CHECKDISKUDRVS);
      AddConstant('REGSTR_PATH_FAULT',REGSTR_PATH_FAULT);
      AddConstant('REGSTR_VAL_FAULT_LOGFILE',REGSTR_VAL_FAULT_LOGFILE);
      AddConstant('REGSTR_PATH_AEDEBUG',REGSTR_PATH_AEDEBUG);
      AddConstant('REGSTR_VAL_AEDEBUG_DEBUGGER',REGSTR_VAL_AEDEBUG_DEBUGGER);
      AddConstant('REGSTR_VAL_AEDEBUG_AUTO',REGSTR_VAL_AEDEBUG_AUTO);
      AddConstant('REGSTR_PATH_GRPCONV',REGSTR_PATH_GRPCONV);
      AddConstant('REGSTR_VAL_REGITEMDELETEMESSAGE',REGSTR_VAL_REGITEMDELETEMESSAGE);
      AddConstant('REGSTR_PATH_LASTCHECK',REGSTR_PATH_LASTCHECK);
      AddConstant('REGSTR_PATH_LASTOPTIMIZE',REGSTR_PATH_LASTOPTIMIZE);
      AddConstant('REGSTR_PATH_LASTBACKUP',REGSTR_PATH_LASTBACKUP);
      AddConstant('REGSTR_PATH_CHKLASTCHECK',REGSTR_PATH_CHKLASTCHECK);
      AddConstant('REGSTR_PATH_CHKLASTSURFAN',REGSTR_PATH_CHKLASTSURFAN);
      AddConstant('DTRESULTOK',DTRESULTOK);
      AddConstant('DTRESULTFIX',DTRESULTFIX);
      AddConstant('DTRESULTPROB',DTRESULTPROB);
      AddConstant('DTRESULTPART',DTRESULTPART);
      AddConstant('REGSTR_KEY_SHARES',REGSTR_KEY_SHARES);
      AddConstant('REGSTR_VAL_SHARES_FLAGS',REGSTR_VAL_SHARES_FLAGS);
      AddConstant('REGSTR_VAL_SHARES_TYPE',REGSTR_VAL_SHARES_TYPE);
      AddConstant('REGSTR_VAL_SHARES_PATH',REGSTR_VAL_SHARES_PATH);
      AddConstant('REGSTR_VAL_SHARES_REMARK',REGSTR_VAL_SHARES_REMARK);
      AddConstant('REGSTR_VAL_SHARES_RW_PASS',REGSTR_VAL_SHARES_RW_PASS);
      AddConstant('REGSTR_VAL_SHARES_RO_PASS',REGSTR_VAL_SHARES_RO_PASS);
      AddConstant('REGSTR_PATH_PRINT',REGSTR_PATH_PRINT);
      AddConstant('REGSTR_PATH_PRINTERS',REGSTR_PATH_PRINTERS);
      AddConstant('REGSTR_PATH_PROVIDERS',REGSTR_PATH_PROVIDERS);
      AddConstant('REGSTR_PATH_MONITORS',REGSTR_PATH_MONITORS);
      AddConstant('REGSTR_PATH_ENVIRONMENTS',REGSTR_PATH_ENVIRONMENTS);
      AddConstant('REGSTR_VAL_START_ON_BOOT',REGSTR_VAL_START_ON_BOOT);
      AddConstant('REGSTR_VAL_PRINTERS_MASK',REGSTR_VAL_PRINTERS_MASK);
      AddConstant('REGSTR_VAL_DOS_SPOOL_MASK',REGSTR_VAL_DOS_SPOOL_MASK);
      AddConstant('REGSTR_KEY_CURRENT_ENV',REGSTR_KEY_CURRENT_ENV);
      AddConstant('REGSTR_KEY_DRIVERS',REGSTR_KEY_DRIVERS);
      AddConstant('REGSTR_KEY_PRINT_PROC',REGSTR_KEY_PRINT_PROC);
      AddConstant('REGSTR_PATH_EVENTLABELS',REGSTR_PATH_EVENTLABELS);
      AddConstant('REGSTR_PATH_SCHEMES',REGSTR_PATH_SCHEMES);
      AddConstant('REGSTR_PATH_APPS',REGSTR_PATH_APPS);
      AddConstant('REGSTR_PATH_APPS_DEFAULT',REGSTR_PATH_APPS_DEFAULT);
      AddConstant('REGSTR_PATH_NAMES',REGSTR_PATH_NAMES);
      AddConstant('REGSTR_PATH_MULTIMEDIA',REGSTR_PATH_MULTIMEDIA);
      AddConstant('REGSTR_PATH_MULTIMEDIA_AUDIO',REGSTR_PATH_MULTIMEDIA_AUDIO);
      AddConstant('REGSTR_PATH_MEDIARESOURCES',REGSTR_PATH_MEDIARESOURCES);
      AddConstant('REGSTR_PATH_MEDIAPROPERTIES',REGSTR_PATH_MEDIAPROPERTIES);
      AddConstant('REGSTR_PATH_PRIVATEPROPERTIES',REGSTR_PATH_PRIVATEPROPERTIES);
      AddConstant('REGSTR_PATH_PUBLICPROPERTIES',REGSTR_PATH_PUBLICPROPERTIES);
      AddConstant('REGSTR_PATH_JOYOEM',REGSTR_PATH_JOYOEM);
      AddConstant('REGSTR_PATH_JOYCONFIG',REGSTR_PATH_JOYCONFIG);
      AddConstant('REGSTR_KEY_JOYCURR',REGSTR_KEY_JOYCURR);
      AddConstant('REGSTR_KEY_JOYSETTINGS',REGSTR_KEY_JOYSETTINGS);
      AddConstant('REGSTR_VAL_JOYUSERVALUES',REGSTR_VAL_JOYUSERVALUES);
      AddConstant('REGSTR_VAL_JOYCALLOUT',REGSTR_VAL_JOYCALLOUT);
      AddConstant('REGSTR_VAL_JOYNCONFIG',REGSTR_VAL_JOYNCONFIG);
      AddConstant('REGSTR_VAL_JOYNOEMNAME',REGSTR_VAL_JOYNOEMNAME);
      AddConstant('REGSTR_VAL_JOYNOEMCALLOUT',REGSTR_VAL_JOYNOEMCALLOUT);
      AddConstant('REGSTR_VAL_JOYOEMCALLOUT',REGSTR_VAL_JOYOEMCALLOUT);
      AddConstant('REGSTR_VAL_JOYOEMNAME',REGSTR_VAL_JOYOEMNAME);
      AddConstant('REGSTR_VAL_JOYOEMDATA',REGSTR_VAL_JOYOEMDATA);
      AddConstant('REGSTR_VAL_JOYOEMXYLABEL',REGSTR_VAL_JOYOEMXYLABEL);
      AddConstant('REGSTR_VAL_JOYOEMZLABEL',REGSTR_VAL_JOYOEMZLABEL);
      AddConstant('REGSTR_VAL_JOYOEMRLABEL',REGSTR_VAL_JOYOEMRLABEL);
      AddConstant('REGSTR_VAL_JOYOEMPOVLABEL',REGSTR_VAL_JOYOEMPOVLABEL);
      AddConstant('REGSTR_VAL_JOYOEMULABEL',REGSTR_VAL_JOYOEMULABEL);
      AddConstant('REGSTR_VAL_JOYOEMVLABEL',REGSTR_VAL_JOYOEMVLABEL);
      AddConstant('REGSTR_VAL_JOYOEMTESTMOVEDESC',REGSTR_VAL_JOYOEMTESTMOVEDESC);
      AddConstant('REGSTR_VAL_JOYOEMTESTBUTTONDESC',REGSTR_VAL_JOYOEMTESTBUTTONDESC);
      AddConstant('REGSTR_VAL_JOYOEMTESTMOVECAP',REGSTR_VAL_JOYOEMTESTMOVECAP);
      AddConstant('REGSTR_VAL_JOYOEMTESTBUTTONCAP',REGSTR_VAL_JOYOEMTESTBUTTONCAP);
      AddConstant('REGSTR_VAL_JOYOEMTESTWINCAP',REGSTR_VAL_JOYOEMTESTWINCAP);
      AddConstant('REGSTR_VAL_JOYOEMCALCAP',REGSTR_VAL_JOYOEMCALCAP);
      AddConstant('REGSTR_VAL_JOYOEMCALWINCAP',REGSTR_VAL_JOYOEMCALWINCAP);
      AddConstant('REGSTR_VAL_JOYOEMCAL1',REGSTR_VAL_JOYOEMCAL1);
      AddConstant('REGSTR_VAL_JOYOEMCAL2',REGSTR_VAL_JOYOEMCAL2);
      AddConstant('REGSTR_VAL_JOYOEMCAL3',REGSTR_VAL_JOYOEMCAL3);
      AddConstant('REGSTR_VAL_JOYOEMCAL4',REGSTR_VAL_JOYOEMCAL4);
      AddConstant('REGSTR_VAL_JOYOEMCAL5',REGSTR_VAL_JOYOEMCAL5);
      AddConstant('REGSTR_VAL_JOYOEMCAL6',REGSTR_VAL_JOYOEMCAL6);
      AddConstant('REGSTR_VAL_JOYOEMCAL7',REGSTR_VAL_JOYOEMCAL7);
      AddConstant('REGSTR_VAL_JOYOEMCAL8',REGSTR_VAL_JOYOEMCAL8);
      AddConstant('REGSTR_VAL_JOYOEMCAL9',REGSTR_VAL_JOYOEMCAL9);
      AddConstant('REGSTR_VAL_JOYOEMCAL10',REGSTR_VAL_JOYOEMCAL10);
      AddConstant('REGSTR_VAL_JOYOEMCAL11',REGSTR_VAL_JOYOEMCAL11);
      AddConstant('REGSTR_VAL_JOYOEMCAL12',REGSTR_VAL_JOYOEMCAL12);
    end;
  end;
begin
  With Scripter.DefineClass(ClassType) do
  begin
  AddConsts1;
  AddConsts2;
  AddConsts3;
  end;
end;

class function TatRegStrLibrary.LibraryName: string;
begin
  result := 'RegStr';
end;

initialization
  RegisterScripterLibrary(TatRegStrLibrary, True);

{$WARNINGS ON}

end.

