home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / icontrst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-19  |  1.4 KB  |  58 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. // icontrast.h
  13. //
  14.  
  15. // A custom interface to allow the user to adjust the contrast level.
  16.  
  17. #ifndef __ICONTRAST__
  18. #define __ICONTRAST__
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. //
  26. // IContrast's GUID
  27. //
  28. // {fd5010a2-8ebe-11ce-8183-00aa00577da1}
  29. DEFINE_GUID(IID_IContrast,
  30. 0xfd5010a2, 0x8ebe, 0x11ce, 0x81, 0x83, 0x00, 0xaa, 0x00, 0x57, 0x7d, 0xa1);
  31.  
  32.  
  33. //
  34. // IContrast
  35. //
  36. DECLARE_INTERFACE_(IContrast, IUnknown) {
  37.  
  38.     STDMETHOD(get_ContrastLevel) (THIS_
  39.                       signed char *ContrastLevel    /* [out] */    // the current contrast level
  40.                  ) PURE;
  41.  
  42.     STDMETHOD(put_ContrastLevel) (THIS_
  43.                       signed char    ContrastLevel,    /* [in] */    // Change to this level of contrast
  44.                   unsigned long    ChangeTime    /* [in]    */    // The length of time (from now)
  45.                                       // to make this change over
  46.                  ) PURE;
  47.  
  48.     STDMETHOD(put_DefaultContrastLevel) (THIS) PURE;
  49.  
  50. };
  51.  
  52.  
  53. #ifdef __cplusplus
  54. }
  55. #endif
  56.  
  57. #endif // __ICONTRAST__
  58.