Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
BlockDev_Get_Device_List
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include blockdev.inc
 
VXDcall BlockDev_Get_Device_List
 
mov     dword ptr [bdd], edi    ; points to first BlockDev_Device_Descriptor
 
The BlockDev_Get_Device_List service returns a pointer to the first
BlockDev_Device_Descriptor structure in the list of such structures
maintained by the virtual device.
 
This service has no entry parameters.
 
Return Value
 
The EDI register points to the first BlockDev_Device_Descriptor structure in
the block device list. The register is 0 if no list exists.
 
Comments
 
Other virtual devices typically call this service to retrieve the
information they need to send commands to the block device. The other
virtual devices send commands to the block device using the
BlockDev_Send_Command service.
 
Uses
 
ECX
 
See Also
 
BlockDev_Send_Command, BlockDev_Device_Descriptor