| 744 | } |
| 745 | |
| 746 | HRESULT dialog_array::session_notifications::QueryInterface(REFIID riid, void **ppvInterface) |
| 747 | { |
| 748 | if(IID_IUnknown == riid) |
| 749 | { |
| 750 | this->AddRef(); |
| 751 | *ppvInterface = (IUnknown*)this; |
| 752 | } |
| 753 | else if(__uuidof(IAudioSessionNotification) == riid) |
| 754 | { |
| 755 | this->AddRef(); |
| 756 | *ppvInterface = (IAudioSessionNotification*)this; |
| 757 | } |
| 758 | else |
| 759 | { |
| 760 | *ppvInterface = NULL; |
| 761 | return E_NOINTERFACE; |
| 762 | } |
| 763 | |
| 764 | return S_OK; |
| 765 | } |
| 766 | |
| 767 | ULONG dialog_array::session_notifications::AddRef() |
| 768 | { |
no test coverage detected