home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / igargle.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-25  |  1.7 KB  |  73 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. // igargle.h
  13. //
  14.  
  15. // A custom interface to allow the user to adjust the gargling rate.
  16. // This interface is exported by the code in gargle.cpp and is used
  17. // by the code in gargprop.cpp
  18.  
  19. #ifndef __IGARGLE__
  20. #define __IGARGLE__
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26.  
  27. //
  28. // IGargle's GUID
  29. //
  30. // {d616f352-d622-11ce-aac5-0020af0b99a3}
  31. DEFINE_GUID(IID_IGargle,
  32. 0xd616f352, 0xd622, 0x11ce, 0xaa, 0xc5, 0x00, 0x20, 0xaf, 0x0b, 0x99, 0xa3);
  33.  
  34.  
  35. //
  36. // IGargle
  37. //
  38. DECLARE_INTERFACE_(IGargle, IUnknown) {
  39.  
  40.     // Compare these with the functions in class CGargle in gargle.h
  41.     STDMETHOD(get_GargleRate)
  42.         ( THIS_
  43.           int *GargleRate  // [out] the current gargle level
  44.         ) PURE;
  45.  
  46.     STDMETHOD(put_GargleRate)
  47.         ( THIS_
  48.           int GargleRate   // [in] Change to the level of gargle
  49.         ) PURE;
  50.  
  51.     STDMETHOD(put_DefaultGargleRate)
  52.         ( THIS
  53.         ) PURE;
  54.  
  55.     STDMETHOD(put_GargleShape)
  56.         ( THIS_
  57.           int GargleShape // [in] 0=triangle wave, 1 = square wave
  58.         ) PURE;
  59.  
  60.     STDMETHOD(get_GargleShape)
  61.         ( THIS_
  62.           int *GargleShape  // [out] the current shape, 0=triangle, 1=square
  63.         ) PURE;
  64.  
  65. };
  66.  
  67.  
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71.  
  72. #endif // __IGARGLE__
  73.