Hello,
ME_EndToUnicode(unicode, wszText);
unicode ? ME_EndToUnicode(1200, wszText) : ME_EndToUnicode(CP_ACP, wszText);
Personally I dislike this stuff in C code. Especially when you could make it shorter:
ME_EndToUnicode(unicode ? 1200 : CP_ACP, wszText)
-- Ph.