home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12osp1.exe
/
include
/
os2
/
vdos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-04-02
|
1KB
|
61 lines
/*static char *SCCSID = "@(#)vdos.h 6.2 92/01/28";*/
/*
* VDOS.H
* Copyright (c) 1992 IBM Corporation
*
*/
#pragma checkout( suspend )
#ifndef __CHKHDR__
#pragma checkout( suspend )
#endif
#pragma checkout( resume )
#ifndef __VDOS__
#define __VDOS__
#pragma pack(4)
/***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);
#endif /* __VDOS__ */
#pragma checkout( suspend )
#ifndef __CHKHDR__
#pragma checkout( resume )
#endif
#pragma checkout( resume )