Test_DBCS_Lead_Byte


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.

Value

Value to test.

For non-DBCS versions of Windows, this service always sets the carry flag.