/*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.                                */
/*                                                                           */
/*****************************************************************************/
/*static char *SCCSID = "src/prntdd/pscript/inc/prdgtypt.h, postscript, osdd, 13.355 90/08/21";*/
/**********************************************************************/
/*								      */
/*   File	     = PRDGTYPT 				      */
/*								      */
/*   Description     = Printer Device Driver General types	      */
/*								      */
/*   Function	     =						      */
/*								      */
/*   Reference	     = Winthorn Functional Specification	      */
/*		       Device Driver Interface Specification	      */
/*		       Printer Device Driver Design Specification     */
/*								      */
/*								      */
/**********************************************************************/

/**********************************************************************/
/* segment information blocks for DosGetInfoSeg 		      */
/**********************************************************************/
typedef struct
    {
	ULONG	 ElapsedTime;
	ULONG	 Milliseconds;
	BYTE	 Hours;
	BYTE	 Minutes;
	BYTE	 Seconds;
	BYTE	 HundredthsOfSeconds;
	SHORT	  TimeZone;
	SHORT	  TimerInterval;
	BYTE	 Day;
	BYTE	 Month;
	SHORT	  Year;
	BYTE	 DayOfWeek;
	BYTE	 MajorVersionNumber;
	BYTE	 MinorVersionNumber;
	BYTE	 CurrentForegroundScreenGroup;
	BYTE	 MaximumNumberOfScreenGroups;
	BYTE	 HugeSegmentsShiftCount;
	BYTE	 ProtectedModeOnlyIndicator;
	SHORT	  CurrentForegroundProcessID;
	BYTE	 DynamicVariationFlag;
	BYTE	 MaxWaitSeconds;
	SHORT	  MinimumTimeSliceMilliseconds;
	SHORT	  MaximumTimeSliceMilliseconds;
	BYTE	 SystemTraceMajorCodeFlagBits[32];
	SHORT	  BootDrive;
    } GlobalInfoSegData;
typedef GlobalInfoSegData far *GlobalInfoSeg;

typedef struct
    {
	SHORT	  CurrentProcessID;
	SHORT	  ParentProcessID;
	SHORT	  CurrentThreadPriority;
	SHORT	  CurrentThreadID;
	SHORT	  ScreenGroup;
	SHORT	  SubscreenGroup;
	SHORT	  CurrentProcessIsInForeground;
    } LocalInfoSegData;
typedef LocalInfoSegData far *LocalInfoSeg;
