home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
mmpm21tk.zip
/
TK
/
H
/
DCB.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-15
|
2KB
|
55 lines
/****************************************************************************/
/* */
/* Module Name: DCB.H */
/* */
/* OS/2 2.0 Multimedia Extensions Sync/Stream Manager Device Control */
/* Block defintitions. */
/* */
/* Copyright (c) International Business Machines Corporation 1991, 1992 */
/* All Rights Reserved */
/* */
/****************************************************************************/
/* XLATOFF */
#pragma pack(1)
/* XLATON */
/***************************************************************************
*
* DCB - Common Device Control Block
* (*** PACKED STRUCTURE ***)
***************************************************************************/
typedef struct _DCB { /* dcb - Device Control Block */
ULONG ulDCBLen; /* length of structure */
SZ szDevName[MAX_SPI_NAME]; /* device driver name */
} DCB;
typedef DCB FAR *PDCB;
/***************************************************************************
*
* E_DCB - Extended Device Control Block
*
* This structure will grow over time as new fields are added
* to the end of the structure. If you manipulate the structure,
* be sure to check the length field.
*
* (*** PACKED STRUCTURE ***)
***************************************************************************/
typedef struct E_DCB { /* e_dcb - Extended Device Control Block */
ULONG ulDCBLen; /* length of structure */
SZ szDevName[MAX_SPI_NAME]; /* device driver name */
ULONG ulSysFileNum; /* file handle number */
/* new fields will be added here */
} E_DCB, DCB_AUDIOSH;
typedef E_DCB FAR *PE_DCB;
typedef E_DCB FAR *PDCB_AUDIOSH;
/* XLATOFF */
#pragma pack()
/* XLATON */