home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a025 / 11.ddi / SQLTEST3.H@ / SQLTEST3.bin
Encoding:
Text File  |  1992-09-15  |  1.5 KB  |  35 lines

  1. /***************************************************************************
  2.     FILE: SQLTESTW.H
  3.          Copyright (C) 1988-1990, Microsoft Corp.
  4.  
  5.     PURPOSE: Defines values internal to the dblib test windows app.
  6.  
  7.     COMMENTS: This file contains all the constant declarations for
  8.           the sqltestw windows application.
  9.  
  10. ***************************************************************************/
  11.  
  12. #define ID_ABOUTSQL     100            /* ID for ABOUTSQL box     */
  13. #define AUTHORNAME    201            /* ID for authorname edit  */
  14.                         /* control           */
  15. #define SQL_SERVER    202            /* ID for server edit      */
  16.                         /* control           */
  17. #define MAX_ANAME    30            /* max length for author   */
  18. #define MAX_SERVERNAME    31            /* max length for server   */
  19. #define    IDM_CONNECT    400            /* menu id for connect       */
  20. #define    IDM_SELECT    401            /* menu id for select       */
  21. #define WM_DBRESULTS    WM_USER            /* results proc message       */
  22.  
  23.          /* declare all functions for application here           */
  24.  
  25. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  26. BOOL SqlTestInit(HANDLE);
  27. long FAR PASCAL SqlTestWndProc(HWND, unsigned, WORD, LONG);
  28. BOOL FAR PASCAL AboutSQL(HWND, unsigned, WORD, LONG);
  29. BOOL FAR PASCAL SelectSQL(HWND, unsigned, WORD, LONG);
  30. BOOL FAR PASCAL ConnectSQL(HWND, unsigned, WORD, LONG);
  31. BOOL SqlTestProcessResults(HWND);
  32. int dbwinErrorHandler(DBPROCESS *, int, int, int, LPSTR, LPSTR);
  33. int dbwinMessageHandler(DBPROCESS *, DBINT, DBSMALLINT, DBSMALLINT, LPSTR);
  34. int CheckForScroll(HWND, int, int, int);
  35.