/*******************************************************\
*	GSDLLDEM.H							Version 2.80.	*
*	For CompuScope boards and Microsoft Windows 3.x.	*
*	Copyright (c) 1993 Gage Applied Sciences Inc.		*
*	Last Update:							94/10/18.	*
\*******************************************************/

#include <windows.h>
#include <string.h>

#define IDS_ERR_REGISTER_CLASS	1
#define IDS_ERR_CREATE_WINDOW	2

char szString[128];   /* variable to load resource strings         */

char szAppName[20];   /* class name for the window               */
HINSTANCE hInst;
HWND hWndMain;
HACCEL hAccel;

void cwCenter(HWND, int);

LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK DIALOGAMsgProc(HWND, UINT, WPARAM, LPARAM);
int		nCwRegisterClasses(void);
void	CwUnRegisterClasses(void);
void	SetDefaultBoardLocation (uInt16 seg, uInt16 ind);
char	*BoardTypeSizeToText (unsigned short board_type, int32 max_memory);
int		InitBoard (HWND hWnd);
void	SetBoard (HWND hWnd);
void	AcquireStart (void);
void	AcquireCheck (HWND hWnd);
void	Abort (HWND hWnd);
void	Display (HWND hWnd);
void    InitMemPtrs (void);
