Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 770 Bytes

viocalls.h

File metadata and controls

47 lines (38 loc) · 770 Bytes
 
1
2
3
4
5
6
7
8
9
#ifndef _INCL_VIOCALLS_H_
#define _INCL_VIOCALLS_H_
#include "os2types.h"
#ifdef __cplusplus
extern "C" {
#endif
Oct 27, 2016
Oct 27, 2016
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#pragma pack(push, 1)
typedef struct
{
USHORT cb;
UCHAR fbType;
UCHAR color;
USHORT col;
USHORT row;
USHORT hres;
USHORT vres;
UCHAR fmt_ID;
UCHAR attrib;
ULONG buf_addr;
ULONG buf_length;
ULONG full_length;
ULONG partial_length;
PCHAR ext_data_addr;
} VIOMODEINFO, *PVIOMODEINFO;
#pragma pack(pop)
enum
{
VGMT_OTHER = 0x1,
VGMT_GRAPHICS = 0x02,
VGMT_DISABLEBURST = 0x04
};
APIRET16 OS2API16 VioGetMode(PVIOMODEINFO pvioModeInfo, HVIO hvio);
Oct 27, 2016
Oct 27, 2016
38
APIRET16 OS2API16 VioGetCurPos(PUSHORT pusRow, PUSHORT pusColumn, HVIO hvio);
Oct 27, 2016
Oct 27, 2016
39
40
41
42
43
44
45
46
#ifdef __cplusplus
}
#endif
#endif
// end of viocalls.h ...