home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / mdibind / rdoreslt.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  3KB  |  89 lines

  1. #ifndef __RDORESLT_H__
  2. #define __RDORESLT_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. class CrdoColumns;
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CrdoResultset wrapper class
  15.  
  16. class CrdoResultset : public COleDispatchDriver
  17. {
  18. public:
  19.     CrdoResultset() {}      // Calls COleDispatchDriver default constructor
  20.     CrdoResultset(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  21.     CrdoResultset(const CrdoResultset& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  22.  
  23. // Attributes
  24. public:
  25.  
  26. // Operations
  27. public:
  28.     VARIANT GetBookmark();
  29.     void SetBookmark(const VARIANT& newValue);
  30.     CrdoColumns GetRdoColumns();
  31.     BOOL GetBof();
  32.     BOOL GetBookmarkable();
  33.     BOOL GetEof();
  34.     BOOL GetLockEdits();
  35.     CString GetName();
  36.     void SetName(LPCTSTR lpszNewValue);
  37.     BOOL GetTransactions();
  38.     long GetType();
  39.     long GetRowCount();
  40.     BOOL GetUpdatable();
  41.     BOOL GetRestartable();
  42.     long GetEditMode();
  43.     float GetPercentPosition();
  44.     void SetPercentPosition(float newValue);
  45.     long GetHStmt();
  46.     long GetAbsolutePosition();
  47.     void SetAbsolutePosition(long nNewValue);
  48.     BOOL GetStillExecuting();
  49.     VARIANT GetLastModified();
  50.     long GetBatchSize();
  51.     void SetBatchSize(long nNewValue);
  52.     short GetUpdateOperation();
  53.     void SetUpdateOperation(short nNewValue);
  54.     short GetUpdateCriteria();
  55.     void SetUpdateCriteria(short nNewValue);
  56.     void AddNew();
  57.     void Close();
  58.     void Delete();
  59.     void Edit();
  60.     void MoveFirst();
  61.     void MoveLast(const VARIANT& Options);
  62.     void MoveNext();
  63.     void MovePrevious();
  64.     void Update();
  65.     void Requery(const VARIANT& Options);
  66.     void Move(long Rows, const VARIANT& Start);
  67.     BOOL MoreResults();
  68.     void Cancel();
  69.     void CancelUpdate();
  70.     VARIANT GetRows(const VARIANT& NumRows);
  71.     void BatchUpdate(const VARIANT& SingleRow, const VARIANT& Force);
  72.     void CancelBatch(const VARIANT& SingleRow);
  73.     LPDISPATCH GetActiveConnection();
  74.     void SetRefActiveConnection(LPDISPATCH newValue);
  75.     long GetBatchCollisionCount();
  76.     VARIANT GetBatchCollisionRows();
  77.     long GetLockType();
  78.     void SetLockType(long nNewValue);
  79.     long GetStatus();
  80.     void SetStatus(long nNewValue);
  81.     CString GetClipString(long NumRows, const VARIANT& ColumnDelimiter, const VARIANT& RowDelimiter, const VARIANT& NullExpr);
  82.     void Resync();
  83. };
  84.  
  85. //{{AFX_INSERT_LOCATION}}
  86. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  87.  
  88. #endif // __RDORESLT_H__
  89.