-
Notifications
You must be signed in to change notification settings - Fork 0
/
ItunesEventHandler.h
executable file
·44 lines (30 loc) · 1.05 KB
/
ItunesEventHandler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#pragma once
#include "stdafx.h"
class AppView;
class iTunesEventHandler : public _IiTunesEvents /* public IUnknown, public IDispatch */
{
private:
long m_dwRefCount;
ITypeInfo* m_pITypeInfo ;
ULONG m_cRef;
AppView * main;
public:
iTunesEventHandler(AppView * m);
~iTunesEventHandler(void) { }
//
// Implements IUnknown
//
STDMETHODIMP QueryInterface(REFIID riid, void **ppvObject);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
//
// Implements IDispatch
//
STDMETHODIMP GetTypeInfoCount(UINT *pctinfo);
STDMETHODIMP GetTypeInfo(UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo);
STDMETHODIMP GetIDsOfNames(REFIID riid, LPOLESTR *rgszNames, UINT cNames,
LCID lcid, DISPID *rgDispId);
STDMETHODIMP Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,
DISPPARAMS *pDispParams, VARIANT *pVarResult,
EXCEPINFO *pExcepInfo, UINT *puArgErr);
};