RDC.CPP
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:12k
源码类别:
Windows编程
开发平台:
Visual 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 "rdc.h"
- // Dispatch interfaces referenced by this interface
- #include "rdoReslt.h"
- /////////////////////////////////////////////////////////////////////////////
- // CRdc
- IMPLEMENT_DYNCREATE(CRdc, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CRdc properties
- /////////////////////////////////////////////////////////////////////////////
- // CRdc operations
- CString CRdc::GetDataSourceName()
- {
- CString result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetDataSourceName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CRdc::GetSql()
- {
- CString result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetSql(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CRdc::GetLoginTimeout()
- {
- long result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetLoginTimeout(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CRdc::GetVersion()
- {
- CString result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString CRdc::GetConnect()
- {
- CString result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetConnect(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CRdc::GetQueryTimeout()
- {
- long result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetQueryTimeout(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetRowsetSize()
- {
- long result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetRowsetSize(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetResultsetType()
- {
- long result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetResultsetType(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetMaxRows()
- {
- long result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetMaxRows(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CRdc::GetLogMessages()
- {
- CString result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetLogMessages(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CRdc::GetKeysetSize()
- {
- long result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetKeysetSize(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CRdc::GetEditMode()
- {
- short result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetEditMode(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CRdc::GetEnabled()
- {
- BOOL result;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetEnabled(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CrdoResultset CRdc::GetResultset()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CrdoResultset(pDispatch);
- }
- void CRdc::SetRefResultset(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL CRdc::GetReadOnly()
- {
- BOOL result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetReadOnly(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- short CRdc::GetOptions()
- {
- short result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetOptions(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CRdc::GetUserName_()
- {
- CString result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetUserName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CRdc::GetPassword()
- {
- CString result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetPassword(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CRdc::GetCursorDriver()
- {
- long result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetCursorDriver(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH CRdc::GetFont()
- {
- LPDISPATCH result;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetRefFont(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH CRdc::GetConnection()
- {
- LPDISPATCH result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetRefConnection(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x13, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CRdc::GetEOFAction()
- {
- long result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetEOFAction(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetBOFAction()
- {
- long result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetBOFAction(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetErrorThreshold()
- {
- long result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetErrorThreshold(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetLockType()
- {
- long result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetLockType(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetPrompt()
- {
- long result;
- InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetPrompt(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CRdc::GetAppearance()
- {
- long result;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetAppearance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH CRdc::GetEnvironment()
- {
- LPDISPATCH result;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetRefEnvironment(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x1b, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString CRdc::GetCaption()
- {
- CString result;
- InvokeHelper(DISPID_CAPTION, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetCaption(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(DISPID_CAPTION, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- unsigned long CRdc::GetBackColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetBackColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CRdc::GetForeColor()
- {
- unsigned long result;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetForeColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CRdc::GetBatchCollisionCount()
- {
- long result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT CRdc::GetBatchCollisionRows()
- {
- VARIANT result;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long CRdc::GetBatchSize()
- {
- long result;
- InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetBatchSize(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CRdc::GetUpdateOperation()
- {
- short result;
- InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetUpdateOperation(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CRdc::GetUpdateCriteria()
- {
- short result;
- InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CRdc::SetUpdateCriteria(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CRdc::UpdateControls()
- {
- InvokeHelper(0x23, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CRdc::UpdateRow()
- {
- InvokeHelper(0x24, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CRdc::BeginTrans()
- {
- InvokeHelper(0x25, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CRdc::CommitTrans()
- {
- InvokeHelper(0x26, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CRdc::RollbackTrans()
- {
- InvokeHelper(0x27, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CRdc::Cancel()
- {
- InvokeHelper(0x28, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CRdc::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }