On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTTarget-32 Programming Manual
RTTarget-32 Reference Manual
Introduction
RTTarget-32 Configuration
Screen I/O
Interrupt Handling
Port I/O
System Functions
Program Loading
Memory Mapping and Management
Real-Time Clock and CMOS RAM
Keyboard
Mouse and Touch Screen Driver
Parallel Port Printer
Serial Port I/O
PCI BIOS
Plug-and-Play BIOS
PC Cards (PCMCIA)
MetaWINDOW Initialization
Function RTMetaWInit
Function RTGetMetaWEvents
Run-Time System Support
System Management BIOS (SMBIOS)
Advanced Programmable Interrupt Controller (APIC)
Multiprocessor Management
Spinlocks
Advanced Configuration and Power Interface (ACPI) Tables
Extended RAM Management
RTVmf-32
RTRth-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Function RTMetaWInit
RTMetaWInit must be called once before the MetaWindow library can be called. The function's prototype is defined in Rtmetaw.H as follows:
int RTMetaWInit(unsigned long Flags);
ParametersFlagsMay have any combination of the following values:
Value |
Meaning |
RT_METAW_KEYSTOMETAW |
Keys-To-MetaWINDOW. It instructs RTTarget-32 to send all key events to MetaWINDOW's event queue. This is done by the keyboard interrupt handler and is therefore not recommended. The additional processing load for the keyboard interrupt handler is severe and can degrade the interrupt latency of the system significantly. A better approach is to call RTGetMetaWEvents in a loop whenever the program expects user input. |
RT_METAW_SHOW_INT10 |
This flag is supplied for debugging purposes. If set, all int 10h calls performed by MetaWINDOW are displayed if the program runs under the Debug Monitor. Use this flag if you encounter problems selecting a particular graphics mode or if you suspect that MetaWINDOW uses the BIOS for other graphics operations. |
RT_METAW_INIT_GRAPHICS |
This flag will map a linear frame buffer, call InitGraphics, and configure MetaWINDOW to use the linear frame buffer. When this flag is used (which is always recommended), RTMetaWInit will return the return code of MetaWINDOW's InitGraphics function. |
Function RTGetMetaWEvents
|