home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Tools / Preditor 2.0 / Preditor Folder / PCMD Source / MPW / Beep.c next >
Encoding:
C/C++ Source or Header  |  1991-06-02  |  605 b   |  34 lines  |  [TEXT/TCEd]

  1. /************************************************************
  2.  
  3.     Beep.c
  4.     Last Modified: Friday, May 31, 1991 at 9:46 PM
  5.     
  6.     Beep once
  7.  
  8.     © Copyright Evatac Software  1988-1990
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13. #include "OSUtils.h"
  14. #include "PCMD.h"
  15.  
  16. main(
  17.     unsigned char        *sourceText,
  18.     long                sourceLength,
  19.     unsigned char        *destText,
  20.     long                *destSpace,
  21.     PCMDInfo            *info
  22.     )
  23. {
  24. #pragma unused(sourceText)
  25. #pragma unused(sourceLength)
  26. #pragma unused(destText)
  27. #pragma unused(destSpace)
  28. #pragma unused(info)
  29.  
  30.     SysBeep(2);
  31.     
  32.     return(kPCMDStop);
  33. }
  34.