home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
desqview
/
dvglue10.arc
/
TVBNAME.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-10
|
1KB
|
31 lines
/*================================================*/
/* TVBNAME.C */
/* */
/* (c) Copyright 1988 Ralf Brown */
/* All Rights Reserved */
/* May be freely copied for noncommercial use, */
/* provided that this copyright notice remains */
/* intact and any changes are indicated in the */
/* comment blocks preceding functions */
/*================================================*/
#include <string.h>
#include "tvapi.h"
/*================================================*/
/* TVmbx_name give mailbox object a global name */
/* Ralf Brown 5/6/88 */
/*================================================*/
void pascal TVmbx_name(OBJECT mbx,char *name)
{
PARMLIST2 p ;
p.num_args = 2 ;
p.arg[0] = (DWORD) (char far *) name ;
p.arg[1] = (DWORD) strlen(name) ;
TVsendmsg(SETNAME_MSG, mbx?TOS:MAILME, mbx, (PARMLIST *)&p) ;
}
/* End of TVBNAME.C */