compile insert ps_System_Equates
/* 
   ** Copyright (C) 2015-2024 Revelation Software Inc. All Rights Reserved **
   
   Author   : Wile C Coyote - Super Genius
   Date     : May 2013
   Purpose  : Constants for working with PS SYSTEM object 
   
   
   Comments
   ========
   
   
   Amended  Date        Reason
   =======  ====        ======
   Mr C     25 Apr 24   Updated CONFIGINFO with UserName and Password
   Mr C     12 May 22   Added VERSION constants
   Mr C     28 Jul 22   Added WEBVIEWCONFIG constants
   Mr C     07 Oct 21   Added GUITHREADINFO constants
   Mr C     01 Feb 21   Added QUEUEEVENTS constants
   Mr C     07 Oct 20   Added RUNHELP constants
   Mr C     06 Oct 20   Added SYSTEMFONTS constants
   Mr C     26 Sep 19   Added LOGINTEMPLATE constants
   Mr C     13 May 19   Added CLEANBOOT constants
   Mr C     31 Oct 18   Added TEXTRECT constants
   Mr C     26 Oct 18   Updated FOCUSSTYLES constants
   Mr C     10 Apr 18   Added FOCUSSTYLES constants
   Mr C     16 Oct 17   Added DWMCOLORS constants
   Mr C     19 Jul 17   Added TIMEZONE constants
   Mr C     18 Jul 17   Added RUNMODE constants
   Mr C     15 May 17   Added AutoForm
   Mr C     24 Apr 17   Removed UseD2D
   Mr C     11 Apr 17   Added PS_SYSCI_POS_RUNMODE$
   Mr C     18 May 16   Removed "UseDpiScaling"
   Mr C     25 Aug 15   Updated for AppID, DevMode
   Mr C     24 Aug 15   Updated for MaxInstances
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _PS_SYSTEM_EQUATES_
#define _PS_SYSTEM_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   $insert ps_Equates

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // CONFIGINFO property equates
   //
   // <1>  AutoExec
   // <2>  BannerFile
   // <3>  Caption
   // <4>  DevMode
   // <5>  Elevate
   // <6>  EnginePath
   // <7>  HideEngine
   // <8>  HidePS
   // <9>  MaxInstances
   // <10> MinDisplaySecs
   // <11> NoSpy
   // <12> QueueName
   // <13> ServerName
   // <14> ShowBanner
   // <15> ShowSystemMonitor
   // <16> SuppressDpiAware
   // <17> TaskBarID
   // <18> RunMode
   // <19> AutoForm
   // <20> CleanBoot
   // <21> LoginTemplate
   // <22> UserName
   // <23> Password
   
   equ PS_SYSCI_POS_AUTOEXEC$                 to 1
   equ PS_SYSCI_POS_BANNERFILE$               to 2
   equ PS_SYSCI_POS_CAPTION$                  to 3
   equ PS_SYSCI_POS_DEVMODE$                  to 4
   equ PS_SYSCI_POS_ELEVATE$                  to 5
   equ PS_SYSCI_POS_ENGINEPATH$               to 6
   equ PS_SYSCI_POS_HIDEENGINE$               to 7
   equ PS_SYSCI_POS_HIDEPS$                   to 8
   equ PS_SYSCI_POS_MAXINSTANCES$             to 9
   equ PS_SYSCI_POS_MINDISPLAYSECS$           to 10
   equ PS_SYSCI_POS_NOSPY$                    to 11
   equ PS_SYSCI_POS_QUEUENAME$                to 12
   equ PS_SYSCI_POS_SERVERNAME$               to 13
   equ PS_SYSCI_POS_SHOWBANNER$               to 14
   equ PS_SYSCI_POS_SHOWSYSTEMMONITOR$        to 15
   equ PS_SYSCI_POS_SUPPRESSDPIAWARE$         to 16
   equ PS_SYSCI_POS_TASKBARID$                to 17
   equ PS_SYSCI_POS_RUNMODE$                  to 18
   equ PS_SYSCI_POS_AUTOFORM$                 to 19
   equ PS_SYSCI_POS_CLEANBOOT$                to 20
   equ PS_SYSCI_POS_LOGINTEMPLATE$            to 21
   equ PS_SYSCI_POS_USERNAME$                 to 22
   equ PS_SYSCI_POS_PASSWORD$                 to 23
   
//////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // DWMCOLORS equates
   //
   //    <1> ColorizationColor
   //    <2> ColorizationAfterglow
   //    <3> ColorizationColorBalance
   //    <4> ColorizationAfterglowBalance
   //    <5> ColorizationBlurBalance
   //    <6> AccentColor
   
   equ PS_DWM_POS_COLORIZATIONCOLOR$            to 1
   equ PS_DWM_POS_COLORIZATIONAFTERGLOW$        to 2
   equ PS_DWM_POS_COLORIZATIONCOLORBALANCE$     to 3
   equ PS_DWM_POS_COLORIZATIONAFTERGLOWBALANCE$ to 4
   equ PS_DWM_POS_COLORIZATIONBLURBALANCE$      to 5
   equ PS_DWM_POS_ACCENTCOLOR$                  to 6
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // RUNMODE equates
   equ PS_RUNMODE_NOTSPECIFIED$               to 0
   equ PS_RUNMODE_ANYAPP$                     to 1
   equ PS_RUNMODE_SINGLEAPP$                  to 2
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // TIMEZONE equates
   //
   // <1> Time Zone ID:  0 == TIME_ZONE_ID_UNKNOWN
   //                    1 == TIME_ZONE_ID_STANDARD
   //                    2 == TIME_ZONE_ID_DAYLIGHT
   //
   // <2> Bias (minutes)
   // <3> Standard Name
   // <4> Standard DateTime
   // <5> Standard Bias
   // <6> Daylight Name
   // <7> Daylight DateTime
   // <8> Daylight Bias
   
   equ PS_TZ_POS_ID$                          to 1
   equ PS_TZ_POS_BIAS$                        to 2
   equ PS_TZ_POS_STD_NAME$                    to 3
   equ PS_TZ_POS_STD_DATETIME$                to 4
   equ PS_TZ_POS_STD_BIAS$                    to 5
   equ PS_TZ_POS_DAYLIGHT_NAME$               to 6
   equ PS_TZ_POS_DAYLIGHT_DATETIME$           to 7
   equ PS_TZ_POS_DAYLIGHT_BIAS$               to 8  
   
   // Timezone ID
   equ TIME_ZONE_ID_UNKNOWN$                  to 0
   equ TIME_ZONE_ID_STANDARD$                 to 1
   equ TIME_ZONE_ID_DAYLIGHT$                 to 2
   
//////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // FOCUSSTYLES equates
   //
   //    <1> Focus background color          (COLORREF)
   //    <1> Focus text color                (COLORREF)
   //    <2> Grid Cell Focus Rect color      (COLORREF)
   //    <3> Grid Cell Focus Rect Style      (Dotted/Solid == 0/1)
   //    <4> Grid Cell Focus Rect Weight     (DIPs, -1 or 1->3)
   
   equ PS_FS_POS_BKCOLOR$                       to 1
   equ PS_FS_POS_FGCOLOR$                       to 2
   equ PS_FS_POS_CELLRECTCOLOR$                 to 3
   equ PS_FS_POS_CELLRECTSTYLE$                 to 4
   equ PS_FS_POS_CELLRECTWEIGHT$                to 5
   
   equ PS_FS_CELLRECTSTYLE_DOTTED$              to 0
   equ PS_FS_CELLRECTSTYLE_SOLID$               to 1
   
   equ PS_FS_POS_CELLRECTWEIGHT_DFLT$           to -1
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // TEXTRECT equates
   
   // TextParams parameter
   //
   //    <1> Text
   //    <2> DrawText flags
   //    <3> MaxWidth
   //    <4> Font
   
   equ PS_TP_POS_TEXT$                        to 1
   equ PS_TP_POS_DTFLAGS$                     to 2
   equ PS_TP_POS_MAXWIDTH$                    to 3
   equ PS_TP_POS_FONT$                        to 4
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // CLEANBOOT equates
   equ PS_CLEANBOOT_NONE$                     to 0
   equ PS_CLEANBOOT_WORKSPACE_ONLY$           to 1
   equ PS_CLEANBOOT_WORKSPACE_CFG$            to 2
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // SYSTEMFONTS equates
   equ PS_SYSFONT_POS_CAPTION$                to 1
   equ PS_SYSFONT_POS_SMALLCAPTION$           to 2
   equ PS_SYSFONT_POS_MENU$                   to 3
   equ PS_SYSFONT_POS_STATUS$                 to 4
   equ PS_SYSFONT_POS_MESSAGE$                to 5
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // RUNHELP equates
   equ PS_RHP_POS_OWNERFORM$                  to 1
   equ PS_RHP_POS_HELPCMD$                    to 2
   equ PS_RHP_POS_HELPPARAM$                  to 3
   equ PS_RHP_POS_HTMLHELP$                   to 4
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // RUNWIN equates
   equ PS_RWP_POS_SHOWCMD$                    to 1
   equ PS_RWP_POS_CALLBACKPROC$               to 2
   equ PS_RWP_POS_CALLBACKPROCARG$            to 3
   equ PS_RWP_POS_WORKINGDIR$                 to 4
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // QUEUEDEVENTS equates
   //
   // <0,1> Internal Event ID number
   // <0,2> Repository Type
   // <0,3> Object ID
   // <0,4> Object Type
   // <0,5> Event Qualifier 
   // 
   // <0,6> Event Arg 1
   // <0,7> Event Arg 2
   // <0,n> Event Arg <n-5>  etc ...
   
   equ PS_QES_POS_EVENTID$                    to 1 
   equ PS_QES_POS_REPOSTYPE$                  to 2 
   equ PS_QES_POS_OBJECTID$                   to 3 
   equ PS_QES_POS_OBJECTTYPE$                 to 4
   equ PS_QES_POS_EVENTQUALIFIER$             to 5
   equ PS_QES_POS_EVENTARGSSTART$             to 6
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // GUITHREADINFO equates
   //
   // <1>   Flags (see MSWIN_GETGUITHREADEQUATES for details)
   // <2>   hwndActive
   // <3>   hwndFocus
   // <4>   hwndCapture
   // <5>   hwndMenuOwner
   // <6>   hwndMoveSize
   // <7>   hwndCaret
   // <8>   CaretSize (x,y,w,h, @vm-delimited)
   
   equ PS_GTI_POS_FLAGS$                     to 1
   equ PS_GTI_POS_HWNDACTIVE$                to 2
   equ PS_GTI_POS_HWNDFOCUS$                 to 3
   equ PS_GTI_POS_HWNDCAPTURE$               to 4
   equ PS_GTI_POS_HWNDMENUOWNER$             to 5
   equ PS_GTI_POS_HWNDMOVESIZE$              to 6
   equ PS_GTI_POS_HWNDCARET$                 to 7
   equ PS_GTI_POS_CARETSIZE$                 to 8
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // VERSION equates
   //
   // <1> Windows Version Number in the format:
   //
   //     <majorVersion> “.” <minorVersion>
   //
   // <2> Presentation Server Product version in the format:
   //
   //     <majorVersion> “.” <minorVersion> “.” <releaseNo> “.” <buildNo>
   //
   // <3> Presentation Server File version in the format:
   //         
   //     <majorVersion> “.” <minorVersion> “.” <releaseNo> “.” <buildNo>

   equ PS_SYSVER_POS_WINDOWS$                to 1
   equ PS_SYSVER_POS_PRODUCT$                to 2
   equ PS_SYSVER_POS_FILE$                   to 3
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // WEBVIEWCONFIG equates
   //
   //    <1> Default BrowserExeFolder
   //    <2> Default UserDataFolder
   //    <3> Default ProfileName
   //    <4> Default ExtraBrowserArgs
   //    <5> Default TargetVersion
   //    <6> Installed WebView2 Evergreen version (Get Only)
   
   equ PS_WVC_POS_DFLTBROWSEREXEFOLDER$      to 1
   equ PS_WVC_POS_DFLTUSERDATAFOLDER$        to 2
   equ PS_WVC_POS_DFLTPROFILENAME$           to 3
   equ PS_WVC_POS_DFLTEXTRABROWSERARGS$      to 4
   equ PS_WVC_POS_DFLTTARGETVERSION$         to 5
   equ PS_WVC_POS_EVERGREENVERSION$          to 6
     
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////   



