Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the specified code units form a UTF-16 surrogate pair.
Syntax
void IS_SURROGATE_PAIR(
hs,
ls
);
Parameters
hs
UTF-16 code unit to test for a high surrogate value. The range for a high UTF-16 code unit is 0xd800 to 0xdbff, inclusive.
ls
UTF-16 code unit to test for a low surrogate value. The range for a low UTF-16 code unit is 0xdc00 to 0xdfff, inclusive.
Return value
None
Remarks
For this macro to succeed, the hs value must be a high UTF-16 code unit, and the ls value must be a low UTF-16 code unit.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winnls.h (include Windows.h) |