2バイト文字の1バイト目かどうかを判断する
Declare Function IsDBCSLeadByte Lib "kernel32.dll" _
(ByVal TestChar As Byte) As Long
Declare Function IsDBCSLeadByte Lib "kernel32.dll" _
(ByVal TestChar As Byte) As Integer
BOOL IsDBCSLeadByte(
BYTE TestChar
);
引数
TestChar
調べる文字(バイト)戻り値
2バイト文字の1バイト目のとき 0以外備考
そうでないとき 0
この関数は正しく判定されない。IsDBCSLeadByte()関数を使用すること