/*DDK*************************************************************************/
/*                                                                           */
/* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
/*                                                                           */
/*    The following IBM OS/2 WARP source code is provided to you solely for  */
/*    the purpose of assisting you in your development of OS/2 WARP device   */
/*    drivers. You may use this code in accordance with the IBM License      */
/*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
/*    Copyright statement may not be removed.                                */
/*                                                                           */
/*****************************************************************************/
/*****************************************************************************
 *
 * SOURCE FILE NAME = TMPDATA.C
 *
 * AUTHOR           = Joe Celi
 *
 * DATE CREATED     = 6/2/94
 *
 *
 * VERSION = V2.1
 *
 * DATE
 *
 * DESCRIPTION
 *
 * FUNCTIONS
 *
 * NOTES
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
*/

#define INCL_WIN
#define INCL_GPI
#define INCL_DOS
#include <os2.h>
#include "next.h"
#include "endive.h"
#include "template.h"

BOOL            fInitialized = FALSE;
GID             gidTmp = 0;
FBINFO          FBInfo;
BOOL            fInterpolation = FALSE;        /* HW supports interpolation */
BOOL            fForceInterpolation = FALSE;   /* Force HW interpol ON/OFF  */
BOOL            fForcedIntState; ;             /* Interpol state set by app */
BOOL            fForeground = TRUE;
BOOL            fPlaying = FALSE;
PBYTE           pbVRAMVirt = NULL;
PBYTE           pbVRAMPhys = NULL;
BYTE            bRevNum = 0;
BYTE            bPelToDWORDShift;
PUTIMAGEINFO    PutInfo;
M2SINFO         M2S;
LONG            lExtraScans;

/*
** Array of functions to be called from HWEntry
*/
HWCMD aHWCmd[GHI_CMD_MAX] =
{
/* Function     Call level  Return code                              */
/* _________________________________________________________________ */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_INIT         */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_TERM         */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_QUERYCAPS    */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_QUERYMODES   */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_SETMODE      */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_PALETTE      */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_BITBLT       */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_LINE         */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_MOVEPTR      */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_SETPTR       */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_SHOWPTR      */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_VRAMALLOC    */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_HWREQUEST    */
  NULL,           DONTCARE, RC_UNSUPPORTED,  /* GHI_CMD_HWBANK       */
  HWExtend,       RING2,    DONTCARE,        /* GHI_CMD_EXTENSION    */
};
