home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
hcshdemo.zip
/
csh-os2.zip
/
SAMPLES
/
VIOPASTE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-28
|
580b
|
20 lines
/* viopaste.c by Nico Mak, Mansfield Software Group
Paste is implemented in OS/2 version 1.20, but is not supported or
documented. To enable the "Paste" entry in the system menu of OS/2
command prompt windows, just add the keyword "Paste" to the "VioShield"
application entry in OS2.INI. The C language source code for a program
that does this follows.
*/
#define INCL_WIN
#include <os2.h>
void cdecl main( void )
{
HAB hab = WinInitialize(0);
WinWriteProfileString(hab, "VioShield", "Paste", "");
WinTerminate(hab);
DosExit(EXIT_PROCESS, 0);
}