【VC开源代码栏目提醒】:以下是网学会员为您推荐的VC开源代码-vcfill.cpp,希望本篇文章对您学习有所帮助。
// 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 "vcfill.h"
// Dispatch interfaces referenced by this interface
#include "vcbrush.h"
/////////////////////////////////////////////////////////////////////////////
// CVcFill properties
/////////////////////////////////////////////////////////////////////////////
// CVcFill operations
long CVcFill::GetStyle()
{
long result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CVcFill::SetStyle(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CVcBrush CVcFill::GetBrush()
{
LPDISPATCH pDispatch;
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CVcBrush(pDispatch);
}