include vmm.inc mov eax, Value ; value to test VMMcall Test_DBCS_Lead_Byte jc not_valid ; carry flag set if value not legal DBCS lead byte |
The Test_DBCS_Lead_Byte service tests whether the given value is in the legal range for a DBCS lead byte.
Value
Specifies the value to test.
The carry flag is clear if the specified value is in the legal range for DBCS lead bytes. Otherwise, the carry flag is set.
For non-DBCS versions of Windows, this service always sets the carry flag.
Flags