include vmm.inc
mov eax, Value ; value to test
VMMCall Test_DBCS_Lead_Byte
jc not_valid ; carry flag set if not legal DBCS lead byte
Determines whether the given value is in the legal range for a DBCS lead byte. Uses Flags.
For non-DBCS versions of Windows, this service always sets the carry flag.