📄 enum_jprs1ctrl1.h
字号:
#pragma once
// 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.
/////////////////////////////////////////////////////////////////////////////
// CEnum_jprs1ctrl1 wrapper class
class CEnum_jprs1ctrl1 : public CWnd
{
protected:
DECLARE_DYNCREATE(CEnum_jprs1ctrl1)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x358C4D28, 0x24DF, 0x413B, { 0xB2, 0xFF, 0x6E, 0x3D, 0x52, 0xAA, 0x22, 0x8A } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{
return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID);
}
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd,
UINT nID, CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{
return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey);
}
// Attributes
public:
// Operations
public:
// _Denum_jprs1
// Functions
//
void AboutBox()
{
InvokeHelper(DISPID_ABOUTBOX, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
short SetDNS(LPCTSTR DNS)
{
short result;
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x6, DISPATCH_METHOD, VT_I2, (void*)&result, parms, DNS);
return result;
}
short SetAUS(LPCTSTR Aus)
{
short result;
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x7, DISPATCH_METHOD, VT_I2, (void*)&result, parms, Aus);
return result;
}
short ENUMQuery(LPCTSTR service)
{
short result;
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x8, DISPATCH_METHOD, VT_I2, (void*)&result, parms, service);
return result;
}
short ENUMGetData(short GetNo)
{
short result;
static BYTE parms[] = VTS_I2 ;
InvokeHelper(0x9, DISPATCH_METHOD, VT_I2, (void*)&result, parms, GetNo);
return result;
}
void SetPhoneNo(LPCTSTR CountryCode, LPCTSTR PhoneNo, LPCTSTR TrunkPrefix)
{
static BYTE parms[] = VTS_BSTR VTS_BSTR VTS_BSTR ;
InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms, CountryCode, PhoneNo, TrunkPrefix);
}
// Properties
//
CString GetENUMTLD()
{
CString result;
GetProperty(0x1, VT_BSTR, (void*)&result);
return result;
}
void SetENUMTLD(CString propVal)
{
SetProperty(0x1, VT_BSTR, propVal);
}
unsigned char GetLogFlg()
{
unsigned char result;
GetProperty(0x2, VT_UI1, (void*)&result);
return result;
}
void SetLogFlg(unsigned char propVal)
{
SetProperty(0x2, VT_UI1, propVal);
}
CString GetLogFilePath()
{
CString result;
GetProperty(0x3, VT_BSTR, (void*)&result);
return result;
}
void SetLogFilePath(CString propVal)
{
SetProperty(0x3, VT_BSTR, propVal);
}
CString GetDomain()
{
CString result;
GetProperty(0x4, VT_BSTR, (void*)&result);
return result;
}
void SetDomain(CString propVal)
{
SetProperty(0x4, VT_BSTR, propVal);
}
long GetQueryStatus()
{
long result;
GetProperty(0x5, VT_I4, (void*)&result);
return result;
}
void SetQueryStatus(long propVal)
{
SetProperty(0x5, VT_I4, propVal);
}
CString GetAus()
{
CString result;
GetProperty(0xa, VT_BSTR, (void*)&result);
return result;
}
void SetAus(CString propVal)
{
SetProperty(0xa, VT_BSTR, propVal);
}
short GetDataCount()
{
short result;
GetProperty(0xb, VT_I2, (void*)&result);
return result;
}
void SetDataCount(short propVal)
{
SetProperty(0xb, VT_I2, propVal);
}
unsigned short Getorder()
{
unsigned short result;
GetProperty(0xd, VT_UI2, (void*)&result);
return result;
}
void Setorder(unsigned short propVal)
{
SetProperty(0xd, VT_UI2, propVal);
}
unsigned short Getpreference()
{
unsigned short result;
GetProperty(0xe, VT_UI2, (void*)&result);
return result;
}
void Setpreference(unsigned short propVal)
{
SetProperty(0xe, VT_UI2, propVal);
}
CString Getflags()
{
CString result;
GetProperty(0xf, VT_BSTR, (void*)&result);
return result;
}
void Setflags(CString propVal)
{
SetProperty(0xf, VT_BSTR, propVal);
}
CString Getservice()
{
CString result;
GetProperty(0x10, VT_BSTR, (void*)&result);
return result;
}
void Setservice(CString propVal)
{
SetProperty(0x10, VT_BSTR, propVal);
}
CString GetURI()
{
CString result;
GetProperty(0x11, VT_BSTR, (void*)&result);
return result;
}
void SetURI(CString propVal)
{
SetProperty(0x11, VT_BSTR, propVal);
}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -