#if !defined (__VDRIVER__)
#define __VDRIVER__

/*
 * Copyright 1986, 1989, 1990 by Abacus Research and Development, Inc.
 * All rights reserved.
 *
 * $Id: VDriver.h 63 2004-12-24 18:19:43Z ctm $
 */

#include "FileMgr.h"

typedef struct PACKED
{
  COMMONFSQUEUEDEFS;
  INTEGER ioRefNum;
  INTEGER csCode;
  Ptr csParam		PACKED_P;
} VDParamBlock;

typedef VDParamBlock *VDParamBlockPtr;


typedef struct PACKED
{
  Ptr csTable		PACKED_P;
  INTEGER csStart;
  INTEGER csCount;
} VDEntryRecord;

typedef VDEntryRecord *VDEntRecPtr;


typedef struct PACKED
{
  Ptr csGTable	PACKED_P;
} VDGammaRecord;

typedef VDGammaRecord *VDGamRecPtr;


typedef struct PACKED
{
  INTEGER csMode;
  LONGINT csData;
  INTEGER csPage;
  Ptr csBaseAddr	PACKED_P;
} VDPgInfo;

typedef VDPgInfo *VDPgInfoPtr;


typedef struct PACKED
{
  SignedByte flag;
} VDFlagRec;

typedef VDFlagRec *VDFlagPtr;


typedef struct PACKED
{
  SignedByte spID;
} VDDefModeRec;

typedef VDDefModeRec *VDDefModePtr;


#endif /* !__VDRIVER__ */
