◄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 ♦