0x80은 DBCS를 알수 있게 해주는 Mask입니다.
char character;
WORD chDBCS;
if (character & 0x80) {
// DBCS
    if ( ( chDBCS = (character << 8) ) > 0xCAA0) {
         // Hanja character
    }
        // Hangeul character
} else {
// SBCS
    if (character < 0x41) {
         // Symbol..
         if (character < 0x20) {
             // System Char
         } else if (character >= '0' && character <='9') {
             // Numeric characters..
         } else {
             // Symbol
         }
    } else if (character >= 0x5B && character <= 0x60) {
         // Symbol 2..
    } else if (character > 0x7A) {
         // Symbol 3..
    } else {
         // Alphabet.
    }
}