// 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 "vcbrush.h" // Dispatch interfaces referenced by this interface #include "vccolor.h" ///////////////////////////////////////////////////////////////////////////// // CVcBrush properties ///////////////////////////////////////////////////////////////////////////// // CVcBrush operations long CVcBrush::GetStyle() { long result; InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CVcBrush::SetStyle(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } CVcColor CVcBrush::GetFillColor() { LPDISPATCH pDispatch; InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcColor(pDispatch); } CVcColor CVcBrush::GetPatternColor() { LPDISPATCH pDispatch; InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcColor(pDispatch); } long CVcBrush::GetIndex() { long result; InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CVcBrush::SetIndex(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); }