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.
Test_DBCS_Lead_Byte
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     eax, Value          ; value to test
VMMcall Test_DBCS_Lead_Byte
 
jc      not_valid           ; carry set if value not legal DBCS lead byte
 
The Test_DBCS_Lead_Byte tests whether the given value is in the legal range
for a DBCS lead byte.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Value      Specifies the value to test.
 
Return Value
 
The carry flag is clear if the specified value is in the legal range for
DBCS lead bytes. Otherwise, the carry flag is set.
 
Comments
 
For non-DBCS versions of Windows, this service always sets the carry flag.
 
Uses
 
Flags
 
                                      ♦