/*
 * BCDEMO.H
 *
 * Definitions, structures, types, and function prototypes.
 *
 * Copyright (c)1992-1994 Microsoft Corporation, All Right Reserved
 */


#include <book1632.h>


/*
 * Resource identifiers
 */

//Menus & menu commands
#define IDR_MENU                            1
#define IDM_NORMALCURSOR                    100


//Bitmaps
#define IDB_BUTTONS72                       2
#define IDB_BUTTONS96                       3
#define IDB_BUTTONS120                      4


/*
 * Application-defined types.
 */

//Application-wide Variables
typedef struct
    {
    HINSTANCE       hInst;              //WinMain parameters
    HINSTANCE       hInstPrev;
    LPSTR           pszCmdLine;
    int             nCmdShow;

    HWND            hWnd;               //Main window handle

    TOOLDISPLAYDATA tdd;
    UINT            idrBmp;
    } APPVARS, *PAPPVARS;

#define CBAPPVARS sizeof(APPVARS)




/*
 * Function prototypes.
 */

//INIT.C
PAPPVARS     PASCAL AppPAllocate(PINT, HINSTANCE, HINSTANCE
                , LPSTR, int);
PAPPVARS     PASCAL AppPFree(PAPPVARS);


//BCTEST.C
LONG         WINAPI BCDemoWndProc(HWND, UINT, WPARAM, LONG);
