// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "stringcollection.h" ///////////////////////////////////////////////////////////////////////////// // CStringCollection properties long CStringCollection::GetCount() { long result; GetProperty(0x1, VT_I4, (void*)&result); return result; } LPDISPATCH CStringCollection::GetParent() { LPDISPATCH result; GetProperty(0x2, VT_DISPATCH, (void*)&result); return result; } ///////////////////////////////////////////////////////////////////////////// // CStringCollection operations void CStringCollection::Remove(long Index) { static BYTE parms[] = VTS_I4; InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Index); } void CStringCollection::Add(LPCTSTR String, const VARIANT& BeforeIndex) { static BYTE parms[] = VTS_BSTR VTS_VARIANT; InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, String, &BeforeIndex); } CString CStringCollection::GetItem(long Index) { CString result; static BYTE parms[] = VTS_I4; InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, Index); return result; } void CStringCollection::SetItem(long Index, LPCTSTR lpszNewValue) { static BYTE parms[] = VTS_I4 VTS_BSTR; InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, Index, lpszNewValue); }