home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddkx86v2.zip
/
DDKX86
/
DBCSDD
/
H
/
VDOS.H
< prev
next >
Wrap
Text File
|
1995-04-14
|
2KB
|
52 lines
/*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 = "@(#)vdos.h 6.1 90/11/16";*/
/*
* SCCSID = @(#)vdos.h 13.5 89/05/11
*/
/***ET+ Low memory defines - used by VBIOS */
#define DCA_START 0x501 // DOS communication area start
#define DCA_LEN 0x1FF // " " " length
#define DOSVEC_FIRST 0x20 // DOS-reserved vectors
#define DOSVEC_LAST 0x3F // initialized to -> IRET by VBIOS
/*end*/
/***ET+ DOSDDEOL - End of DOS DD List Tag
*/
#define DOSDDEOL ((VPDOSDDTYPE) -1L)
/*end*/
/***ET+ DOSDDTYPE - DOS DD Header
*
* This structure defines a DOS DD Header
*/
typedef struct _dosddtype {
struct _dosddtype FARV86 *ddd_vpdosddtype;
USHORT ddd_usAttribute;
USHORT ddd_pfnStrategy;
USHORT ddd_pfnInterrupt;
CHAR ddd_achName[8];
} DOSDDTYPE;
typedef DOSDDTYPE *PDOSDDTYPE;
typedef DOSDDTYPE FARV86 *VPDOSDDTYPE;
/*end*/
/* PROCEDURES */
BOOL VDHENTRY VDHSetDosDevice(VPDOSDDTYPE);