home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / inc / dcb.inc < prev    next >
Text File  |  1999-04-30  |  3KB  |  58 lines

  1. ;***************************************************************************  
  2. ;                                                                             
  3. ;  Module Name: DCB.H                                                         
  4. ;                                                                             
  5. ;  OS/2 2.0 Multimedia Extensions Sync/Stream Manager Device Control          
  6. ;  Block defintitions.                                                        
  7. ;                                                                             
  8. ;  Copyright (c) International Business Machines Corporation 1991, 1992       
  9. ;                         All Rights Reserved                                 
  10. ;                                                                             
  11. ;***************************************************************************  
  12. ;***************************************************************************
  13. ;*
  14. ;* DCB - Common Device Control Block
  15. ;*               (*** PACKED STRUCTURE ***)
  16. ;**************************************************************************  
  17.  
  18. DCB    STRUC
  19. dcb_ulDCBLen    DD    ?                ;  length of structure                   
  20. dcb_szDevName    DB    MAX_SPI_NAME DUP (?) ;  device driver name                    
  21. DCB    ENDS
  22. ;***************************************************************************
  23. ;*
  24. ;* E_DCB - Extended Device Control Block
  25. ;*
  26. ;*         This structure will grow over time as new fields are added
  27. ;*         to the end of the structure.  If you manipulate the structure,
  28. ;*         be sure to check the length field.
  29. ;*
  30. ;*               (*** PACKED STRUCTURE ***)
  31. ;**************************************************************************  
  32.  
  33. E_DCB    STRUC
  34. e_dcb_ulDCBLen    DD    ?                ;  length of structure                   
  35. e_dcb_szDevName    DB    MAX_SPI_NAME DUP (?) ;  device driver name                    
  36. e_dcb_ulSysFileNum    DD    ?            ;  file handle number                    
  37.    ;     new fields will be added here                                       
  38. E_DCB    ENDS
  39. ;***************************************************************************
  40. ;*
  41. ;* VSD_DCB - VSD Device Control Block
  42. ;*
  43. ;*         This structure will allow stream handlers to use the VSD DLL
  44. ;*         by using by the additional fields in the structure.
  45. ;*
  46. ;*               (*** PACKED STRUCTURE ***)
  47. ;**************************************************************************  
  48.  
  49. VSD_DCB    STRUC
  50. vsd_dcb_ulDCBLen    DD    ?                ;  length of structure                   
  51. vsd_dcb_szDevName    DB    MAX_SPI_NAME DUP (?) ;  device driver name                    
  52. vsd_dcb_ulSysFileNum    DD    ?            ;  file handle number                    
  53. vsd_dcb_hvsd    DD    ?                    ;  Handle to VSD instance                
  54. vsd_dcb_pfnvsdEntryPoint    DD    ?        ;  Address of VSD entry point            
  55. vsd_dcb_ulReserved1    DD    ?             ;  Reserved for system                   
  56. vsd_dcb_ulReserved2    DD    ?             ;  Reserved for system                   
  57. VSD_DCB    ENDS
  58.