home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
desqview
/
dvglue10.arc
/
TVMALLOW.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-10
|
2KB
|
41 lines
/*=======================================================*/
/* TVMALLOW.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, so long */
/* as this copyright notice remains intact, and any */
/* changes are marked in the comment blocks preceding */
/* functions. */
/*=======================================================*/
#include "tvapi.h"
#include "tvstream.h"
/*=======================================================*/
/* TVwin_allow allow specific DESQview user commands */
/* Ralf Brown 4/3/88 */
/*=======================================================*/
void pascal TVwin_allow(OBJECT win,int command)
{
static BYTE allow_stream[] = { S_MANAGER(1), 0 } ;
allow_stream[4] = command | MS_ALLOW ;
TVwin_stream(win,allow_stream) ;
}
/*=======================================================*/
/* TVwin_disallow disallow specific DESQview user cmds */
/* Ralf Brown 4/3/88 */
/*=======================================================*/
void pascal TVwin_disallow(OBJECT win,int command)
{
static BYTE disallow_stream[] = { S_MANAGER(1), 0 } ;
disallow_stream[4] = command | MS_DISALLOW ;
TVwin_stream(win,disallow_stream) ;
}
/* End of TVMALLOW.C */