https://bugs.winehq.org/show_bug.cgi?id=56801
--- Comment #4 from BugSeeker rikul@inbox.ru --- (In reply to Nikolay Sivov from comment #3)
Those numbers indicate resource id, in case you have multiple libraries. Maybe QueryPathOfRegTypeLib() should strip those.
Yes, this may solve the problem, but on Windows the behavior is slightly different. In Windows, the registry itself already has a path without an identifier for the guid {944DE083-8FB8-45CF-BCB7-C477ACB2F897}, which is determined using LoadTypeLibEx => GetLibAttr => guid (see attached source code of example), and there are also other guids where identifiers already exist. set in values.
I believe that in order not to break anything else, it is worth implementing similarly to Windows and having one default guid that will store the path without any identifiers.