https://bugs.winehq.org/show_bug.cgi?id=52441
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Bernhard Übelacker from comment #5)
The missing CRYPT_STRING_HEX is also tracked in #48487 and maybe #50990.
The patches submitted in #48487 by Aaro Altonen unfortunately got not committed, but can still be applied, and compile and tests succeed, if the strchrW is replaced by wcschr.
https://source.winehq.org/patches/data/182107 https://source.winehq.org/patches/data/182108
Do note, that those patches and bug 48487 are about CryptStringToBinary, while this one is about CryptBinaryToString.