My Project
D:/source/c++/Programme/sally/sally/sallyAPI/VolumeNotification.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "define.h"
00030 #include <ddraw.h>
00031 #include <strmif.h>
00032 #include <endpointvolume.h>
00033 
00034 namespace SallyAPI
00035 {
00036         namespace Sound
00037         {
00038                 namespace Volume
00039                 {
00048 
00049                         class DLL_API_SALLY CVolumeNotification
00050                                 : public IAudioEndpointVolumeCallback 
00051                         {
00052                         private:
00053                                 LONG    m_RefCount; 
00054                         public: 
00055                                 CVolumeNotification();
00056                                 ~CVolumeNotification();
00057 
00058                                 STDMETHODIMP_(ULONG)    AddRef();
00059                                 STDMETHODIMP_(ULONG)    Release();
00060                                 STDMETHODIMP QueryInterface(REFIID IID, void **ReturnValue);
00061                                 STDMETHODIMP OnNotify(PAUDIO_VOLUME_NOTIFICATION_DATA NotificationData);
00062                         };
00063                 }
00064         }
00065 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines