home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / daotable / tabledef.h < prev   
Text File  |  1998-03-26  |  998b  |  23 lines

  1. // TABLEDEF.H
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. BOOL IsExistentTable(CDaoDatabase *pDatabase, CString strTableName);
  14. BOOL createNewTableDef(CDaoDatabase * pDatabase,
  15.                                     CDaoTableDef **ppTableDef,
  16.                                     CString strTableName);
  17. BOOL appendTableDef(CDaoDatabase *pDatabase, CDaoTableDef *pTableDef);
  18. BOOL openTableDef(CDaoDatabase * pDatabase, CDaoTableDef **ppTableDef,
  19.                   CString strTableName);
  20. BOOL getTableInfo(CDaoDatabase *pDatabase, CDaoTableDefInfo *pTableInfo,
  21.                   int tableIndex, BOOL bReportErrors = TRUE);
  22. void deleteTable(CDaoDatabase *pDatabase, CString strTableName);
  23.