home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Sample Code / DTS Sample Code / MyComponent ƒ / MyComponentRoutines.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-14  |  684 b   |  39 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        MyComponentRoutines.c
  3.     
  4.     Contains:    simple component sample.
  5.  
  6.     Written by:    John Wang
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.         <1>        03/14/94    JW        Re-Created for Universal Headers.
  13.  
  14.     To Do:
  15.     
  16. */
  17.  
  18. #ifdef THINK_C
  19. #define        applec
  20. #endif
  21.  
  22. #include    <Errors.h>
  23. #include    <Components.h>
  24.  
  25. #include    "MyComponent.h"
  26. #include    "MyComponentRoutines.h"
  27.  
  28. /* ------------------------------------------------------------------------- */
  29.  
  30. pascal ComponentResult MyProcedure(Handle storage)
  31. {
  32.     PrivateGlobals         **myPrivateGlobals = (PrivateGlobals **) storage;
  33.  
  34.     if (kDEBUGME)
  35.         DebugStr("\pIn MyProcedure1()");
  36.  
  37.     return(noErr);
  38. }
  39.