Lines Matching refs:m_pInterface
43 m_pInterface = NULL; in ComPtr()
51 m_pInterface = pInterface; in ComPtr()
52 if (m_pInterface) in ComPtr()
53 m_pInterface->AddRef(); in ComPtr()
61 m_pInterface = aCopy.m_pInterface; in ComPtr()
62 if (m_pInterface) in ComPtr()
63 m_pInterface->AddRef(); in ComPtr()
72 pIUnknown->QueryInterface(P_IID, (void**)&m_pInterface); in ComPtr()
88 return CoCreateInstance(P_CLSID, NULL, CLSCTX_ALL, P_IID, (void**)&m_pInterface); in create()
94 return m_pInterface; in operator T_INTERFACE*()
100 return *m_pInterface; in operator *()
106 return &m_pInterface; in operator &()
112 return m_pInterface; in operator ->()
119 return m_pInterface; in operator =()
121 m_pInterface->Release(); in operator =()
122 m_pInterface = pInterface; in operator =()
123 if (m_pInterface) in operator =()
124 m_pInterface->AddRef(); in operator =()
126 return m_pInterface; in operator =()
133 pIUnknown->QueryInterface(P_IID, (void**)&m_pInterface); in operator =()
134 return m_pInterface; in operator =()
140 m_pInterface = aCopy.m_pInterface; in operator =()
141 if (m_pInterface) in operator =()
142 m_pInterface->AddRef(); in operator =()
144 return m_pInterface; in operator =()
150 return m_pInterface; in get()
158 m_pInterface->Release(); in attach()
159 m_pInterface = pInterface; in attach()
166 T_INTERFACE* pInterface = m_pInterface; in detach()
167 m_pInterface = NULL; in detach()
174 if (m_pInterface) in release()
176 m_pInterface->Release(); in release()
177 m_pInterface = NULL; in release()
186 return m_pInterface->QueryInterface(__uuidof(T_QUERYINTERFACE), (void**)pQuery); in query()
194 ( ! m_pInterface ) && in equals()
200 m_pInterface->QueryInterface(IID_IUnknown, (void**)&pCurrent); in equals()
211 return (m_pInterface != 0); in is()
215 T_INTERFACE* m_pInterface; member in ComPtr