home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / sql / dblib / c / sqltestn / sqltestn.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-03  |  1.4 KB  |  34 lines

  1. /***************************************************************************
  2.     FILE: SQLTESTW.H
  3.           Copyright (C) 1995, 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 sqltestc 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(HINSTANCE, HINSTANCE, LPSTR, int);
  26. BOOL SqlTestInit(HANDLE);
  27. BOOL SqlTestProcessResults(HWND);
  28. LONG APIENTRY SqlTestWndProc(HWND, UINT, DWORD, LONG);
  29. LONG APIENTRY AboutSQL(HWND, UINT, DWORD, LONG);
  30. LONG APIENTRY SelectSQL(HWND, UINT, DWORD, LONG);
  31. LONG APIENTRY ConnectSQL(HWND, UINT, DWORD, LONG);
  32. int API dbwinErrorHandler(DBPROCESS *, int, int, int, CHAR *, CHAR *);
  33. int API dbwinMessageHandler(DBPROCESS *, DBINT, INT, INT, CHAR *);
  34.