IVolume.h
资源名称:网络视频电话系统.rar [点击查看]
上传用户:oldpeter23
上传日期:2013-01-09
资源大小:1111k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- // IVolume.h : IVolume interface definition.
- // Developer : Alex Chmut
- // Created : 8/11/98
- #ifndef _IVOLUME_H_
- #define _IVOLUME_H_
- // User-defined callback for volume change notification
- typedef void (CALLBACK *PONMICVOULUMECHANGE)( DWORD dwCurrentVolume, DWORD dwUserValue );
- ////////////////////////////////////////////////////////////////////////
- // IVolume interface
- class __declspec(novtable) IVolume
- {
- public:
- virtual bool IsAvailable() = 0;
- virtual void Enable() = 0;
- virtual void Disable() = 0;
- virtual DWORD GetVolumeMetric() = 0;
- virtual DWORD GetMinimalVolume() = 0;
- virtual DWORD GetMaximalVolume() = 0;
- virtual DWORD GetCurrentVolume() = 0;
- virtual void SetCurrentVolume( DWORD dwValue ) = 0;
- virtual void RegisterNotificationSink( PONMICVOULUMECHANGE, DWORD ) = 0;
- };
- #endif