home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / isynth.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-26  |  3.2 KB  |  113 lines

  1. //==========================================================================;
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // isynth.h
  13. //
  14. // A custom interface to allow the user to adjust the frequency
  15.  
  16. #ifndef __ISYNTH__
  17. #define __ISYNTH__
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23.  
  24. //
  25. // ISynth's GUID
  26. //
  27. // {FFC08882-CDAC-11ce-8A03-00AA006ECB65}
  28. DEFINE_GUID(IID_ISynth,
  29. 0xffc08882, 0xcdac, 0x11ce, 0x8a, 0x3, 0x0, 0xaa, 0x0, 0x6e, 0xcb, 0x65);
  30.  
  31.  
  32. //
  33. // ISynth
  34. //
  35. DECLARE_INTERFACE_(ISynth, IUnknown) {
  36.  
  37.     STDMETHOD(get_Frequency) (THIS_
  38.                 int *Frequency          /* [out] */    // the current frequency
  39.              ) PURE;
  40.  
  41.     STDMETHOD(put_Frequency) (THIS_
  42.                 int    Frequency        /* [in] */    // Change to this frequency
  43.              ) PURE;
  44.  
  45.     STDMETHOD(get_Waveform) (THIS_
  46.                 int *Waveform           /* [out] */    // the current Waveform
  47.              ) PURE;
  48.  
  49.     STDMETHOD(put_Waveform) (THIS_
  50.                 int    Waveform         /* [in] */    // Change to this Waveform
  51.              ) PURE;
  52.  
  53.     STDMETHOD(get_Channels) (THIS_
  54.                 int *Channels           /* [out] */    // the current Channels
  55.              ) PURE;
  56.  
  57.     STDMETHOD(put_Channels) (THIS_
  58.                 int    Channels         /* [in] */    // Change to this Channels
  59.              ) PURE;
  60.  
  61.     STDMETHOD(get_BitsPerSample) (THIS_
  62.                 int *BitsPerSample      /* [out] */    // the current BitsPerSample
  63.              ) PURE;
  64.  
  65.     STDMETHOD(put_BitsPerSample) (THIS_
  66.                 int    BitsPerSample    /* [in] */    // Change to this BitsPerSample
  67.              ) PURE;
  68.  
  69.     STDMETHOD(get_SamplesPerSec) (THIS_
  70.                  int *SamplesPerSec     /* [out] */    // the current SamplesPerSec
  71.              ) PURE;
  72.  
  73.     STDMETHOD(put_SamplesPerSec) (THIS_
  74.                   int    SamplesPerSec  /* [in] */    // Change to this SamplesPerSec
  75.              ) PURE;
  76.  
  77.     STDMETHOD(get_Amplitude) (THIS_
  78.                   int *Amplitude        /* [out] */    // the current Amplitude
  79.              ) PURE;
  80.  
  81.     STDMETHOD(put_Amplitude) (THIS_
  82.                   int    Amplitude      /* [in] */    // Change to this Amplitude
  83.               ) PURE;
  84.  
  85.     STDMETHOD(get_SweepRange) (THIS_
  86.                   int *SweepStart,      /* [out] */
  87.                   int *SweepEnd         /* [out] */
  88.              ) PURE;
  89.  
  90.     STDMETHOD(put_SweepRange) (THIS_
  91.                   int    SweepStart,    /* [in] */
  92.                   int    SweepEnd       /* [in] */
  93.              ) PURE;
  94.  
  95.     STDMETHOD(put_PropertyPagehWnd) (THIS_
  96.                   HWND   hWnd           /* [in] */
  97.              ) PURE;
  98.  
  99.     STDMETHOD(get_FilterIsStopped) (THIS_
  100.                   BOOL *fStopped        /* [out] */
  101.              ) PURE;
  102.  
  103. };
  104.  
  105.  
  106. #ifdef __cplusplus
  107. }
  108. #endif
  109.  
  110. #endif // __ISYNTH__
  111.  
  112.  
  113.