#include #include int isleadbyte(char *mbstr) { return IsDBCSLeadByteEx(0,*c); }