/********************************************************************
*  DrvWindows.h
*
*  Copyright (c) 1995-1997, Willows Software Inc.  All rights reserved.  
********************************************************************/
#ifndef DrvWindows__h
#define DrvWindows__h

#include <Windows.h>
#include <Events.h>

/* Used to close top window from quit menu */
int CloseFrontWindow(void);
void ShowAboutWindow(void);

Boolean DoActivate(WindowPtr win, Boolean activate, EventRecord *event);

typedef struct tagPRIVATEWINDOWSTRUCT 
{
	long magic;
	HWND hWnd;
	BOOL bIsGrowable, bHasNCFrame, bBackStore, bTransparent;
	Rect NCFrameRect;					/* This is additional "frame" added to the window */
	Rect boundsRect;
	PixMapHandle backStorePixmap;
	DWORD dwStyle;
} PRIVATEWINDOWSTRUCT;
typedef PRIVATEWINDOWSTRUCT *LPPRIVATEWINDOWSTRUCT;


#define WIN_MAGIC	0xABCDEF01			/* A "magic" number we place in our PWS to help identify our window from a console window */

#endif		/* DrvWindows__h */
