Changeset 21440


Ignore:
Timestamp:
Sep 5, 2010, 8:18:59 PM (15 years ago)
Author:
dmik
Message:

os2wrap2.h: Added wrappers for QSV_*, SIS_* and SV_* constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/include/os2wrap2.h

    r21423 r21440  
    3232  :a;/\\$/{N;ba}
    3333  s/([^A-Za-z0-9_])(MAKE[A-Z0-9]+)([^A-Za-z0-9_])/\1 \2 \3/g
    34   s/([^A-Za-z0-9_])(((CONTEXT|CS|DM|DT|EH|EXCEPTION|FDM|FNTM|HWND|MB|MIA|NP|QS|RGN|RT|SEM|SEVERITY|SWP|TA|WC|WM|WS|(WIN|GPI|DEV|SPL)ERR)_([A-Z0-9_]+))|((P?VOID|(API|EXP)ENTRY|P(CMD|CHR|MSE)MSG|ERRORID|PCMDMSG|SEL|HWND|MPARAM|MRESULT|LHANDLE|SHANDLE|BOOL|(LO|HI|P)?U?(LONG|SHORT|CHAR|BYTE)|MPFROM[A-Z0-9]+|MAKE[A-Z0-9]+)([^A-Za-z0-9_])))/\1os2_\2/g
     34  s/([^A-Za-z0-9_])(((CONTEXT|CS|DM|DT|EH|EXCEPTION|FDM|FNTM|HWND|MB|MIA|NP|QS|QSV|RGN|RT|SEM|SEVERITY|SIS|SV|SWP|TA|WC|WM|WS|(WIN|GPI|DEV|SPL)ERR)_([A-Z0-9_]+))|((P?VOID|(API|EXP)ENTRY|P(CMD|CHR|MSE)MSG|ERRORID|PCMDMSG|SEL|HWND|MPARAM|MRESULT|LHANDLE|SHANDLE|BOOL|(LO|HI|P)?U?(LONG|SHORT|CHAR|BYTE)|MPFROM[A-Z0-9]+|MAKE[A-Z0-9]+)([^A-Za-z0-9_])))/\1os2_\2/g
    3535  tb;bd
    3636  :b
     
    484484#define EXCEPTIONREGISTRATIONRECORD os2_EXCEPTIONREGISTRATIONRECORD
    485485#define PEXCEPTIONREGISTRATIONRECORD os2_PEXCEPTIONREGISTRATIONRECORD
     486#define os2_QSV_MAX_PATH_LENGTH 1
     487#define os2_QSV_MAX_TEXT_SESSIONS 2
     488#define os2_QSV_MAX_PM_SESSIONS 3
     489#define os2_QSV_MAX_VDM_SESSIONS 4
     490#define os2_QSV_BOOT_DRIVE 5
     491#define os2_QSV_DYN_PRI_VARIATION 6
     492#define os2_QSV_MAX_WAIT 7
     493#define os2_QSV_MIN_SLICE 8
     494#define os2_QSV_MAX_SLICE 9
     495#define os2_QSV_PAGE_SIZE 10
     496#define os2_QSV_VERSION_MAJOR 11
     497#define os2_QSV_VERSION_MINOR 12
     498#define os2_QSV_VERSION_REVISION 13
     499#define os2_QSV_MS_COUNT 14
     500#define os2_QSV_TIME_LOW 15
     501#define os2_QSV_TIME_HIGH 16
     502#define os2_QSV_TOTPHYSMEM 17
     503#define os2_QSV_TOTRESMEM 18
     504#define os2_QSV_TOTAVAILMEM 19
     505#define os2_QSV_MAXPRMEM 20
     506#define os2_QSV_MAXSHMEM 21
     507#define os2_QSV_TIMER_INTERVAL 22
     508#define os2_QSV_MAX_COMP_LENGTH 23
     509#define os2_QSV_FOREGROUND_FS_SESSION 24
     510#define os2_QSV_FOREGROUND_PROCESS 25
     511#define os2_QSV_NUMPROCESSORS 26
     512#define os2_QSV_MAXHPRMEM 27
     513#define os2_QSV_MAXHSHMEM 28
     514#define os2_QSV_MAXPROCESSES 29
     515#define os2_QSV_VIRTUALADDRESSLIMIT 30
     516#define os2_QSV_INT10ENABLED 31
     517#define os2_QSV_MAX os2_QSV_INT10ENABLED
     518#define os2_SIS_MMIOADDR 0
     519#define os2_SIS_MEC_TABLE 1
     520#define os2_SIS_SYS_LOG 2
     521#define os2_SIS_PERF_MEC_TABLE 3
    486522#define _DATETIME os2__DATETIME
    487523#define DATETIME os2_DATETIME
     
    569605#define _TStat os2__TStat
    570606#define _uDB os2__uDB
     607#define os2_SIS_MMIOADDR 0
     608#define os2_SIS_MEC_TABLE 1
     609#define os2_SIS_SYS_LOG 2
     610#define os2_SIS_PERF_MEC_TABLE 3
    571611#define _RXSTRING os2__RXSTRING
    572612#define RXSTRING os2_RXSTRING
     
    11441184#define os2_WM_MSGBOXINIT 0x010e
    11451185#define os2_WM_MSGBOXDISMISS 0x010f
     1186#define os2_SV_SWAPBUTTON 0
     1187#define os2_SV_DBLCLKTIME 1
     1188#define os2_SV_CXDBLCLK 2
     1189#define os2_SV_CYDBLCLK 3
     1190#define os2_SV_CXSIZEBORDER 4
     1191#define os2_SV_CYSIZEBORDER 5
     1192#define os2_SV_ALARM 6
     1193#define os2_SV_CURSORRATE 9
     1194#define os2_SV_FIRSTSCROLLRATE 10
     1195#define os2_SV_SCROLLRATE 11
     1196#define os2_SV_NUMBEREDLISTS 12
     1197#define os2_SV_WARNINGFREQ 13
     1198#define os2_SV_NOTEFREQ 14
     1199#define os2_SV_ERRORFREQ 15
     1200#define os2_SV_WARNINGDURATION 16
     1201#define os2_SV_NOTEDURATION 17
     1202#define os2_SV_ERRORDURATION 18
     1203#define os2_SV_CXSCREEN 20
     1204#define os2_SV_CYSCREEN 21
     1205#define os2_SV_CXVSCROLL 22
     1206#define os2_SV_CYHSCROLL 23
     1207#define os2_SV_CYVSCROLLARROW 24
     1208#define os2_SV_CXHSCROLLARROW 25
     1209#define os2_SV_CXBORDER 26
     1210#define os2_SV_CYBORDER 27
     1211#define os2_SV_CXDLGFRAME 28
     1212#define os2_SV_CYDLGFRAME 29
     1213#define os2_SV_CYTITLEBAR 30
     1214#define os2_SV_CYVSLIDER 31
     1215#define os2_SV_CXHSLIDER 32
     1216#define os2_SV_CXMINMAXBUTTON 33
     1217#define os2_SV_CYMINMAXBUTTON 34
     1218#define os2_SV_CYMENU 35
     1219#define os2_SV_CXFULLSCREEN 36
     1220#define os2_SV_CYFULLSCREEN 37
     1221#define os2_SV_CXICON 38
     1222#define os2_SV_CYICON 39
     1223#define os2_SV_CXPOINTER 40
     1224#define os2_SV_CYPOINTER 41
     1225#define os2_SV_DEBUG 42
     1226#define os2_SV_CMOUSEBUTTONS 43
     1227#define os2_SV_CPOINTERBUTTONS 43
     1228#define os2_SV_POINTERLEVEL 44
     1229#define os2_SV_CURSORLEVEL 45
     1230#define os2_SV_TRACKRECTLEVEL 46
     1231#define os2_SV_CTIMERS 47
     1232#define os2_SV_MOUSEPRESENT 48
     1233#define os2_SV_CXBYTEALIGN 49
     1234#define os2_SV_CXALIGN 49
     1235#define os2_SV_CYBYTEALIGN 50
     1236#define os2_SV_CYALIGN 50
     1237#define os2_SV_DESKTOPWORKAREAYTOP 51
     1238#define os2_SV_DESKTOPWORKAREAYBOTTOM 52
     1239#define os2_SV_DESKTOPWORKAREAXRIGHT 53
     1240#define os2_SV_DESKTOPWORKAREAXLEFT 54
     1241#define os2_SV_NOTRESERVED 56
     1242#define os2_SV_EXTRAKEYBEEP 57
     1243#define os2_SV_SETLIGHTS 58
     1244#define os2_SV_INSERTMODE 59
     1245#define os2_SV_MENUROLLDOWNDELAY 64
     1246#define os2_SV_MENUROLLUPDELAY 65
     1247#define os2_SV_ALTMNEMONIC 66
     1248#define os2_SV_TASKLISTMOUSEACCESS 67
     1249#define os2_SV_CXICONTEXTWIDTH 68
     1250#define os2_SV_CICONTEXTLINES 69
     1251#define os2_SV_CHORDTIME 70
     1252#define os2_SV_CXCHORD 71
     1253#define os2_SV_CYCHORD 72
     1254#define os2_SV_CXMOTIONSTART 73
     1255#define os2_SV_CYMOTIONSTART 74
     1256#define os2_SV_BEGINDRAG 75
     1257#define os2_SV_ENDDRAG 76
     1258#define os2_SV_SINGLESELECT 77
     1259#define os2_SV_OPEN 78
     1260#define os2_SV_CONTEXTMENU 79
     1261#define os2_SV_CONTEXTHELP 80
     1262#define os2_SV_TEXTEDIT 81
     1263#define os2_SV_BEGINSELECT 82
     1264#define os2_SV_ENDSELECT 83
     1265#define os2_SV_BEGINDRAGKB 84
     1266#define os2_SV_ENDDRAGKB 85
     1267#define os2_SV_SELECTKB 86
     1268#define os2_SV_OPENKB 87
     1269#define os2_SV_CONTEXTMENUKB 88
     1270#define os2_SV_CONTEXTHELPKB 89
     1271#define os2_SV_TEXTEDITKB 90
     1272#define os2_SV_BEGINSELECTKB 91
     1273#define os2_SV_ENDSELECTKB 92
     1274#define os2_SV_ANIMATION 93
     1275#define os2_SV_ANIMATIONSPEED 94
     1276#define os2_SV_MONOICONS 95
     1277#define os2_SV_KBDALTERED 96
     1278#define os2_SV_PRINTSCREEN 97
     1279#define os2_SV_LOCKSTARTINPUT 98
     1280#define os2_SV_DYNAMICDRAG 99
     1281#define os2_SV_CSYSVALUES 100
    11461282#define os2_WM_CTLCOLORCHANGE 0x0129
    11471283#define os2_WM_QUERYCTLTYPE 0x0130 /*0x012a?*/
     
    17311867  :a;/\\$/{N;ba}
    17321868  s/([^A-Za-z0-9_])(MAKE[A-Z0-9]+)([^A-Za-z0-9_])/\1 \2 \3/g
    1733   s/([^A-Za-z0-9_])(((CONTEXT|CS|DM|DT|EH|EXCEPTION|FDM|FNTM|HWND|MB|MIA|NP|QS|RGN|RT|SEM|SEVERITY|SWP|TA|WC|WM|WS|(WIN|GPI|DEV|SPL)ERR)_([A-Z0-9_]+))|((P?VOID|(API|EXP)ENTRY|P(CMD|CHR|MSE)MSG|ERRORID|PCMDMSG|SEL|HWND|MPARAM|MRESULT|LHANDLE|SHANDLE|BOOL|(LO|HI|P)?U?(LONG|SHORT|CHAR|BYTE)|MPFROM[A-Z0-9]+|MAKE[A-Z0-9]+)([^A-Za-z0-9_])))/\1os2_\2/g
     1869  s/([^A-Za-z0-9_])(((CONTEXT|CS|DM|DT|EH|EXCEPTION|FDM|FNTM|HWND|MB|MIA|NP|QS|QSV|RGN|RT|SEM|SEVERITY|SIS|SV|SWP|TA|WC|WM|WS|(WIN|GPI|DEV|SPL)ERR)_([A-Z0-9_]+))|((P?VOID|(API|EXP)ENTRY|P(CMD|CHR|MSE)MSG|ERRORID|PCMDMSG|SEL|HWND|MPARAM|MRESULT|LHANDLE|SHANDLE|BOOL|(LO|HI|P)?U?(LONG|SHORT|CHAR|BYTE)|MPFROM[A-Z0-9]+|MAKE[A-Z0-9]+)([^A-Za-z0-9_])))/\1os2_\2/g
    17341870  tb;bd
    17351871  :b
     
    21822318#undef EXCEPTIONREGISTRATIONRECORD
    21832319#undef PEXCEPTIONREGISTRATIONRECORD
     2320#undef QSV_MAX_PATH_LENGTH
     2321#undef QSV_MAX_TEXT_SESSIONS
     2322#undef QSV_MAX_PM_SESSIONS
     2323#undef QSV_MAX_VDM_SESSIONS
     2324#undef QSV_BOOT_DRIVE
     2325#undef QSV_DYN_PRI_VARIATION
     2326#undef QSV_MAX_WAIT
     2327#undef QSV_MIN_SLICE
     2328#undef QSV_MAX_SLICE
     2329#undef QSV_PAGE_SIZE
     2330#undef QSV_VERSION_MAJOR
     2331#undef QSV_VERSION_MINOR
     2332#undef QSV_VERSION_REVISION
     2333#undef QSV_MS_COUNT
     2334#undef QSV_TIME_LOW
     2335#undef QSV_TIME_HIGH
     2336#undef QSV_TOTPHYSMEM
     2337#undef QSV_TOTRESMEM
     2338#undef QSV_TOTAVAILMEM
     2339#undef QSV_MAXPRMEM
     2340#undef QSV_MAXSHMEM
     2341#undef QSV_TIMER_INTERVAL
     2342#undef QSV_MAX_COMP_LENGTH
     2343#undef QSV_FOREGROUND_FS_SESSION
     2344#undef QSV_FOREGROUND_PROCESS
     2345#undef QSV_NUMPROCESSORS
     2346#undef QSV_MAXHPRMEM
     2347#undef QSV_MAXHSHMEM
     2348#undef QSV_MAXPROCESSES
     2349#undef QSV_VIRTUALADDRESSLIMIT
     2350#undef QSV_INT10ENABLED
     2351#undef QSV_MAX
     2352#undef SIS_MMIOADDR
     2353#undef SIS_MEC_TABLE
     2354#undef SIS_SYS_LOG
     2355#undef SIS_PERF_MEC_TABLE
    21842356#undef _DATETIME
    21852357#undef DATETIME
     
    22672439#undef _TStat
    22682440#undef _uDB
     2441#undef SIS_MMIOADDR
     2442#undef SIS_MEC_TABLE
     2443#undef SIS_SYS_LOG
     2444#undef SIS_PERF_MEC_TABLE
    22692445#undef _RXSTRING
    22702446#undef RXSTRING
     
    28032979#undef WM_MSGBOXINIT
    28042980#undef WM_MSGBOXDISMISS
     2981#undef SV_SWAPBUTTON
     2982#undef SV_DBLCLKTIME
     2983#undef SV_CXDBLCLK
     2984#undef SV_CYDBLCLK
     2985#undef SV_CXSIZEBORDER
     2986#undef SV_CYSIZEBORDER
     2987#undef SV_ALARM
     2988#undef SV_CURSORRATE
     2989#undef SV_FIRSTSCROLLRATE
     2990#undef SV_SCROLLRATE
     2991#undef SV_NUMBEREDLISTS
     2992#undef SV_WARNINGFREQ
     2993#undef SV_NOTEFREQ
     2994#undef SV_ERRORFREQ
     2995#undef SV_WARNINGDURATION
     2996#undef SV_NOTEDURATION
     2997#undef SV_ERRORDURATION
     2998#undef SV_CXSCREEN
     2999#undef SV_CYSCREEN
     3000#undef SV_CXVSCROLL
     3001#undef SV_CYHSCROLL
     3002#undef SV_CYVSCROLLARROW
     3003#undef SV_CXHSCROLLARROW
     3004#undef SV_CXBORDER
     3005#undef SV_CYBORDER
     3006#undef SV_CXDLGFRAME
     3007#undef SV_CYDLGFRAME
     3008#undef SV_CYTITLEBAR
     3009#undef SV_CYVSLIDER
     3010#undef SV_CXHSLIDER
     3011#undef SV_CXMINMAXBUTTON
     3012#undef SV_CYMINMAXBUTTON
     3013#undef SV_CYMENU
     3014#undef SV_CXFULLSCREEN
     3015#undef SV_CYFULLSCREEN
     3016#undef SV_CXICON
     3017#undef SV_CYICON
     3018#undef SV_CXPOINTER
     3019#undef SV_CYPOINTER
     3020#undef SV_DEBUG
     3021#undef SV_CMOUSEBUTTONS
     3022#undef SV_CPOINTERBUTTONS
     3023#undef SV_POINTERLEVEL
     3024#undef SV_CURSORLEVEL
     3025#undef SV_TRACKRECTLEVEL
     3026#undef SV_CTIMERS
     3027#undef SV_MOUSEPRESENT
     3028#undef SV_CXBYTEALIGN
     3029#undef SV_CXALIGN
     3030#undef SV_CYBYTEALIGN
     3031#undef SV_CYALIGN
     3032#undef SV_DESKTOPWORKAREAYTOP
     3033#undef SV_DESKTOPWORKAREAYBOTTOM
     3034#undef SV_DESKTOPWORKAREAXRIGHT
     3035#undef SV_DESKTOPWORKAREAXLEFT
     3036#undef SV_NOTRESERVED
     3037#undef SV_EXTRAKEYBEEP
     3038#undef SV_SETLIGHTS
     3039#undef SV_INSERTMODE
     3040#undef SV_MENUROLLDOWNDELAY
     3041#undef SV_MENUROLLUPDELAY
     3042#undef SV_ALTMNEMONIC
     3043#undef SV_TASKLISTMOUSEACCESS
     3044#undef SV_CXICONTEXTWIDTH
     3045#undef SV_CICONTEXTLINES
     3046#undef SV_CHORDTIME
     3047#undef SV_CXCHORD
     3048#undef SV_CYCHORD
     3049#undef SV_CXMOTIONSTART
     3050#undef SV_CYMOTIONSTART
     3051#undef SV_BEGINDRAG
     3052#undef SV_ENDDRAG
     3053#undef SV_SINGLESELECT
     3054#undef SV_OPEN
     3055#undef SV_CONTEXTMENU
     3056#undef SV_CONTEXTHELP
     3057#undef SV_TEXTEDIT
     3058#undef SV_BEGINSELECT
     3059#undef SV_ENDSELECT
     3060#undef SV_BEGINDRAGKB
     3061#undef SV_ENDDRAGKB
     3062#undef SV_SELECTKB
     3063#undef SV_OPENKB
     3064#undef SV_CONTEXTMENUKB
     3065#undef SV_CONTEXTHELPKB
     3066#undef SV_TEXTEDITKB
     3067#undef SV_BEGINSELECTKB
     3068#undef SV_ENDSELECTKB
     3069#undef SV_ANIMATION
     3070#undef SV_ANIMATIONSPEED
     3071#undef SV_MONOICONS
     3072#undef SV_KBDALTERED
     3073#undef SV_PRINTSCREEN
     3074#undef SV_LOCKSTARTINPUT
     3075#undef SV_DYNAMICDRAG
     3076#undef SV_CSYSVALUES
    28053077#undef WM_CTLCOLORCHANGE
    28063078#undef WM_QUERYCTLTYPE
Note: See TracChangeset for help on using the changeset viewer.