You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
2.9 KiB
C++
133 lines
2.9 KiB
C++
// 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 "point.h"
|
|
|
|
// Dispatch interfaces referenced by this interface
|
|
#include "callback.h"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPoint1 properties
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPoint1 operations
|
|
|
|
double CPoint1::GetX()
|
|
{
|
|
double result;
|
|
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPoint1::SetX(double newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R8;
|
|
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
double CPoint1::GetY()
|
|
{
|
|
double result;
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPoint1::SetY(double newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R8;
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
double CPoint1::GetZ()
|
|
{
|
|
double result;
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPoint1::SetZ(double newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R8;
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
long CPoint1::GetLastErrorCode()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
CString CPoint1::GetErrorMsg(long ErrorCode)
|
|
{
|
|
CString result;
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
|
|
ErrorCode);
|
|
return result;
|
|
}
|
|
|
|
CCallback CPoint1::GetGlobalCallback()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
|
|
return CCallback(pDispatch);
|
|
}
|
|
|
|
void CPoint1::SetGlobalCallback(LPDISPATCH newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_DISPATCH;
|
|
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
CString CPoint1::GetKey()
|
|
{
|
|
CString result;
|
|
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPoint1::SetKey(LPCTSTR lpszNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_BSTR;
|
|
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
lpszNewValue);
|
|
}
|
|
|
|
double CPoint1::GetM()
|
|
{
|
|
double result;
|
|
InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPoint1::SetM(double newValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_R8;
|
|
InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
newValue);
|
|
}
|
|
|
|
CPoint1 CPoint1::Clone()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
InvokeHelper(0x9, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL);
|
|
return CPoint1(pDispatch);
|
|
}
|