/* 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);
}
Hamilton C shell |
Free Updates |
Free Demo Software |
Win32 Training
Y2K |
Customer Testimonials |
On-line Hamilton C shell User Guide
Home |
Email |
Support |
Company Profile |
Distributors |
Links
Copyright © 1997-2001 by Hamilton Laboratories.
All rights reserved.
You are visitor number
335.
This page was last modified August 9, 2001.