September 02, 2023
https://issues.dlang.org/show_bug.cgi?id=24132

          Issue ID: 24132
           Summary: ImportC: Add support for wchar_t
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Keywords: ImportC, rejects-valid
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: bugzilla@digitalmars.com
          Reporter: flyboynw@gmail.com

Currently ImportC handles wchar_t as a ushort, which works but is painful to use in D code that expects wchar* instead of ushort* for string pointers (example: the return value of toUTF16z).

--