/**************************************************************************
 *
 * SOURCE FILE NAME = TDIDINIT.C
 *
 * DESCRIPTIVE NAME = Touch initialisation data
 *
 * Copyright : COPYRIGHT IBM CORPORATION, 1991, 1992
 *             LICENSED MATERIAL - PROGRAM PROPERTY OF IBM
 *             REFER TO COPYRIGHT INSTRUCTION FORM#G120-2083
 *             RESTRICTED MATERIALS OF IBM
 *             IBM CONFIDENTIAL
 *
 * VERSION = V2.0
 *
 * DATE        07/30/91
 *
 * DESCRIPTION
 *
 *
 * FUNCTIONS
 *
 * ENTRY POINTS:
 *
 * DEPENDENCIES:
 *
 * NOTES
 *
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
 * CHANGE ACTIVITY =
 *  DATE      FLAG        APAR   CHANGE DESCRIPTION
 *  --------  ----------  -----  --------------------------------------
 *  mm/dd/yy  @Vr.mpppxx  xxxxx  xxxxxxx
 ****************************************************************************/

#define  INCL_OS2STD
#define  INCL_DOSSESMGR
#include <os2.h>
#include "toudefs.h"
#include "reqblk.h"
#include "toutypes.h"
#include "devhlp.h"

/*
** local global data in INIT_GROUP
*/

/* UCHAR NEAR  SqName[] = "SINGLEQ$"; */
UCHAR NEAR OurName[]    = "TOUCH$";
UCHAR NEAR SysMsgName[] = "OSO001.MSG";
UCHAR NEAR TdiMsgName[] = "TDI.MSG";

IDC NEAR dd_idc_temp = {0};           /* init to keep in init_group          */
UCHAR NEAR DD_Name[] = "        ";    /* filled in at init by 'TYPE='        */
USHORT NEAR ErrNum;

TOKENS Tokens[] =
{
  /* Token        Token           Num     Used */
  /* name         index           args    flag */

  "TYPE=",        TOK_TYPE,       1,      0,
  "SEL=",         TOK_SEL,        4,      0,
  "QSIZE=",       TOK_QSIZE,      1,      0,
  NULL,           0,              0,      0
} ;

/*
** data for DosSmRegisterDD() call
*/
REGISTERDATA NEAR SmData =
{
  sizeof(SmData),

#if OS_VER == 20
  /* 0x00f8, */
  SMREG_TERMINATE+SMREG_CREATE+SMREG_PRESWITCH+SMREG_POSTSWITCH,
#else
  0x000e,                             /* temp for os2-1.2 testing            */
#endif
  (PSZ)OurName
} ;

/*
** end
*/
