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.
- //
- //--------------------------------------------------------------------------;
- //
- // igargle.h
- //
-
- // A custom interface to allow the user to adjust the gargling rate.
- // This interface is exported by the code in gargle.cpp and is used
- // by the code in gargprop.cpp
-
- #ifndef __IGARGLE__
- #define __IGARGLE__
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- //
- // IGargle's GUID
- //
- // {d616f352-d622-11ce-aac5-0020af0b99a3}
- DEFINE_GUID(IID_IGargle,
- 0xd616f352, 0xd622, 0x11ce, 0xaa, 0xc5, 0x00, 0x20, 0xaf, 0x0b, 0x99, 0xa3);
-
-
- //
- // IGargle
- //
- DECLARE_INTERFACE_(IGargle, IUnknown) {
-
- // Compare these with the functions in class CGargle in gargle.h
- STDMETHOD(get_GargleRate)
- ( THIS_
- int *GargleRate // [out] the current gargle level
- ) PURE;
-
- STDMETHOD(put_GargleRate)
- ( THIS_
- int GargleRate // [in] Change to the level of gargle
- ) PURE;
-
- STDMETHOD(put_DefaultGargleRate)
- ( THIS
- ) PURE;
-
- STDMETHOD(put_GargleShape)
- ( THIS_
- int GargleShape // [in] 0=triangle wave, 1 = square wave
- ) PURE;
-
- STDMETHOD(get_GargleShape)
- ( THIS_
- int *GargleShape // [out] the current shape, 0=triangle, 1=square
- ) PURE;
-
- };
-
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif // __IGARGLE__
-