home *** CD-ROM | disk | FTP | other *** search
- /***************************************************************************
- FILE: SQLPM.H
- Copyright (C) 1990, Microsoft Corp.
-
- PURPOSE: Defines values internal to the dblib test PM app.
-
- COMMENTS: This file contains all the constant declarations for
- the SQLPM PM application.
-
- ***************************************************************************/
-
- #define ID_RESOURCE 1 /* ID's PM Resources */
-
- #define ID_ABOUTSQLDLG 10
- #define ID_SELECTDLG 11
- #define ID_CONNECTDLG 12
-
- #define IDM_ABOUTSQL 100 /* ID for ABOUTSQL box */
- #define IDM_SELECT 200 /* ID for SELECT box */
- #define IDM_CONNECT 300 /* ID for CONNECTL box */
-
- #define AUTHORNAME 201 /* ID for authorname edit */
- /* control */
- #define SQL_SERVER 202 /* ID for server edit */
- /* control */
- #define MAX_ANAME 30 /* max length for author */
- #define MAX_SERVERNAME 31 /* max length for server */
- #define WM_DBRESULTS WM_USER /* results proc message */
-
-
- /* function prototypes */
- extern MRESULT EXPENTRY SqlPMWndProc(HWND,USHORT,MPARAM,MPARAM);
- extern SHORT CheckForScroll(HWND,LONG,LONG,LONG);
- extern void SqlPMProcessResults(HWND);
- extern MRESULT FAR PASCAL ConnectSQL(HWND, USHORT, MPARAM, MPARAM);
- extern MRESULT FAR PASCAL AboutSQL(HWND, USHORT, MPARAM, MPARAM);
- extern MRESULT FAR PASCAL SelectSQL(HWND, USHORT, MPARAM, MPARAM);
- extern void WinCls(HWND);
-