BlockDev_Get_Version

include blockdev.inc

VXDcall BlockDev_Get_Version

mov dword ptr [version], eax ; block device version number

mov dword ptr [flags], ecx ; block device flags


The BlockDev_Get_Version service returns the version number, and flags for the virtual block device.

Parameters

This service has no parameters.

Return Value

The service returns values in the following registers:

Register Value

EAX Specifies the version number for the virtual block device.
ECX Specifies the flags for the virtual block device. Bit 0 must be set to 0 for compatibility with Windows 3.0. All other bits currently reserved and must be 0.

Uses

EAX, ECX