Lines Matching refs:m_array
30 SAFEARRAY *m_array; member in SmartArray
33 SmartArray( sourceType * parParams, int count, VARTYPE destVartype): m_array(NULL) in SmartArray()
39 m_array= SafeArrayCreate( destVartype, 1, rgsabound); in SmartArray()
40 SafeArrayLock( m_array); in SmartArray()
43 if( m_array && (SUCCEEDED( SafeArrayAccessData( m_array, (void**)&pData)) ) ) in SmartArray()
137 SafeArrayDestroy( m_array); in SmartArray()
138 m_array= NULL; in SmartArray()
141 SafeArrayUnaccessData( m_array); in SmartArray()
144 SafeArrayUnlock( m_array); in ~SmartArray()
145 SafeArrayDestroy( m_array ); in ~SmartArray()
148 operator bool (){ return m_array == NULL ? false : true; }
150 operator SAFEARRAY* (){ return m_array;} in operator SAFEARRAY*()
157 SAFEARRAY *m_array; member in SmartArray
198 SafeArrayUnlock( m_array); in ~SmartArray()
199 SafeArrayDestroy( m_array ); in ~SmartArray()
202 operator bool (){ return m_array == NULL ? false : true; }
204 operator SAFEARRAY* (){ return m_array;} in operator SAFEARRAY*()
208 …Array <IUnknown*>::SmartArray(sourceType * parParams, int count, VARTYPE destVartype):m_array(NULL) in SmartArray()
215 m_array= SafeArrayCreateVector( VT_UNKNOWN, 0, count); in SmartArray()
216 SafeArrayLock( m_array); in SmartArray()
219 if( m_array && (SUCCEEDED( SafeArrayAccessData( m_array, (void**)&pData)) ) ) in SmartArray()
227 SafeArrayUnaccessData( m_array); in SmartArray()