📄 agstkxapplication.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 "agstkxapplication.h"
// Dispatch interfaces referenced by this interface
#include "agexeccmdresult.h"
/////////////////////////////////////////////////////////////////////////////
// CAgSTKXApplication properties
/////////////////////////////////////////////////////////////////////////////
// CAgSTKXApplication operations
CAgExecCmdResult CAgSTKXApplication::ExecuteCommand(LPCTSTR Command)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
Command);
return CAgExecCmdResult(pDispatch);
}
BOOL CAgSTKXApplication::GetEnableConnect()
{
BOOL result;
InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CAgSTKXApplication::SetEnableConnect(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
short CAgSTKXApplication::GetConnectPort()
{
short result;
InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
return result;
}
void CAgSTKXApplication::SetConnectPort(short nNewValue)
{
static BYTE parms[] =
VTS_I2;
InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CString CAgSTKXApplication::GetHostID()
{
CString result;
InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CAgSTKXApplication::GetRegistrationID()
{
CString result;
InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CAgSTKXApplication::GetVersion()
{
CString result;
InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CAgSTKXApplication::GetLicensingReport()
{
CString result;
InvokeHelper(0xf, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
return result;
}
void CAgSTKXApplication::SetVendorID(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}
CString CAgSTKXApplication::GetVendorID()
{
CString result;
InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -