subcalls.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
VioPrtScToggle (1.2)
◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_VIO
USHORT VioPrtScToggle(hvio)
HVIO hvio; /* video handle */
The VioPrtScToggle function enables or disables the printer echo feature.
This function is reserved for system use. It is called whenever the
CTRL+PRTSC key combination is pressed. The first press enables the printer
echo feature, the second disables it. A process can replace VioPrtScToggle,
however, with a custom function by using the VioRegister function. If a
process does replace the VioPrtScToggle function, all processes in the
screen group will also use the replacement function. This gives a process
the capability of capturing input from the CTRL+PRTSC key combination.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hvio Identifies an advanced video-input-and-output (AVIO) presentation
space. For AVIO programs, this handle must have been created
previously using the VioCreatePS function. For other programs,
hvio must be NULL.
Return Value
The return value is zero if the function is successful. Otherwise, it is an
error value, which may be one of the following:
ERROR_VIO_INVALID_HANDLE
ERROR_VIO_SMG_ONLY
See Also
VioCreatePS, VioPrtSc, VioRegister
♦