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.
- //
- //--------------------------------------------------------------------------;
- //
- // GargProp.h
- //
- // This file is entirely concerned with the implementation of the
- // properties page.
-
-
-
- class CGargleProperties : public CBasePropertyPage
- {
-
- public:
-
- static CUnknown *CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
-
- HRESULT OnConnect(IUnknown * punk);
- HRESULT OnDisconnect(void);
-
- HRESULT OnDeactivate(void);
-
- CGargleProperties(LPUNKNOWN lpunk, HRESULT *phr);
-
- private:
-
- BOOL OnReceiveMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
-
- HWND CreateSlider(HWND hwndParent);
- void OnSliderNotification(WPARAM wParam);
-
- HWND m_hwndSlider; // handle of slider
-
-
- IGargle *m_pGargle; // pointer to the IGargle interface of the
- // gargle filter. Set by OnConnect.
-
- int m_iGargleRate; // Remember gargle Rate between
- // Deactivate / Activate calls.
- int m_iGargleShape; // 0 = triangle (default), 1 = square wave.
-
- };
-