Article View: comp.os.os2.programmer
Article #734VioGetConfig returns undocumented values under GA
From: Harald Boegeholz
Date: Sun, 12 Apr 1992 20:27
Date: Sun, 12 Apr 1992 20:27
43 lines
1846 bytes
1846 bytes
Hello!
Since I switched to OS/2 2.0 GA, dviscr from the emTeX package doesn't
work any more.
The problem seems to be the return value of VioGetConfig. The little
Program below returns adapter=8 and display=13 on my machine (running
full screen). These values are not documented, at least not in any
documentation I have available.
My hardware: ALR PowerVEISA 486/25, Video7 VRAM VGA etc.
Does anybody have any documentation about these values of adapter and
display? Or any other values I don't know yet? My docs mention adapter
values 0,1,2,3,7 and display values 0,1,2,3,4,9.
Please post or mail if the test program below returns any different
values on your machine!
Harald
------------------------------------------------------------------------
#define INCL_VIO
#include <os2.h>
void main(void)
{
VIOCONFIGINFO vioinConfig;
vioinConfig.cb = sizeof(vioinConfig); /* structure length */
VioGetConfig(0,
&vioinConfig, /* configuration data */
0); /* video handle */
printf("VioGetConfig returned adapter=%d, display=%d.\n",
vioinConfig.adapter, vioinConfig.display);
}
--
Harald Boegeholz |Home: hwb@texnix.stgt.sub.org (read daily)
|University: hwb@phoebus.mathematik.uni-stuttgart.de
|please don't send large (>100k) mail to my home address.
Technical Details
Message-ID:
<77263.920412@texnix.stgt.sub.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!math.fu-berlin.de!fauern!unido!ira.uka.de!smurf.sub.org!nadia!texnix!hwbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!math.fu-berlin.de!fauern!unido!ira.uka.de!smurf.sub.org!nadia!texnix!hwb From: hwb@texnix.stgt.sub.org (Harald Boegeholz) Newsgroups: comp.os.os2.programmer Subject: VioGetConfig returns undocumented values under GA Message-ID: <77263.920412@texnix.stgt.sub.org> Date: 12 Apr 92 20:27:43 GMT Article-I.D.: texnix.77263.920412 Distribution: comp Lines: 43