home *** CD-ROM | disk | FTP | other *** search
- /*================================================*/
- /* TVKWRITE.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 "tvapi.h"
-
- /*================================================*/
- /* TVkbd_write write data to keyboard */
- /* Ralf Brown 4/22/88 */
- /*================================================*/
-
- void pascal TVkbd_write(OBJECT kbd,char *data,int size,int status)
- {
- PARMLIST3 p ;
-
- p.num_args = 3 ;
- p.arg[0] = (DWORD) (char far *) data ;
- p.arg[1] = (DWORD) size ;
- p.arg[2] = (DWORD) status ;
- TVsendmsg(WRITE_MSG, kbd?TOS:KEYME, kbd, (PARMLIST *)&p) ;
- }
-
- /* End of TVKWRITE.C */
-