Changeset 21916 for trunk/include/os2wrap.h
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/include/os2wrap.h
r21597 r21916 4 4 5 5 #ifdef __EMX__ 6 #define OS2EMX_PLAIN_CHAR 7 #endif 6 7 #ifndef USE_OS2_TOOLKIT_HEADERS 8 9 // be compatible with the toolkit 10 #define OS2_INCLUDED 11 #define OS2DEF_INCLUDED 12 #define WIN_INCLUDED 13 #define __OS2_H__ 14 15 // add missing declarations 16 typedef unsigned short APIRET16; 17 #define APIENTRY16 _Far16 _Pascal 18 19 #define INCL_LONGLONG_STRUCTS 20 21 #else // ifndef USE_OS2_TOOLKIT_HEADERS 22 23 #undef _Pascal 24 #define _Pascal _System // For Vio/Kbd/Mou 25 26 #endif // ifndef USE_OS2_TOOLKIT_HEADERS 27 28 #endif // ifdef __EMX__ 8 29 9 30 #include <os2.h> … … 18 39 #endif 19 40 41 #ifdef __cplusplus 42 extern "C" { 43 #endif 44 20 45 #ifdef INCL_DOSMEMMGR 21 46 … … 4782 4807 USHORT sel = RestoreOS2FS(); 4783 4808 4784 yyrc = V IO16ASSOCIATE(a, b);4785 SetFS(sel); 4786 4787 return yyrc; 4788 } 4809 yyrc = VioAssociate(a, b); 4810 SetFS(sel); 4811 4812 return yyrc; 4813 } 4789 4814 4790 4815 #undef VioAssociate … … 4796 4821 USHORT sel = RestoreOS2FS(); 4797 4822 4798 yyrc = V IO16CREATELOGFONT(a, b, c, d);4799 SetFS(sel); 4800 4801 return yyrc; 4802 } 4823 yyrc = VioCreateLogFont(a, b, c, d); 4824 SetFS(sel); 4825 4826 return yyrc; 4827 } 4803 4828 4804 4829 #undef VioCreateLogFont … … 4810 4835 USHORT sel = RestoreOS2FS(); 4811 4836 4812 yyrc = V IO16CREATEPS(a, b, c, d, e, f);4813 SetFS(sel); 4814 4815 return yyrc; 4816 } 4837 yyrc = VioCreatePS(a, b, c, d, e, f); 4838 SetFS(sel); 4839 4840 return yyrc; 4841 } 4817 4842 4818 4843 #undef VioCreatePS … … 4824 4849 USHORT sel = RestoreOS2FS(); 4825 4850 4826 yyrc = V IO16DELETESETID(a, b);4827 SetFS(sel); 4828 4829 return yyrc; 4830 } 4851 yyrc = VioDeleteSetId(a, b); 4852 SetFS(sel); 4853 4854 return yyrc; 4855 } 4831 4856 4832 4857 #undef VioDeleteSetId … … 4838 4863 USHORT sel = RestoreOS2FS(); 4839 4864 4840 yyrc = V IO16DESTROYPS(a);4841 SetFS(sel); 4842 4843 return yyrc; 4844 } 4865 yyrc = VioDestroyPS(a); 4866 SetFS(sel); 4867 4868 return yyrc; 4869 } 4845 4870 4846 4871 #undef VioDestroyPS … … 4852 4877 USHORT sel = RestoreOS2FS(); 4853 4878 4854 yyrc = V IO16GETDEVICECELLSIZE(a, b, c);4855 SetFS(sel); 4856 4857 return yyrc; 4858 } 4879 yyrc = VioGetDeviceCellSize(a, b, c); 4880 SetFS(sel); 4881 4882 return yyrc; 4883 } 4859 4884 4860 4885 #undef VioGetDeviceCellSize … … 4866 4891 USHORT sel = RestoreOS2FS(); 4867 4892 4868 yyrc = V IO16GETORG(a, b, c);4869 SetFS(sel); 4870 4871 return yyrc; 4872 } 4893 yyrc = VioGetOrg(a, b, c); 4894 SetFS(sel); 4895 4896 return yyrc; 4897 } 4873 4898 4874 4899 #undef VioGetOrg … … 4880 4905 USHORT sel = RestoreOS2FS(); 4881 4906 4882 yyrc = V IO16QUERYFONTS(a, b, c, d, e, f, g);4883 SetFS(sel); 4884 4885 return yyrc; 4886 } 4907 yyrc = VioQueryFonts(a, b, c, d, e, f, g); 4908 SetFS(sel); 4909 4910 return yyrc; 4911 } 4887 4912 4888 4913 #undef VioQueryFonts … … 4894 4919 USHORT sel = RestoreOS2FS(); 4895 4920 4896 yyrc = V IO16QUERYSETIDS(a, b, c, d, e);4897 SetFS(sel); 4898 4899 return yyrc; 4900 } 4921 yyrc = VioQuerySetIds(a, b, c, d, e); 4922 SetFS(sel); 4923 4924 return yyrc; 4925 } 4901 4926 4902 4927 #undef VioQuerySetIds … … 4908 4933 USHORT sel = RestoreOS2FS(); 4909 4934 4910 yyrc = V IO16SETDEVICECELLSIZE(a, b, c);4911 SetFS(sel); 4912 4913 return yyrc; 4914 } 4935 yyrc = VioSetDeviceCellSize(a, b, c); 4936 SetFS(sel); 4937 4938 return yyrc; 4939 } 4915 4940 4916 4941 #undef VioSetDeviceCellSize … … 4922 4947 USHORT sel = RestoreOS2FS(); 4923 4948 4924 yyrc = V IO16SETORG(a, b, c);4925 SetFS(sel); 4926 4927 return yyrc; 4928 } 4949 yyrc = VioSetOrg(a, b, c); 4950 SetFS(sel); 4951 4952 return yyrc; 4953 } 4929 4954 4930 4955 #undef VioSetOrg … … 4936 4961 USHORT sel = RestoreOS2FS(); 4937 4962 4938 yyrc = V IO16SHOWPS(a, b, c, d);4939 SetFS(sel); 4940 4941 return yyrc; 4942 } 4963 yyrc = VioShowPS(a, b, c, d); 4964 SetFS(sel); 4965 4966 return yyrc; 4967 } 4943 4968 4944 4969 #undef VioShowPS … … 4954 4979 4955 4980 return yyrc; 4956 } 4981 } 4957 4982 4958 4983 #undef WinDefAVioWindowProc … … 4970 4995 4971 4996 return yyrc; 4972 } 4997 } 4973 4998 4974 4999 #undef KbdCharIn … … 4984 5009 4985 5010 return yyrc; 4986 } 5011 } 4987 5012 4988 5013 #undef KbdClose … … 4998 5023 4999 5024 return yyrc; 5000 } 5025 } 5001 5026 5002 5027 #undef KbdDeRegister … … 5012 5037 5013 5038 return yyrc; 5014 } 5039 } 5015 5040 5016 5041 #undef KbdFlushBuffer … … 5026 5051 5027 5052 return yyrc; 5028 } 5053 } 5029 5054 5030 5055 #undef KbdFreeFocus … … 5040 5065 5041 5066 return yyrc; 5042 } 5067 } 5043 5068 5044 5069 #undef KbdGetCp … … 5054 5079 5055 5080 return yyrc; 5056 } 5081 } 5057 5082 5058 5083 #undef KbdGetFocus … … 5068 5093 5069 5094 return yyrc; 5070 } 5095 } 5071 5096 5072 5097 #undef KbdGetHWID … … 5082 5107 5083 5108 return yyrc; 5084 } 5109 } 5085 5110 5086 5111 #undef KbdGetStatus … … 5096 5121 5097 5122 return yyrc; 5098 } 5123 } 5099 5124 5100 5125 #undef KbdOpen … … 5110 5135 5111 5136 return yyrc; 5112 } 5137 } 5113 5138 5114 5139 #undef KbdPeek … … 5124 5149 5125 5150 return yyrc; 5126 } 5151 } 5127 5152 5128 5153 #undef KbdRegister … … 5138 5163 5139 5164 return yyrc; 5140 } 5165 } 5141 5166 5142 5167 #undef KbdSetCp … … 5152 5177 5153 5178 return yyrc; 5154 } 5179 } 5155 5180 5156 5181 #undef KbdSetCustXt … … 5166 5191 5167 5192 return yyrc; 5168 } 5193 } 5169 5194 5170 5195 #undef KbdSetFgnd … … 5180 5205 5181 5206 return yyrc; 5182 } 5207 } 5183 5208 5184 5209 #undef KbdSetHWID … … 5194 5219 5195 5220 return yyrc; 5196 } 5221 } 5197 5222 5198 5223 #undef KbdSetStatus … … 5208 5233 5209 5234 return yyrc; 5210 } 5235 } 5211 5236 5212 5237 #undef KbdStringIn … … 5222 5247 5223 5248 return yyrc; 5224 } 5249 } 5225 5250 5226 5251 #undef KbdSynch … … 5236 5261 5237 5262 return yyrc; 5238 } 5263 } 5239 5264 5240 5265 #undef KbdXlate … … 5248 5273 USHORT sel = RestoreOS2FS(); 5249 5274 5250 yyrc = V IO16CHECKCHARTYPE(a, b, c, d);5251 SetFS(sel); 5252 5253 return yyrc; 5254 } 5275 yyrc = VioCheckCharType(a, b, c, d); 5276 SetFS(sel); 5277 5278 return yyrc; 5279 } 5255 5280 5256 5281 #undef VioCheckCharType … … 5262 5287 USHORT sel = RestoreOS2FS(); 5263 5288 5264 yyrc = V IO16DEREGISTER();5265 SetFS(sel); 5266 5267 return yyrc; 5268 } 5289 yyrc = VioDeRegister(); 5290 SetFS(sel); 5291 5292 return yyrc; 5293 } 5269 5294 5270 5295 #undef VioDeRegister … … 5276 5301 USHORT sel = RestoreOS2FS(); 5277 5302 5278 yyrc = V IO16ENDPOPUP(a);5279 SetFS(sel); 5280 5281 return yyrc; 5282 } 5303 yyrc = VioEndPopUp(a); 5304 SetFS(sel); 5305 5306 return yyrc; 5307 } 5283 5308 5284 5309 #undef VioEndPopUp … … 5290 5315 USHORT sel = RestoreOS2FS(); 5291 5316 5292 yyrc = V IO16GETANSI(a, b);5293 SetFS(sel); 5294 5295 return yyrc; 5296 } 5317 yyrc = VioGetAnsi(a, b); 5318 SetFS(sel); 5319 5320 return yyrc; 5321 } 5297 5322 5298 5323 #undef VioGetAnsi … … 5304 5329 USHORT sel = RestoreOS2FS(); 5305 5330 5306 yyrc = V IO16GETBUF(a, b, c);5307 SetFS(sel); 5308 5309 return yyrc; 5310 } 5331 yyrc = VioGetBuf(a, b, c); 5332 SetFS(sel); 5333 5334 return yyrc; 5335 } 5311 5336 5312 5337 #undef VioGetBuf … … 5318 5343 USHORT sel = RestoreOS2FS(); 5319 5344 5320 yyrc = V IO16GETCONFIG(a, b, c);5321 SetFS(sel); 5322 5323 return yyrc; 5324 } 5345 yyrc = VioGetConfig(a, b, c); 5346 SetFS(sel); 5347 5348 return yyrc; 5349 } 5325 5350 5326 5351 #undef VioGetConfig … … 5332 5357 USHORT sel = RestoreOS2FS(); 5333 5358 5334 yyrc = V IO16GETCP(a, b, c);5335 SetFS(sel); 5336 5337 return yyrc; 5338 } 5359 yyrc = VioGetCp(a, b, c); 5360 SetFS(sel); 5361 5362 return yyrc; 5363 } 5339 5364 5340 5365 #undef VioGetCp … … 5346 5371 USHORT sel = RestoreOS2FS(); 5347 5372 5348 yyrc = V IO16GETCURPOS(a, b, c);5349 SetFS(sel); 5350 5351 return yyrc; 5352 } 5373 yyrc = VioGetCurPos(a, b, c); 5374 SetFS(sel); 5375 5376 return yyrc; 5377 } 5353 5378 5354 5379 #undef VioGetCurPos … … 5360 5385 USHORT sel = RestoreOS2FS(); 5361 5386 5362 yyrc = V IO16GETCURTYPE(a, b);5363 SetFS(sel); 5364 5365 return yyrc; 5366 } 5387 yyrc = VioGetCurType(a, b); 5388 SetFS(sel); 5389 5390 return yyrc; 5391 } 5367 5392 5368 5393 #undef VioGetCurType … … 5374 5399 USHORT sel = RestoreOS2FS(); 5375 5400 5376 yyrc = V IO16GETFONT(a, b);5377 SetFS(sel); 5378 5379 return yyrc; 5380 } 5401 yyrc = VioGetFont(a, b); 5402 SetFS(sel); 5403 5404 return yyrc; 5405 } 5381 5406 5382 5407 #undef VioGetFont … … 5388 5413 USHORT sel = RestoreOS2FS(); 5389 5414 5390 yyrc = V IO16GETMODE(a, b);5391 SetFS(sel); 5392 5393 return yyrc; 5394 } 5415 yyrc = VioGetMode(a, b); 5416 SetFS(sel); 5417 5418 return yyrc; 5419 } 5395 5420 5396 5421 #undef VioGetMode … … 5402 5427 USHORT sel = RestoreOS2FS(); 5403 5428 5404 yyrc = V IO16GETPHYSBUF(a, b);5405 SetFS(sel); 5406 5407 return yyrc; 5408 } 5429 yyrc = VioGetPhysBuf(a, b); 5430 SetFS(sel); 5431 5432 return yyrc; 5433 } 5409 5434 5410 5435 #undef VioGetPhysBuf … … 5416 5441 USHORT sel = RestoreOS2FS(); 5417 5442 5418 yyrc = V IO16GETSTATE(a, b);5419 SetFS(sel); 5420 5421 return yyrc; 5422 } 5443 yyrc = VioGetState(a, b); 5444 SetFS(sel); 5445 5446 return yyrc; 5447 } 5423 5448 5424 5449 #undef VioGetState … … 5430 5455 USHORT sel = RestoreOS2FS(); 5431 5456 5432 yyrc = V IO16MODEUNDO(a, b, c);5433 SetFS(sel); 5434 5435 return yyrc; 5436 } 5457 yyrc = VioModeUndo(a, b, c); 5458 SetFS(sel); 5459 5460 return yyrc; 5461 } 5437 5462 5438 5463 #undef VioModeUndo … … 5444 5469 USHORT sel = RestoreOS2FS(); 5445 5470 5446 yyrc = V IO16MODEWAIT(a, b, c);5447 SetFS(sel); 5448 5449 return yyrc; 5450 } 5471 yyrc = VioModeWait(a, b, c); 5472 SetFS(sel); 5473 5474 return yyrc; 5475 } 5451 5476 5452 5477 #undef VioModeWait … … 5458 5483 USHORT sel = RestoreOS2FS(); 5459 5484 5460 yyrc = V IO16POPUP(a, b);5461 SetFS(sel); 5462 5463 return yyrc; 5464 } 5485 yyrc = VioPopUp(a, b); 5486 SetFS(sel); 5487 5488 return yyrc; 5489 } 5465 5490 5466 5491 #undef VioPopUp … … 5472 5497 USHORT sel = RestoreOS2FS(); 5473 5498 5474 yyrc = V IO16PRTSC(a);5475 SetFS(sel); 5476 5477 return yyrc; 5478 } 5499 yyrc = VioPrtSc(a); 5500 SetFS(sel); 5501 5502 return yyrc; 5503 } 5479 5504 5480 5505 #undef VioPrtSc … … 5486 5511 USHORT sel = RestoreOS2FS(); 5487 5512 5488 yyrc = V IO16PRTSCTOGGLE(a);5489 SetFS(sel); 5490 5491 return yyrc; 5492 } 5513 yyrc = VioPrtScToggle(a); 5514 SetFS(sel); 5515 5516 return yyrc; 5517 } 5493 5518 5494 5519 #undef VioPrtScToggle … … 5500 5525 USHORT sel = RestoreOS2FS(); 5501 5526 5502 yyrc = V IO16READCELLSTR(a, b, c, d, e);5503 SetFS(sel); 5504 5505 return yyrc; 5506 } 5527 yyrc = VioReadCellStr(a, b, c, d, e); 5528 SetFS(sel); 5529 5530 return yyrc; 5531 } 5507 5532 5508 5533 #undef VioReadCellStr … … 5514 5539 USHORT sel = RestoreOS2FS(); 5515 5540 5516 yyrc = V IO16READCHARSTR(a, b, c, d, e);5517 SetFS(sel); 5518 5519 return yyrc; 5520 } 5541 yyrc = VioReadCharStr(a, b, c, d, e); 5542 SetFS(sel); 5543 5544 return yyrc; 5545 } 5521 5546 5522 5547 #undef VioReadCharStr … … 5528 5553 USHORT sel = RestoreOS2FS(); 5529 5554 5530 yyrc = V IO16REGISTER(a, b, c, d);5531 SetFS(sel); 5532 5533 return yyrc; 5534 } 5555 yyrc = VioRegister(a, b, c, d); 5556 SetFS(sel); 5557 5558 return yyrc; 5559 } 5535 5560 5536 5561 #undef VioRegister … … 5542 5567 USHORT sel = RestoreOS2FS(); 5543 5568 5544 yyrc = V IO16SAVREDRAWUNDO(a, b, c);5545 SetFS(sel); 5546 5547 return yyrc; 5548 } 5569 yyrc = VioSavRedrawUndo(a, b, c); 5570 SetFS(sel); 5571 5572 return yyrc; 5573 } 5549 5574 5550 5575 #undef VioSavRedrawUndo … … 5556 5581 USHORT sel = RestoreOS2FS(); 5557 5582 5558 yyrc = V IO16SAVREDRAWWAIT(a, b, c);5559 SetFS(sel); 5560 5561 return yyrc; 5562 } 5583 yyrc = VioSavRedrawWait(a, b, c); 5584 SetFS(sel); 5585 5586 return yyrc; 5587 } 5563 5588 5564 5589 #undef VioSavRedrawWait … … 5570 5595 USHORT sel = RestoreOS2FS(); 5571 5596 5572 yyrc = V IO16SCRLOCK(a, b, c);5573 SetFS(sel); 5574 5575 return yyrc; 5576 } 5597 yyrc = VioScrLock(a, b, c); 5598 SetFS(sel); 5599 5600 return yyrc; 5601 } 5577 5602 5578 5603 #undef VioScrLock … … 5584 5609 USHORT sel = RestoreOS2FS(); 5585 5610 5586 yyrc = V IO16SCROLLDN(a, b, c, d, e, f, g);5587 SetFS(sel); 5588 5589 return yyrc; 5590 } 5611 yyrc = VioScrollDn(a, b, c, d, e, f, g); 5612 SetFS(sel); 5613 5614 return yyrc; 5615 } 5591 5616 5592 5617 #undef VioScrollDn … … 5598 5623 USHORT sel = RestoreOS2FS(); 5599 5624 5600 yyrc = V IO16SCROLLLF(a, b, c, d, e, f, g);5601 SetFS(sel); 5602 5603 return yyrc; 5604 } 5625 yyrc = VioScrollLf(a, b, c, d, e, f, g); 5626 SetFS(sel); 5627 5628 return yyrc; 5629 } 5605 5630 5606 5631 #undef VioScrollLf … … 5612 5637 USHORT sel = RestoreOS2FS(); 5613 5638 5614 yyrc = V IO16SCROLLRT(a, b, c, d, e, f, g);5615 SetFS(sel); 5616 5617 return yyrc; 5618 } 5639 yyrc = VioScrollRt(a, b, c, d, e, f, g); 5640 SetFS(sel); 5641 5642 return yyrc; 5643 } 5619 5644 5620 5645 #undef VioScrollRt … … 5626 5651 USHORT sel = RestoreOS2FS(); 5627 5652 5628 yyrc = V IO16SCROLLUP(a, b, c, d, e, f, g);5629 SetFS(sel); 5630 5631 return yyrc; 5632 } 5653 yyrc = VioScrollUp(a, b, c, d, e, f, g); 5654 SetFS(sel); 5655 5656 return yyrc; 5657 } 5633 5658 5634 5659 #undef VioScrollUp … … 5640 5665 USHORT sel = RestoreOS2FS(); 5641 5666 5642 yyrc = V IO16SCRUNLOCK(a);5643 SetFS(sel); 5644 5645 return yyrc; 5646 } 5667 yyrc = VioScrUnLock(a); 5668 SetFS(sel); 5669 5670 return yyrc; 5671 } 5647 5672 5648 5673 #undef VioScrUnLock … … 5654 5679 USHORT sel = RestoreOS2FS(); 5655 5680 5656 yyrc = V IO16SETANSI(a, b);5657 SetFS(sel); 5658 5659 return yyrc; 5660 } 5681 yyrc = VioSetAnsi(a, b); 5682 SetFS(sel); 5683 5684 return yyrc; 5685 } 5661 5686 5662 5687 #undef VioSetAnsi … … 5668 5693 USHORT sel = RestoreOS2FS(); 5669 5694 5670 yyrc = V IO16SETCP(a, b, c);5671 SetFS(sel); 5672 5673 return yyrc; 5674 } 5695 yyrc = VioSetCp(a, b, c); 5696 SetFS(sel); 5697 5698 return yyrc; 5699 } 5675 5700 5676 5701 #undef VioSetCp … … 5682 5707 USHORT sel = RestoreOS2FS(); 5683 5708 5684 yyrc = V IO16SETCURPOS(a, b, c);5685 SetFS(sel); 5686 5687 return yyrc; 5688 } 5709 yyrc = VioSetCurPos(a, b, c); 5710 SetFS(sel); 5711 5712 return yyrc; 5713 } 5689 5714 5690 5715 #undef VioSetCurPos … … 5696 5721 USHORT sel = RestoreOS2FS(); 5697 5722 5698 yyrc = V IO16SETCURTYPE(a, b);5699 SetFS(sel); 5700 5701 return yyrc; 5702 } 5723 yyrc = VioSetCurType(a, b); 5724 SetFS(sel); 5725 5726 return yyrc; 5727 } 5703 5728 5704 5729 #undef VioSetCurType … … 5710 5735 USHORT sel = RestoreOS2FS(); 5711 5736 5712 yyrc = V IO16SETFONT(a, b);5713 SetFS(sel); 5714 5715 return yyrc; 5716 } 5737 yyrc = VioSetFont(a, b); 5738 SetFS(sel); 5739 5740 return yyrc; 5741 } 5717 5742 5718 5743 #undef VioSetFont … … 5724 5749 USHORT sel = RestoreOS2FS(); 5725 5750 5726 yyrc = V IO16SETMODE(a, b);5727 SetFS(sel); 5728 5729 return yyrc; 5730 } 5751 yyrc = VioSetMode(a, b); 5752 SetFS(sel); 5753 5754 return yyrc; 5755 } 5731 5756 5732 5757 #undef VioSetMode … … 5738 5763 USHORT sel = RestoreOS2FS(); 5739 5764 5740 yyrc = V IO16SETSTATE(a, b);5741 SetFS(sel); 5742 5743 return yyrc; 5744 } 5765 yyrc = VioSetState(a, b); 5766 SetFS(sel); 5767 5768 return yyrc; 5769 } 5745 5770 5746 5771 #undef VioSetState … … 5752 5777 USHORT sel = RestoreOS2FS(); 5753 5778 5754 yyrc = V IO16SHOWBUF(a, b, c);5755 SetFS(sel); 5756 5757 return yyrc; 5758 } 5779 yyrc = VioShowBuf(a, b, c); 5780 SetFS(sel); 5781 5782 return yyrc; 5783 } 5759 5784 5760 5785 #undef VioShowBuf … … 5766 5791 USHORT sel = RestoreOS2FS(); 5767 5792 5768 yyrc = V IO16WRTCELLSTR(a, b, c, d, e);5769 SetFS(sel); 5770 5771 return yyrc; 5772 } 5793 yyrc = VioWrtCellStr(a, b, c, d, e); 5794 SetFS(sel); 5795 5796 return yyrc; 5797 } 5773 5798 5774 5799 #undef VioWrtCellStr … … 5780 5805 USHORT sel = RestoreOS2FS(); 5781 5806 5782 yyrc = V IO16WRTCHARSTR(a, b, c, d, e);5783 SetFS(sel); 5784 5785 return yyrc; 5786 } 5807 yyrc = VioWrtCharStr(a, b, c, d, e); 5808 SetFS(sel); 5809 5810 return yyrc; 5811 } 5787 5812 5788 5813 #undef VioWrtCharStr … … 5794 5819 USHORT sel = RestoreOS2FS(); 5795 5820 5796 yyrc = V IO16WRTCHARSTRATT(a, b, c, d, e, f);5797 SetFS(sel); 5798 5799 return yyrc; 5800 } 5821 yyrc = VioWrtCharStrAtt(a, b, c, d, e, f); 5822 SetFS(sel); 5823 5824 return yyrc; 5825 } 5801 5826 5802 5827 #undef VioWrtCharStrAtt … … 5808 5833 USHORT sel = RestoreOS2FS(); 5809 5834 5810 yyrc = V IO16WRTNATTR(a, b, c, d, e);5811 SetFS(sel); 5812 5813 return yyrc; 5814 } 5835 yyrc = VioWrtNAttr(a, b, c, d, e); 5836 SetFS(sel); 5837 5838 return yyrc; 5839 } 5815 5840 5816 5841 #undef VioWrtNAttr … … 5822 5847 USHORT sel = RestoreOS2FS(); 5823 5848 5824 yyrc = V IO16WRTNCELL(a, b, c, d, e);5825 SetFS(sel); 5826 5827 return yyrc; 5828 } 5849 yyrc = VioWrtNCell(a, b, c, d, e); 5850 SetFS(sel); 5851 5852 return yyrc; 5853 } 5829 5854 5830 5855 #undef VioWrtNCell … … 5836 5861 USHORT sel = RestoreOS2FS(); 5837 5862 5838 yyrc = V IO16WRTNCHAR(a, b, c, d, e);5839 SetFS(sel); 5840 5841 return yyrc; 5842 } 5863 yyrc = VioWrtNChar(a, b, c, d, e); 5864 SetFS(sel); 5865 5866 return yyrc; 5867 } 5843 5868 5844 5869 #undef VioWrtNChar … … 5850 5875 USHORT sel = RestoreOS2FS(); 5851 5876 5852 yyrc = V IO16WRTTTY(a, b, c);5853 SetFS(sel); 5854 5855 return yyrc; 5856 } 5877 yyrc = VioWrtTTY(a, b, c); 5878 SetFS(sel); 5879 5880 return yyrc; 5881 } 5857 5882 5858 5883 #undef VioWrtTTY … … 5866 5891 USHORT sel = RestoreOS2FS(); 5867 5892 5868 yyrc = M OU16CLOSE(a);5869 SetFS(sel); 5870 5871 return yyrc; 5872 } 5893 yyrc = MouClose(a); 5894 SetFS(sel); 5895 5896 return yyrc; 5897 } 5873 5898 5874 5899 #undef MouClose … … 5880 5905 USHORT sel = RestoreOS2FS(); 5881 5906 5882 yyrc = M OU16DEREGISTER();5883 SetFS(sel); 5884 5885 return yyrc; 5886 } 5907 yyrc = MouDeRegister(); 5908 SetFS(sel); 5909 5910 return yyrc; 5911 } 5887 5912 5888 5913 #undef MouDeRegister … … 5894 5919 USHORT sel = RestoreOS2FS(); 5895 5920 5896 yyrc = M OU16DRAWPTR(a);5897 SetFS(sel); 5898 5899 return yyrc; 5900 } 5921 yyrc = MouDrawPtr(a); 5922 SetFS(sel); 5923 5924 return yyrc; 5925 } 5901 5926 5902 5927 #undef MouDrawPtr … … 5908 5933 USHORT sel = RestoreOS2FS(); 5909 5934 5910 yyrc = M OU16FLUSHQUE(a);5911 SetFS(sel); 5912 5913 return yyrc; 5914 } 5935 yyrc = MouFlushQue(a); 5936 SetFS(sel); 5937 5938 return yyrc; 5939 } 5915 5940 5916 5941 #undef MouFlushQue … … 5922 5947 USHORT sel = RestoreOS2FS(); 5923 5948 5924 yyrc = M OU16GETDEVSTATUS(a, b);5925 SetFS(sel); 5926 5927 return yyrc; 5928 } 5949 yyrc = MouGetDevStatus(a, b); 5950 SetFS(sel); 5951 5952 return yyrc; 5953 } 5929 5954 5930 5955 #undef MouGetDevStatus … … 5936 5961 USHORT sel = RestoreOS2FS(); 5937 5962 5938 yyrc = M OU16GETEVENTMASK(a, b);5939 SetFS(sel); 5940 5941 return yyrc; 5942 } 5963 yyrc = MouGetEventMask(a, b); 5964 SetFS(sel); 5965 5966 return yyrc; 5967 } 5943 5968 5944 5969 #undef MouGetEventMask … … 5950 5975 USHORT sel = RestoreOS2FS(); 5951 5976 5952 yyrc = M OU16GETNUMBUTTONS(a, b);5953 SetFS(sel); 5954 5955 return yyrc; 5956 } 5977 yyrc = MouGetNumButtons(a, b); 5978 SetFS(sel); 5979 5980 return yyrc; 5981 } 5957 5982 5958 5983 #undef MouGetNumButtons … … 5964 5989 USHORT sel = RestoreOS2FS(); 5965 5990 5966 yyrc = M OU16GETNUMMICKEYS(a, b);5967 SetFS(sel); 5968 5969 return yyrc; 5970 } 5991 yyrc = MouGetNumMickeys(a, b); 5992 SetFS(sel); 5993 5994 return yyrc; 5995 } 5971 5996 5972 5997 #undef MouGetNumMickeys … … 5978 6003 USHORT sel = RestoreOS2FS(); 5979 6004 5980 yyrc = M OU16GETNUMQUEEL(a, b);5981 SetFS(sel); 5982 5983 return yyrc; 5984 } 6005 yyrc = MouGetNumQueEl(a, b); 6006 SetFS(sel); 6007 6008 return yyrc; 6009 } 5985 6010 5986 6011 #undef MouGetNumQueEl … … 5992 6017 USHORT sel = RestoreOS2FS(); 5993 6018 5994 yyrc = M OU16GETPTRPOS(a, b);5995 SetFS(sel); 5996 5997 return yyrc; 5998 } 6019 yyrc = MouGetPtrPos(a, b); 6020 SetFS(sel); 6021 6022 return yyrc; 6023 } 5999 6024 6000 6025 #undef MouGetPtrPos … … 6006 6031 USHORT sel = RestoreOS2FS(); 6007 6032 6008 yyrc = M OU16GETPTRSHAPE(a, b, c);6009 SetFS(sel); 6010 6011 return yyrc; 6012 } 6033 yyrc = MouGetPtrShape(a, b, c); 6034 SetFS(sel); 6035 6036 return yyrc; 6037 } 6013 6038 6014 6039 #undef MouGetPtrShape … … 6020 6045 USHORT sel = RestoreOS2FS(); 6021 6046 6022 yyrc = M OU16GETSCALEFACT(a, b);6023 SetFS(sel); 6024 6025 return yyrc; 6026 } 6047 yyrc = MouGetScaleFact(a, b); 6048 SetFS(sel); 6049 6050 return yyrc; 6051 } 6027 6052 6028 6053 #undef MouGetScaleFact … … 6034 6059 USHORT sel = RestoreOS2FS(); 6035 6060 6036 yyrc = M OU16GETTHRESHOLD(a, b);6037 SetFS(sel); 6038 6039 return yyrc; 6040 } 6061 yyrc = MouGetThreshold(a, b); 6062 SetFS(sel); 6063 6064 return yyrc; 6065 } 6041 6066 6042 6067 #undef MouGetThreshold … … 6048 6073 USHORT sel = RestoreOS2FS(); 6049 6074 6050 yyrc = M OU16INITREAL(a);6051 SetFS(sel); 6052 6053 return yyrc; 6054 } 6075 yyrc = MouInitReal(a); 6076 SetFS(sel); 6077 6078 return yyrc; 6079 } 6055 6080 6056 6081 #undef MouInitReal … … 6062 6087 USHORT sel = RestoreOS2FS(); 6063 6088 6064 yyrc = M OU16OPEN(a, b);6065 SetFS(sel); 6066 6067 return yyrc; 6068 } 6089 yyrc = MouOpen(a, b); 6090 SetFS(sel); 6091 6092 return yyrc; 6093 } 6069 6094 6070 6095 #undef MouOpen … … 6076 6101 USHORT sel = RestoreOS2FS(); 6077 6102 6078 yyrc = M OU16READEVENTQUE(a, b, c);6079 SetFS(sel); 6080 6081 return yyrc; 6082 } 6103 yyrc = MouReadEventQue(a, b, c); 6104 SetFS(sel); 6105 6106 return yyrc; 6107 } 6083 6108 6084 6109 #undef MouReadEventQue … … 6090 6115 USHORT sel = RestoreOS2FS(); 6091 6116 6092 yyrc = M OU16REGISTER(a, b, c);6093 SetFS(sel); 6094 6095 return yyrc; 6096 } 6117 yyrc = MouRegister(a, b, c); 6118 SetFS(sel); 6119 6120 return yyrc; 6121 } 6097 6122 6098 6123 #undef MouRegister … … 6104 6129 USHORT sel = RestoreOS2FS(); 6105 6130 6106 yyrc = M OU16REMOVEPTR(a, b);6107 SetFS(sel); 6108 6109 return yyrc; 6110 } 6131 yyrc = MouRemovePtr(a, b); 6132 SetFS(sel); 6133 6134 return yyrc; 6135 } 6111 6136 6112 6137 #undef MouRemovePtr … … 6118 6143 USHORT sel = RestoreOS2FS(); 6119 6144 6120 yyrc = M OU16SETDEVSTATUS(a, b);6121 SetFS(sel); 6122 6123 return yyrc; 6124 } 6145 yyrc = MouSetDevStatus(a, b); 6146 SetFS(sel); 6147 6148 return yyrc; 6149 } 6125 6150 6126 6151 #undef MouSetDevStatus … … 6132 6157 USHORT sel = RestoreOS2FS(); 6133 6158 6134 yyrc = M OU16SETEVENTMASK(a, b);6135 SetFS(sel); 6136 6137 return yyrc; 6138 } 6159 yyrc = MouSetEventMask(a, b); 6160 SetFS(sel); 6161 6162 return yyrc; 6163 } 6139 6164 6140 6165 #undef MouSetEventMask … … 6146 6171 USHORT sel = RestoreOS2FS(); 6147 6172 6148 yyrc = M OU16SETPTRPOS(a, b);6149 SetFS(sel); 6150 6151 return yyrc; 6152 } 6173 yyrc = MouSetPtrPos(a, b); 6174 SetFS(sel); 6175 6176 return yyrc; 6177 } 6153 6178 6154 6179 #undef MouSetPtrPos … … 6160 6185 USHORT sel = RestoreOS2FS(); 6161 6186 6162 yyrc = M OU16SETPTRSHAPE(a, b, c);6163 SetFS(sel); 6164 6165 return yyrc; 6166 } 6187 yyrc = MouSetPtrShape(a, b, c); 6188 SetFS(sel); 6189 6190 return yyrc; 6191 } 6167 6192 6168 6193 #undef MouSetPtrShape … … 6174 6199 USHORT sel = RestoreOS2FS(); 6175 6200 6176 yyrc = M OU16SETSCALEFACT(a, b);6177 SetFS(sel); 6178 6179 return yyrc; 6180 } 6201 yyrc = MouSetScaleFact(a, b); 6202 SetFS(sel); 6203 6204 return yyrc; 6205 } 6181 6206 6182 6207 #undef MouSetScaleFact … … 6188 6213 USHORT sel = RestoreOS2FS(); 6189 6214 6190 yyrc = M OU16SETTHRESHOLD(a, b);6191 SetFS(sel); 6192 6193 return yyrc; 6194 } 6215 yyrc = MouSetThreshold(a, b); 6216 SetFS(sel); 6217 6218 return yyrc; 6219 } 6195 6220 6196 6221 #undef MouSetThreshold … … 6202 6227 USHORT sel = RestoreOS2FS(); 6203 6228 6204 yyrc = M OU16SYNCH(a);6205 SetFS(sel); 6206 6207 return yyrc; 6208 } 6229 yyrc = MouSynch(a); 6230 SetFS(sel); 6231 6232 return yyrc; 6233 } 6209 6234 6210 6235 #undef MouSynch … … 6213 6238 #endif 6214 6239 6215 #endif 6240 #ifdef __cplusplus 6241 } // extern "C" 6242 #endif 6243 6244 #endif
Note:
See TracChangeset
for help on using the changeset viewer.