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_Send_Command
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include blockdev.inc
 
mov     edi, OFFSET32 bdd       ; points to a BlockDev_Device_Descriptor
mov     esi, OFFSET32 bcb       ; points to first BlockDev_Command_Block
VXDcall BlockDev_Send_Command
 
The BlockDev_Send_Command service sends one or more commands to the
specified block device driver.
 
This service may be called at interrupt time.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
bdd        Points to a BlockDev_Device_Descriptor structure containing
           information about the block device to receive the commands.
 
bcb        Points to the first BlockDev_Command_Block structure in a
           null-terminated list of commands to send to the block device.
 
Return Value
 
This service has no return value.
 
Comments
 
The command status is returned to the callback procedure specified by the
BD_CB_Cmd_Cplt_Proc field in the BlockDev_Command_Block structure.
 
This service enables interrupts.
 
Uses
 
Flags
 
See Also
 
BlockDev_Command_Block, BlockDev_Device_Descriptor