Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабораторная работа 33 / Controller / part32
.cpp// Machine generated IDispatch wrapper class(es) created with ClassWizard
#include "stdafx.h"
#include "part32.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// IPart32 properties
/////////////////////////////////////////////////////////////////////////////
// IPart32 operations
void IPart32::showWnd()
{
InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
short IPart32::getCount(short nom)
{
short result;
static BYTE parms[] =
VTS_I2;
InvokeHelper(0x2, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
nom);
return result;
}
void IPart32::Triangle(short x, short y, short Base, short Height, short nom)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
x, y, Base, Height, nom);
}
void IPart32::Trapezium(short x, short y, short Base, short Height, short Cutof, short nom)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
x, y, Base, Height, Cutof, nom);
}
void IPart32::TextTrapezium(short x, short y, short Base, short Height, short Cutof, LPCTSTR text, short nom)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_BSTR VTS_I2;
InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
x, y, Base, Height, Cutof, text, nom);
}
void IPart32::text(short x, short y, LPCTSTR text, short nom)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_BSTR VTS_I2;
InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
x, y, text, nom);
}
void IPart32::DeleteElem(short index, short nom)
{
static BYTE parms[] =
VTS_I2 VTS_I2;
InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
index, nom);
}
void IPart32::SetUnion()
{
InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void IPart32::SetCross()
{
InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void IPart32::SetSub()
{
InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
Соседние файлы в папке Controller