home *** CD-ROM | disk | FTP | other *** search
- //==========================================================================;
- //
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
- // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
- // PURPOSE.
- //
- // Copyright (c) 1992 - 1996 Microsoft Corporation. All Rights Reserved.
- //
- //--------------------------------------------------------------------------;
- //
- // icontrast.h
- //
-
- // A custom interface to allow the user to adjust the contrast level.
-
- #ifndef __ICONTRAST__
- #define __ICONTRAST__
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- //
- // IContrast's GUID
- //
- // {fd5010a2-8ebe-11ce-8183-00aa00577da1}
- DEFINE_GUID(IID_IContrast,
- 0xfd5010a2, 0x8ebe, 0x11ce, 0x81, 0x83, 0x00, 0xaa, 0x00, 0x57, 0x7d, 0xa1);
-
-
- //
- // IContrast
- //
- DECLARE_INTERFACE_(IContrast, IUnknown) {
-
- STDMETHOD(get_ContrastLevel) (THIS_
- signed char *ContrastLevel /* [out] */ // the current contrast level
- ) PURE;
-
- STDMETHOD(put_ContrastLevel) (THIS_
- signed char ContrastLevel, /* [in] */ // Change to this level of contrast
- unsigned long ChangeTime /* [in] */ // The length of time (from now)
- // to make this change over
- ) PURE;
-
- STDMETHOD(put_DefaultContrastLevel) (THIS) PURE;
-
- };
-
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif // __ICONTRAST__
-