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

  1. /***************************************************************************
  2.     FILE: SQLPM.H
  3.          Copyright (C) 1990, Microsoft Corp.
  4.  
  5.     PURPOSE: Defines values internal to the dblib test PM app.
  6.  
  7.     COMMENTS: This file contains all the constant declarations for
  8.           the SQLPM PM application.
  9.  
  10. ***************************************************************************/
  11.  
  12. #define ID_RESOURCE    1            /* ID's PM Resources       */
  13.  
  14. #define ID_ABOUTSQLDLG    10
  15. #define ID_SELECTDLG    11
  16. #define ID_CONNECTDLG    12
  17.  
  18. #define IDM_ABOUTSQL     100            /* ID for ABOUTSQL box     */
  19. #define IDM_SELECT    200                     /* ID for SELECT box       */
  20. #define IDM_CONNECT    300                     /* ID for CONNECTL box     */
  21.  
  22. #define AUTHORNAME    201            /* ID for authorname edit  */
  23.                         /* control           */
  24. #define SQL_SERVER    202            /* ID for server edit      */
  25.                         /* control           */
  26. #define MAX_ANAME    30            /* max length for author   */
  27. #define MAX_SERVERNAME    31            /* max length for server   */
  28. #define WM_DBRESULTS    WM_USER            /* results proc message       */
  29.  
  30.  
  31. /* function prototypes */
  32. extern MRESULT EXPENTRY SqlPMWndProc(HWND,USHORT,MPARAM,MPARAM);
  33. extern SHORT CheckForScroll(HWND,LONG,LONG,LONG);
  34. extern void SqlPMProcessResults(HWND);
  35. extern MRESULT FAR PASCAL ConnectSQL(HWND, USHORT, MPARAM, MPARAM);
  36. extern MRESULT FAR PASCAL AboutSQL(HWND, USHORT, MPARAM, MPARAM);
  37. extern MRESULT FAR PASCAL SelectSQL(HWND, USHORT, MPARAM, MPARAM);
  38. extern void WinCls(HWND);
  39.  
  40.