TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Rob Basler
from: Mario Semo
date: 1995-01-06 10:18:54
subject: Can`t set VIO palette

Hello Rob,

On Jan 03 01:34 95, Rob Basler of 1:153/905 wrote:

 RB> I'm having trouble with a VIO call from BCOS/2 V1.0, I am 
 RB> trying to set the palette in an OS/2 full screen session in 

thats a bug in the bsesub.h file from Borland.

Here are 3 fixes i've made in the file :

typedef struct _VIOFONTINFO {   /* viofi */
        USHORT  cb;
        USHORT  type;
        USHORT  cxCell;
        USHORT  cyCell;
        PVOID16   pbData;                       /* MS             */
        USHORT  cbData;
        } VIOFONTINFO;
typedef VIOFONTINFO FAR16PTR PVIOFONTINFO;
APIRET16  APIENTRY16    VioGetState (PVOID16 pState, HVIO hvio); /* MS */
APIRET16  APIENTRY16    VioSetState (PVOID16 pState, HVIO hvio); /* MS */

i've not checked if there are other bugs in this file.

 WARPED!, Mario

--- 
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1 7877/2809
@PATH: 310/14 90 30 2490/1001 3001 240/5500 396/1 3615/50 229/2 12/2442
@PATH: 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.