| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | VioGetCurType() |
DL> static PVIOCURSORINFO CursorData; /* cursor characteristics */
You're not very good with hungarian notation, eh, Daniel? I admit - I
looked over the code once, and missed this, too. :-/
At any rate, P is _pointer_, so you have a _Pointer_ to a a VIOCURSORINFO structure.
Try:
static VIOCURSORINFO CursorData; /* cursor characteristics */
(Yes, that is the struct... )
DL> rc=VioGetCurType(CursorData,VioHandle);
And, obviously, you take the address of it here.
rc = VioGetCurType(&CursorData, VioHandle);
BTW, I would suggest one other change if you want this to be generic...
DL> HVIO VioHandle=0; /* video handle */
Should be static global, and add another function to the module:
void SetVioHandle(HVIO hvio)
{
VioHandle = hvio;
}
This is, obviously, only of interest when you are using a Vio session
inside a PM session, not as a console app...
--- Maximus/2 3.01
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1 @PATH: 342/5015 61 3615/50 396/1 270/101 712/515 711/808 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™.