|
// 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 "selnodes.h"
// Dispatch interfaces referenced by this interface
#include "Node.h"
/////////////////////////////////////////////////////////////////////////////
// CSelNodes properties
long CSelNodes::GetCount()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CSelNodes::SetCount(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CSelNodes operations
void CSelNodes::Add(LPDISPATCH node)
{
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
node);
}
void CSelNodes::Clear()
{
InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSelNodes::Remove(LPDISPATCH node)
{
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
node);
}
CNode CSelNodes::Item(long Index)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
Index);
return CNode(pDispatch);
}
CNode CSelNodes::_NewEnum()
{
LPDISPATCH pDispatch;
InvokeHelper(0xfffffffc, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL);
return CNode(pDispatch);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Mike has been programming in C/C++ for 11 years and Visual C++/MFC for 4 years. His background includes pure and applied mathematics, engineering and physics, and he is currently based in Moscow, Russia.