BlockDev_Send_Command

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.

Parameters

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