Skip to content

No ToUnicodeEx wrapper #2707

@serpentally

Description

@serpentally

There seems to be no wrapper for the ToUnicodeEx function of the Win32 API. You would expect either win32api.ToUnicodeEx or win32api.ToUnicode, in analogy with win32api.MapVirtualKey (which uses MapVirtualKeyW/MapVirtualKeyExW) — but there is no ToUnicode nor ToUnicodeEx function. There is, however, a ToAsciiEx function.

ToUnicodeEx (Microsoft Learn)

P.S. The docs link to a dead page — MapVirtualKeyEx (https://mhammond.github.io/pywin32/win32api__MapVirtualKeyEx_meth.html) — which should instead be MapVirtualKey (https://mhammond.github.io/pywin32/win32api__MapVirtualKey_meth.html), as of now you can only access it by manually typing it in (unfortunately, that didn't work with ToUnicode or ToUnicodeEx)

Otherwise, there have been no issues with the Win32 Keyboard and Mouse Input wrappers so far, other than some functions returning Unknown type. Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions