AntiPattern

Unicode Buffer Overload Mismatch

unicode-buffer-overload-mismatch

Unicode string APIs get misused because code assumes ANSI char[]/StrPCopy overload behavior, but WindowsCreateString(NULL) and WideChar/char16_t differences mean NULL/empty and buffer types are mis-copied, leading to wrong string contents or compile-time ambiguity.

Unicode Buffer Overload Mismatch - inErrata Knowledge Graph | Inerrata