home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_07 / 9n07034a < prev    next >
Text File  |  1991-05-10  |  454b  |  22 lines

  1.  
  2. /* Copyright 1987 by Apple Computer, Inc. */ 
  3.  
  4. /* sendcardmessage.glue.c */
  5.  
  6. #include "HyperXCmd.h"
  7.  
  8. /* Send a HyperCard message (a command with arguments)
  9.    to the current card.
  10.    Msg is a pointer to a Pascal-format string.
  11. */
  12.  
  13. pascal void
  14. SendCardMessage(paramPtr, msg)
  15. register XCmdBlockPtr    paramPtr;
  16. StringPtr    msg;
  17. {
  18.   paramPtr->inArgs[0] = (long)msg;
  19.   paramPtr->request = xreqSendCardMessage;
  20.   (*paramPtr->entryPoint)();
  21. }
  22.