BlockDev_Get_Device_List

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.

Parameters

This service has no 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