home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
INC
/
DCB.INC
< prev
next >
Wrap
Text File
|
1995-11-16
|
3KB
|
58 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
;
;***************************************************************************
;***************************************************************************
;*
;* DCB - Common Device Control Block
;* (*** PACKED STRUCTURE ***)
;**************************************************************************
DCB STRUC
dcb_ulDCBLen DD ? ; length of structure
dcb_szDevName DB MAX_SPI_NAME DUP (?) ; device driver name
DCB ENDS
;***************************************************************************
;*
;* 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 ***)
;**************************************************************************
E_DCB STRUC
e_dcb_ulDCBLen DD ? ; length of structure
e_dcb_szDevName DB MAX_SPI_NAME DUP (?) ; device driver name
e_dcb_ulSysFileNum DD ? ; file handle number
; new fields will be added here
E_DCB ENDS
;***************************************************************************
;*
;* VSD_DCB - VSD Device Control Block
;*
;* This structure will allow stream handlers to use the VSD DLL
;* by using by the additional fields in the structure.
;*
;* (*** PACKED STRUCTURE ***)
;**************************************************************************
VSD_DCB STRUC
vsd_dcb_ulDCBLen DD ? ; length of structure
vsd_dcb_szDevName DB MAX_SPI_NAME DUP (?) ; device driver name
vsd_dcb_ulSysFileNum DD ? ; file handle number
vsd_dcb_hvsd DD ? ; Handle to VSD instance
vsd_dcb_pfnvsdEntryPoint DD ? ; Address of VSD entry point
vsd_dcb_ulReserved1 DD ? ; Reserved for system
vsd_dcb_ulReserved2 DD ? ; Reserved for system
VSD_DCB ENDS