home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / watcoapi.zip / incl32 / bsesub.h < prev    next >
C/C++ Source or Header  |  2002-09-30  |  18KB  |  521 lines

  1. /*
  2.     OS/2 Base subsystems include file for 32-bit development.
  3. */
  4.  
  5. #ifdef INCL_SUB
  6.     #define INCL_KBD
  7.     #define INCL_MOU
  8.     #define INCL_VIO
  9. #endif
  10.  
  11. #ifdef INCL_KBD
  12.  
  13. #define KbdCharIn          KBD16CHARIN
  14. #define KbdClose           KBD16CLOSE
  15. #define KbdDeRegister      KBD16DEREGISTER
  16. #define KbdFlushBuffer     KBD16FLUSHBUFFER
  17. #define KbdFreeFocus       KBD16FREEFOCUS
  18. #define KbdGetCp           KBD16GETCP
  19. #define KbdGetFocus        KBD16GETFOCUS
  20. #define KbdGetHWID         KBD16GETHWID
  21. #define KbdGetStatus       KBD16GETSTATUS
  22. #define KbdOpen            KBD16OPEN
  23. #define KbdPeek            KBD16PEEK
  24. #define KbdRegister        KBD16REGISTER
  25. #define KbdSetCp           KBD16SETCP
  26. #define KbdSetCustXt       KBD16SETCUSTXT
  27. #define KbdSetFgnd         KBD16SETFGND
  28. #define KbdSetHWID         KBD16SETHWID
  29. #define KbdSetStatus       KBD16SETSTATUS
  30. #define KbdStringIn        KBD16STRINGIN
  31. #define KbdSynch           KBD16SYNCH
  32. #define KbdXlate           KBD16XLATE
  33.  
  34. #define KR_KBDCHARIN       0x00000001
  35. #define KR_KBDPEEK         0x00000002
  36. #define KR_KBDFLUSHBUFFER  0x00000004
  37. #define KR_KBDGETSTATUS    0x00000008
  38. #define KR_KBDSETSTATUS    0x00000010
  39. #define KR_KBDSTRINGIN     0x00000020
  40. #define KR_KBDOPEN         0x00000040
  41. #define KR_KBDCLOSE        0x00000080
  42. #define KR_KBDGETFOCUS     0x00000100
  43. #define KR_KBDFREEFOCUS    0x00000200
  44. #define KR_KBDGETCP        0x00000400
  45. #define KR_KBDSETCP        0x00000800
  46. #define KR_KBDXLATE        0x00001000
  47. #define KR_KBDSETCUSTXT    0x00002000
  48.  
  49. #define IO_WAIT   0
  50. #define IO_NOWAIT 1
  51.  
  52. #define KBDTRF_SHIFT_KEY_IN       0x01
  53. #define KBDTRF_CONVERSION_REQUEST 0x20
  54. #define KBDTRF_FINAL_CHAR_IN      0x40
  55. #define KBDTRF_INTERIM_CHAR_IN    0x80
  56.  
  57. typedef SHANDLE HKBD;
  58. typedef HKBD    *PHKBD;
  59.  
  60. typedef struct _KBDKEYINFO {
  61.     UCHAR  chChar;
  62.     UCHAR  chScan;
  63.     UCHAR  fbStatus;
  64.     UCHAR  bNlsShift;
  65.     USHORT fsState;
  66.     ULONG  time;
  67. }KBDKEYINFO, *PKBDKEYINFO;
  68.  
  69. typedef struct _KBDHWID {
  70.     USHORT length;
  71.     USHORT kbd_id;
  72.     USHORT reserved1;
  73.     USHORT reserved2;
  74. }KBDHWID, *PKBDHWID;
  75.  
  76. typedef struct _KBDINFO {
  77.     USHORT cb;
  78.     USHORT fsMask;
  79.     USHORT chTurnAround;
  80.     USHORT fsInterim;
  81.     USHORT fsState;
  82. } KBDINFO, *PKBDINFO;
  83.  
  84. typedef struct _STRINGINBUF {
  85.     USHORT cb;
  86.     USHORT cchIn;
  87. } STRINGINBUF, *PSTRINGINBUF;
  88.  
  89. typedef struct _KBDTRANS {
  90.     UCHAR  chChar;
  91.     UCHAR  chScan;
  92.     UCHAR  fbStatus;
  93.     UCHAR  bNlsShift;
  94.     USHORT fsState;
  95.     ULONG  time;
  96.     USHORT fsDD;
  97.     USHORT fsXlate;
  98.     USHORT fsShift;
  99.     USHORT sZero;
  100. } KBDTRANS, *PKBDTRANS;
  101.  
  102. USHORT APIENTRY16 KbdCharIn(PKBDKEYINFO CharData, USHORT IOWait, HKBD KbdHandle);
  103. USHORT APIENTRY16 KbdClose(HKBD KbdHandle);
  104. USHORT APIENTRY16 KbdDeRegister(VOID);
  105. USHORT APIENTRY16 KbdFlushBuffer(HKBD KbdHandle);
  106. USHORT APIENTRY16 KbdFreeFocus(HKBD KbdHandle);
  107. USHORT APIENTRY16 KbdGetCp(ULONG Reserved, PUSHORT CodePageID, HKBD KbdHandle);
  108. USHORT APIENTRY16 KbdGetFocus(USHORT IOWait, HKBD KbdHandle);
  109. USHORT APIENTRY16 KbdGetHWId(PKBDHWID KeyboardID, HKBD KbdHandle);
  110. USHORT APIENTRY16 KbdGetStatus(PKBDINFO Structure, HKBD KbdHandle);
  111. USHORT APIENTRY16 KbdOpen(PHKBD KbdHandle);
  112. USHORT APIENTRY16 KbdPeek(PKBDKEYINFO CharData, HKBD KbdHandle);
  113. USHORT APIENTRY16 KbdRegister(PSZ ModuleName, PSZ EntryPoint, ULONG FunctionMask);
  114. USHORT APIENTRY16 KbdSetCp(USHORT Reserved, USHORT CodePageID, HKBD KbdHandle);
  115. USHORT APIENTRY16 KbdSetCustXt(PUSHORT Xlatetable, HKBD KbdHandle);
  116. USHORT APIENTRY16 KbdSetFgnd(VOID);
  117. USHORT APIENTRY16 KbdSetStatus(PKBDINFO Structure, HKBD KbdHandle);
  118. USHORT APIENTRY16 KbdStringIn(PCH CharBuffer, PSTRINGINBUF Length, USHORT IOWait, HKBD KbdHandle);
  119. USHORT APIENTRY16 KbdSynch(USHORT IOWait);
  120. USHORT APIENTRY16 KbdXlate(PKBDTRANS XlateRecord, HKBD KbdHandle);
  121.  
  122. #endif
  123.  
  124. #ifdef INCL_MOU
  125.  
  126. #define MouClose            MOU16CLOSE
  127. #define MouDeRegister       MOU16DEREGISTER
  128. #define MouDrawPtr          MOU16DRAWPTR
  129. #define MouFlushQue         MOU16FLUSHQUE
  130. #define MouGetDevStatus     MOU16GETDEVSTATUS
  131. #define MouGetEventMask     MOU16GETEVENTMASK
  132. #define MouGetNumButtons    MOU16GETNUMBUTTONS
  133. #define MouGetNumMickeys    MOU16GETNUMMICKEYS
  134. #define MouGetNumQueEl      MOU16GETNUMQUEEL
  135. #define MouGetPtrPos        MOU16GETPTRPOS
  136. #define MouGetPtrShape      MOU16GETPTRSHAPE
  137. #define MouGetScaleFact     MOU16GETSCALEFACT
  138. #define MouGetThreshold     MOU16GETTHRESHOLD
  139. #define MouInitReal         MOU16INITREAL
  140. #define MouOpen             MOU16OPEN
  141. #define MouReadEventQue     MOU16READEVENTQUE
  142. #define MouRegister         MOU16REGISTER
  143. #define MouRemovePtr        MOU16REMOVEPTR
  144. #define MouSetDevStatus     MOU16SETDEVSTATUS
  145. #define MouSetEventMask     MOU16SETEVENTMASK
  146. #define MouSetPtrPos        MOU16SETPTRPOS
  147. #define MouSetPtrShape      MOU16SETPTRSHAPE
  148. #define MouSetScaleFact     MOU16SETSCALEFACT
  149. #define MouSetThreshold     MOU16SETTHRESHOLD
  150. #define MouSynch            MOU16SYNCH
  151.  
  152. #define MR_MOUGETNUMBUTTONS 0x00000001
  153. #define MR_MOUGETNUMMICKEYS 0x00000002
  154. #define MR_MOUGETDEVSTATUS  0x00000004
  155. #define MR_MOUGETNUMQUEEL   0x00000008
  156. #define MR_MOUREADEVENTQUE  0x00000010
  157. #define MR_MOUGETSCALEFACT  0x00000020
  158. #define MR_MOUGETEVENTMASK  0x00000040
  159. #define MR_MOUSETSCALEFACT  0x00000080
  160. #define MR_MOUSETEVENTMASK  0x00000100
  161. #define MR_MOUOPEN          0x00000800
  162. #define MR_MOUCLOSE         0x00001000
  163. #define MR_MOUGETPTRSHAPE   0x00002000
  164. #define MR_MOUSETPTRSHAPE   0x00004000
  165. #define MR_MOUDRAWPTR       0x00008000
  166. #define MR_MOUREMOVEPTR     0x00010000
  167. #define MR_MOUGETPTRPOS     0x00020000
  168. #define MR_MOUSETPTRPOS     0x00040000
  169. #define MR_MOUINITREAL      0x00080000
  170. #define MR_MOUSETDEVSTATUS  0x00100000
  171.  
  172. #define MHK_BUTTON1 1
  173. #define MHK_BUTTON2 2
  174. #define MHK_BUTTON3 4
  175.  
  176. #define MOU_NODRAW  1
  177. #define MOU_DRAW    0
  178. #define MOU_MICKEYS 2
  179. #define MOU_PELS    0
  180.  
  181. #define MOU_NOWAIT 0
  182. #define MOU_WAIT   1
  183.  
  184. #define MOUSE_MOTION               0x0001
  185. #define MOUSE_MOTION_WITH_BN1_DOWN 0x0002
  186. #define MOUSE_BN1_DOWN             0x0004
  187. #define MOUSE_MOTION_WITH_BN2_DOWN 0x0008
  188. #define MOUSE_BN2_DOWN             0x0010
  189. #define MOUSE_MOTION_WITH_BN3_DOWN 0x0020
  190. #define MOUSE_BN3_DOWN             0x0040
  191.  
  192. typedef SHANDLE  HMOU;
  193. typedef HMOU     *PHMOU;
  194.  
  195. typedef struct _MOUQUEINFO {
  196.     USHORT cEvents;
  197.     USHORT cmaxEvents;
  198. } MOUQUEINFO, *PMOUQUEINFO;
  199.  
  200. typedef struct _PTRLOC {
  201.     USHORT row;
  202.     USHORT col;
  203. } PTRLOC, *PPTRLOC;
  204.  
  205. typedef struct _PTRSHAPE {
  206.     USHORT cb;
  207.     USHORT col;
  208.     USHORT row;
  209.     USHORT colHot;
  210.     USHORT rowHot;
  211. } PTRSHAPE, *PPTRSHAPE;
  212.  
  213. typedef struct _SCALEFACT {
  214.     USHORT rowScale;
  215.     USHORT colScale;
  216. } SCALEFACT, *PSCALEFACT;
  217.  
  218. typedef struct _MOUEVENTINFO {
  219.     USHORT fs;
  220.     ULONG  time;
  221.     USHORT row;
  222.     USHORT col;
  223. } MOUEVENTINFO, *PMOUEVENTINFO;
  224.  
  225. typedef struct _NOPTRRECT {
  226.     USHORT row;
  227.     USHORT col;
  228.     USHORT cRow;
  229.     USHORT cCol;
  230. } NOPTRRECT, *PNOPTRRECT;
  231.  
  232. USHORT APIENTRY16 MouClose(HMOU DeviceHandle);
  233. USHORT APIENTRY16 MouDeRegister(VOID);
  234. USHORT APIENTRY16 MouDrawPtr(HMOU DeviceHandle);
  235. USHORT APIENTRY16 MouFlushQue(HMOU DeviceHandle);
  236. USHORT APIENTRY16 MouGetDevStatus(PUSHORT DeviceStatus, HMOU DeviceHandle);
  237. USHORT APIENTRY16 MouGetEventMask(PUSHORT EventMask, HMOU DeviceHandle);
  238. USHORT APIENTRY16 MouGetNumButtons(PUSHORT NumberOfButtons, HMOU DeviceHandle);
  239. USHORT APIENTRY16 MouGetNumMickeys(PUSHORT NumberOfMickeys, HMOU DeviceHandle);
  240. USHORT APIENTRY16 MouGetNumQueEl(PMOUQUEINFO QueDataRecord, HMOU DeviceHandle);
  241. USHORT APIENTRY16 MouGetPtrPos(PPTRLOC PtrPos, HMOU DeviceHandle);
  242. USHORT APIENTRY16 MouGetPtrShape(PBYTE PtrBuffer, PPTRSHAPE PtrDefRec, HMOU DeviceHandle);
  243. USHORT APIENTRY16 MouGetScaleFact(PSCALEFACT ScaleStruct, HMOU DeviceHandle);
  244. USHORT APIENTRY16 MouInitReal(PSZ DriverName);
  245. USHORT APIENTRY16 MouOpen(PSZ DriverName, PHMOU DeviceHandle);
  246. USHORT APIENTRY16 MouReadEventQue(PMOUEVENTINFO Buffer, PUSHORT ReadType, HMOU DeviceHandle);
  247. USHORT APIENTRY16 MouRegister(PSZ ModuleName, PSZ EntryName, ULONG Mask);
  248. USHORT APIENTRY16 MouRemovePtr(PNOPTRRECT PtrArea, HMOU DeviceHandle);
  249. USHORT APIENTRY16 MouSetDevStatus(PUSHORT DeviceStatus, HMOU DeviceHandle);
  250. USHORT APIENTRY16 MouSetEventMask(PUSHORT EventMask, HMOU DeviceHandle);
  251. USHORT APIENTRY16 MouSetPtrPos(PPTRLOC PtrPos, HMOU DeviceHandle);
  252. USHORT APIENTRY16 MouSetPtrShape(PBYTE PtrBuffer, PPTRSHAPE PtrDefRec, HMOU DeviceHandle);
  253. USHORT APIENTRY16 MouSetScaleFact(PSCALEFACT ScaleStruct, HMOU DeviceHandle);
  254. USHORT APIENTRY16 MouSynch(USHORT IOWait);
  255.  
  256. #endif
  257.  
  258. #ifdef INCL_VIO
  259.  
  260. #define VioDeRegister      VIO16DEREGISTER
  261. #define VioEndPopUp        VIO16ENDPOPUP
  262. #define VioGetAnsi         VIO16GETANSI
  263. #define VioGetBuf          VIO16GETBUF
  264. #define VioGetConfig       VIO16GETCONFIG
  265. #define VioGetCp           VIO16GETCP
  266. #define VioGetCurPos       VIO16GETCURPOS
  267. #define VioGetCurType      VIO16GETCURTYPE
  268. #define VioGetFont         VIO16GETFONT
  269. #define VioGetMode         VIO16GETMODE
  270. #define VioGetPhysBuf      VIO16GETPHYSBUF
  271. #define VioGetState        VIO16GETSTATE
  272. #define VioModeUndo        VIO16MODEUNDO
  273. #define VioModeWait        VIO16MODEWAIT
  274. #define VioPopUp           VIO16POPUP
  275. #define VioPrtSc           VIO16PRTSC
  276. #define VioPrtScToggle     VIO16PRTSCTOGGLE
  277. #define VioReadCellStr     VIO16READCELLSTR
  278. #define VioReadCharStr     VIO16READCHARSTR
  279. #define VioRedrawSize      VIO16REDRAWSIZE
  280. #define VioRegister        VIO16REGISTER
  281. #define VioSavRedrawUndo   VIO16SAVREDRAWUNDO
  282. #define VioSavRedrawWait   VIO16SAVREDRAWWAIT
  283. #define VioScrLock         VIO16SCRLOCK
  284. #define VioScrUnLock       VIO16SCRUNLOCK
  285. #define VioScrollDn        VIO16SCROLLDN
  286. #define VioScrollLf        VIO16SCROLLLF
  287. #define VioScrollRt        VIO16SCROLLRT
  288. #define VioScrollUp        VIO16SCROLLUP
  289. #define VioSetAnsi         VIO16SETANSI
  290. #define VioSetCp           VIO16SETCP
  291. #define VioSetCurPos       VIO16SETCURPOS
  292. #define VioSetCurType      VIO16SETCURTYPE
  293. #define VioSetFont         VIO16SETFONT
  294. #define VioSetMode         VIO16SETMODE
  295. #define VioSetState        VIO16SETSTATE
  296. #define VioShowBuf         VIO16SHOWBUF
  297. #define VioWrtCellStr      VIO16WRTCELLSTR
  298. #define VioWrtCharStr      VIO16WRTCHARSTR
  299. #define VioWrtCharStrAtt   VIO16WRTCHARSTRATT
  300. #define VioWrtNAttr        VIO16WRTNATTR
  301. #define VioWrtNCell        VIO16WRTNCELL
  302. #define VioWrtNChar        VIO16WRTNCHAR
  303. #define VioWrtTTY          VIO16WRTTTY
  304.  
  305. #define VR_VIOGETCURPOS    0x00000001
  306. #define VR_VIOGETCURTYPE   0x00000002
  307. #define VR_VIOGETMODE      0x00000004
  308. #define VR_VIOGETBUF       0x00000008
  309. #define VR_VIOGETPHYSBUF   0x00000010
  310. #define VR_VIOSETCURPOS    0x00000020
  311. #define VR_VIOSETCURTYPE   0x00000040
  312. #define VR_VIOSETMODE      0x00000080
  313. #define VR_VIOSHOWBUF      0x00000100
  314. #define VR_VIOREADCHARSTR  0x00000200
  315. #define VR_VIOREADCELLSTR  0x00000400
  316. #define VR_VIOWRTNCHAR     0x00000800
  317. #define VR_VIOWRTNATTR     0x00001000
  318. #define VR_VIOWRTNCELL     0x00002000
  319. #define VR_VIOWRTTTY       0x00004000
  320. #define VR_VIOWRTCHARSTR   0x00008000
  321.  
  322. #define VR_VIOWRTCHARSTRATT  0x00010000
  323. #define VR_VIOWRTCELLSTR     0x00020000
  324. #define VR_VIOSCROLLUP       0x00040000
  325. #define VR_VIOSCROLLDN       0x00080000
  326. #define VR_VIOSCROLLLF       0x00100000
  327. #define VR_VIOSCROLLRT       0x00200000
  328. #define VR_VIOSETANSI        0x00400000
  329. #define VR_VIOGETANSI        0x00800000
  330. #define VR_VIOPRTSC          0x01000000
  331. #define VR_VIOSCRLOCK        0x02000000
  332. #define VR_VIOSCRUNLOCK      0x04000000
  333. #define VR_VIOSAVREDRAWWAIT  0x08000000
  334. #define VR_VIOSAVREDRAWUNDO  0x10000000
  335. #define VR_VIOPOPUP          0x20000000
  336. #define VR_VIOENDPOPUP       0x40000000
  337. #define VR_VIOPRTSCTOGGLE    0x80000000
  338.  
  339. #define VGMT_OTHER         1
  340. #define VGMT_GRAPHICS      2
  341. #define VGMT_DISABLEBURST  4
  342.  
  343. #define VSRWI_SAVEANDREDRAW 0
  344. #define VSRWI_REDRAW        1
  345.  
  346. #define VSRWN_SAVE          0
  347. #define VSRWN_REDRAW        1
  348.  
  349. #define UNDOI_GETOWNER      0
  350. #define UNDOI_RELEASEOWNER  1
  351.  
  352. #define UNDOK_ERRORCODE     0
  353. #define UNDOK_TERMINATE     1
  354.  
  355. #define LOCKIO_NOWAIT 0
  356. #define LOCKIO_WAIT   1
  357.  
  358. #define LOCK_SUCCESS  0
  359. #define LOCK_FAIL     1
  360.  
  361. #define VP_NOWAIT      0
  362. #define VP_WAIT        1
  363. #define VP_OPAQUE      0
  364. #define VP_TRANSPARENT 2
  365.  
  366. #define VMWR_POPUP 0
  367. #define VMWN_POPUP 0
  368.  
  369. typedef SHANDLE  HVIO;
  370. typedef HVIO     *PHVIO;
  371.  
  372. typedef struct _VIOCONFIGINFO {
  373.     USHORT  cb;
  374.     USHORT  adapter;
  375.     USHORT  display;
  376.     ULONG   cbMemory;
  377.     USHORT  Configuration;
  378.     USHORT  VDHVersion;
  379.     USHORT  Flags;
  380.     ULONG   HWBufferSize;
  381.     ULONG   FullSaveSize;
  382.     ULONG   PartSaveSize;
  383.     USHORT  EMAdaptersOFF;
  384.     USHORT  EMDisplaysOFF;
  385. } VIOCONFIGINFO, *PVIOCONFIGINFO;
  386.  
  387. typedef struct _VIOCURSORINFO {
  388.     USHORT   yStart;
  389.     USHORT   cEnd;
  390.     USHORT   cx;
  391.     USHORT   attr;
  392. } VIOCURSORINFO, *PVIOCURSORINFO;
  393.  
  394. typedef struct _VIOFONTINFO {
  395.     USHORT  cb;
  396.     USHORT  type;
  397.     USHORT  cxCell;
  398.     USHORT  cyCell;
  399.     PVOID   pbData;
  400.     USHORT  cbData;
  401. } VIOFONTINFO, *PVIOFONTINFO;
  402.  
  403. typedef struct _VIOMODEINFO {
  404.     USHORT cb;
  405.     UCHAR  fbType;
  406.     UCHAR  color;
  407.     USHORT col;
  408.     USHORT row;
  409.     USHORT hres;
  410.     USHORT vres;
  411.     UCHAR  fmt_ID;
  412.     UCHAR  attrib;
  413.     ULONG  buf_addr;
  414.     ULONG  buf_length;
  415.     ULONG  full_length;
  416.     ULONG  partial_length;
  417.     PCH    ext_data_addr;
  418. } VIOMODEINFO, *PVIOMODEINFO;
  419.  
  420. typedef struct _VIOPHYSBUF {
  421.     PBYTE    pBuf;
  422.     ULONG    cb;
  423.     SEL      asel[1];
  424. } VIOPHYSBUF, *PVIOPHYSBUF;
  425.  
  426. typedef struct _VIOPALSTATE {
  427.     USHORT  cb;
  428.     USHORT  type;
  429.     USHORT  iFirst;
  430.     USHORT  acolor[1];
  431. } VIOPALSTATE, *PVIOPALSTATE;
  432.  
  433. typedef struct _VIOOVERSCAN {
  434.     USHORT  cb;
  435.     USHORT  type;
  436.     USHORT  color;
  437. } VIOOVERSCAN, *PVIOOVERSCAN;
  438.  
  439. typedef struct _VIOINTENSITY {
  440.     USHORT  cb;
  441.     USHORT  type;
  442.     USHORT  fs;
  443. } VIOINTENSITY, *PVIOINTENSITY;
  444.  
  445. typedef struct _VIOCOLORREG {
  446.     USHORT  cb;
  447.     USHORT  type;
  448.     USHORT  firstcolorreg;
  449.     USHORT  numcolorregs;
  450.     PCH     colorregaddr;
  451. } VIOCOLORREG, *PVIOCOLORREG;
  452.  
  453. typedef struct _VIOSETULINELOC {
  454.     USHORT  cb;
  455.     USHORT  type;
  456.     USHORT  scanline;
  457. } VIOSETULINELOC, *PVIOSETULINELOC;
  458.  
  459. typedef struct _VIOSETTARGET {
  460.     USHORT  cb;
  461.     USHORT  type;
  462.     USHORT  defaultalgorithm;
  463. } VIOSETTARGET, *PVIOSETTARGET;
  464.  
  465. USHORT APIENTRY16 VioDeRegister(VOID);
  466. USHORT APIENTRY16 VioEndPopUp(HVIO VioHandle);
  467. USHORT APIENTRY16 VioGetAnsi(PUSHORT Indicator, HVIO VioHandle);
  468. USHORT APIENTRY16 VioGetBuf(PULONG LVBPtr, PUSHORT Length, HVIO VioHandle);
  469. USHORT APIENTRY16 VioGetConfig(USHORT ConfigID, PVIOCONFIGINFO ConfigData, HVIO VioHandle);
  470. USHORT APIENTRY16 VioGetCp(USHORT Reserved, PUSHORT CodePageID, HVIO VioHandle);
  471. USHORT APIENTRY16 VioGetCurPos(PUSHORT Row, PUSHORT Column, HVIO VioHandle);
  472. USHORT APIENTRY16 VioGetCurType(PVIOCURSORINFO CursorData, HVIO VioHandle);
  473. USHORT APIENTRY16 VioGetMode(PVIOMODEINFO ModeData, HVIO VioHandle);
  474. USHORT APIENTRY16 VioGetPhysBuf(PVIOPHYSBUF Structure, USHORT Reserved);
  475. USHORT APIENTRY16 VioGetState(PVOID RequestBlock, HVIO VioHandle);
  476. USHORT APIENTRY16 VioGlobalReg(PSZ ModuleName, PSZ EntryPoint, ULONG FunctionMask1,
  477.                        ULONG FunctionMask2, LONG Reserved);
  478. USHORT APIENTRY16 VioModeUndo(USHORT OwnerIndic, USHORT KillIndic, USHORT Reserved);
  479. USHORT APIENTRY16 VioModeWait(USHORT RequestType, PUSHORT NotifyType, USHORT Reserved);
  480. USHORT APIENTRY16 VioPopUp(PUSHORT Options, HVIO VioHandle);
  481. USHORT APIENTRY16 VioPrtSc(HVIO VioHandle);
  482. USHORT APIENTRY16 VioPrtScToggle(HVIO VioHandle);
  483. USHORT APIENTRY16 VioReadCellStr(PCH CellStr, PUSHORT Length, USHORT Row,
  484.                        USHORT Column, HVIO VioHandle);
  485. USHORT APIENTRY16 VioReadCharStr(PCH CharStr, PUSHORT Length, USHORT Row,
  486.                        USHORT Column, HVIO VioHandle);
  487. USHORT APIENTRY16 VioRegister(PSZ ModuleName, PSZ EntryPoint, ULONG FunctionMask1,
  488.                        ULONG FunctionMask2);
  489. USHORT APIENTRY16 VioSavRedrawUndo(USHORT OwnerIndic, USHORT KillIndic, HVIO VioHandle);
  490. USHORT APIENTRY16 VioSavRedrawWait(USHORT SavRedrawIndic, PUSHORT NotifyType, HVIO VioHandle);
  491. USHORT APIENTRY16 VioScrLock(USHORT WaitFlag, PUCHAR Status, HVIO VioHandle);
  492. USHORT APIENTRY16 VioScrollDn(USHORT TopRow, USHORT LeftCol, USHORT BotRow, USHORT RightCol,
  493.                        USHORT Lines, PBYTE Cell, HVIO VioHandle);
  494. USHORT APIENTRY16 VioScrollLf(USHORT TopRow, USHORT LeftCol, USHORT BotRow, USHORT RightCol,
  495.                        USHORT Lines, PBYTE Cell, HVIO VioHandle);
  496. USHORT APIENTRY16 VioScrollRt(USHORT TopRow, USHORT LeftCol, USHORT BotRow, USHORT RightCol,
  497.                        USHORT Lines, PBYTE Cell, HVIO VioHandle);
  498. USHORT APIENTRY16 VioScrollUp(USHORT TopRow, USHORT LeftCol, USHORT BotRow, USHORT RightCol,
  499.                        USHORT Lines, PBYTE Cell, HVIO VioHandle);
  500. USHORT APIENTRY16 VioScrUnLock(HVIO VioHandle);
  501. USHORT APIENTRY16 VioSetAnsi(USHORT Indicator, HVIO VioHandle);
  502. USHORT APIENTRY16 VioSetCp(USHORT Reserved, USHORT CodePageID, HVIO VioHandle);
  503. USHORT APIENTRY16 VioSetCurPos(USHORT Row, USHORT Column, HVIO VioHandle);
  504. USHORT APIENTRY16 VioSetCurType(PVIOCURSORINFO CursorData, HVIO VioHandle);
  505. USHORT APIENTRY16 VioSetFont(PVIOFONTINFO RequestBlock, HVIO VioHandle);
  506. USHORT APIENTRY16 VioSetMode(PVIOMODEINFO ModeData, HVIO VioHandle);
  507. USHORT APIENTRY16 VioSetState(PVOID RequestBlock, HVIO VioHandle);
  508. USHORT APIENTRY16 VioShowBuf(USHORT Offset, USHORT Length, HVIO VioHandle);
  509. USHORT APIENTRY16 VioWrtCellStr(PCH CellStr, USHORT Length, USHORT Row, USHORT Column,
  510.                        HVIO VioHandle);
  511. USHORT APIENTRY16 VioWrtCharStr(PCH CharStr, USHORT Length, USHORT Row, USHORT Column,
  512.                        HVIO VioHandle);
  513. USHORT APIENTRY16 VioWrtCharStrAtt(PCH CharStr, USHORT Length, USHORT Row, USHORT Column,
  514.                        PBYTE Attr, HVIO VioHandle);
  515. USHORT APIENTRY16 VioWrtNAttr(PBYTE Attr, USHORT Times, USHORT Row, USHORT Column, HVIO VioHandle);
  516. USHORT APIENTRY16 VioWrtNCell(PBYTE Cell, USHORT Times, USHORT Row, USHORT Column, HVIO VioHandle);
  517. USHORT APIENTRY16 VioWrtNChar(PBYTE Cell, USHORT Times, USHORT Row, USHORT Column, HVIO VioHandle);
  518. USHORT APIENTRY16 VioWrtTTY(PCH CharStr, USHORT Length, HVIO VioHandle);
  519.  
  520. #endif
  521.