include vdmad.inc
VxDcall VDMAD_Get_Version
mov MajorVersion, ah
mov MinorVersion, al
mov BufferSize, ecx
Returns the major and minor version numbers of the virtual DMA device as well as the size of the buffer if one exists. Uses EAX, ECX, flags
AH | Major version number |
AL | Minor version number |
ECX | Buffer size in bytes. |
A buffer is not available until the Init_Complete message is issued. If the buffer has not been allocated, ECX will contain zero when the service returns.