⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqltestn.h

📁 本代码展示了使用DB_LIB库对SQL SERVER的连接和各种操作的实例。
💻 H
字号:
/***********************************************************************
Copyright (c) 2000, Microsoft Corporation
All Rights Reserved.
***********************************************************************/
/***************************************************************************
	FILE: SQLTESTN.H
	      
	PURPOSE: Defines values internal to the dblib test windows app.

	COMMENTS: This file contains all the constant declarations for
		the sqltestn windows application.

***************************************************************************/

#define ID_ABOUTSQL 	100			/* ID for ABOUTSQL 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	IDM_CONNECT	400			/* menu id for connect	   */
#define	IDM_SELECT	401			/* menu id for select	   */
#define WM_DBRESULTS	WM_USER			/* results proc message	   */

/* declare all functions for application here		   */

int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
BOOL SqlTestInit(HANDLE);
BOOL SqlTestProcessResults(HWND);
LONG APIENTRY SqlTestWndProc(HWND, UINT, DWORD, LONG);
LONG APIENTRY AboutSQL(HWND, UINT, DWORD, LONG);
LONG APIENTRY SelectSQL(HWND, UINT, DWORD, LONG);
LONG APIENTRY ConnectSQL(HWND, UINT, DWORD, LONG);
int API dbwinErrorHandler(DBPROCESS *, int, int, int, CHAR *, CHAR *);
int API dbwinMessageHandler(DBPROCESS *, DBINT, INT, INT, CHAR *);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -