[PATCH 3/4] api-ms-win-core-winrt-string: Implement a few HSTRING functions.

Sebastian Lackner sebastian at fds-team.de
Sun Dec 7 14:13:42 CST 2014


On 07.12.2014 20:54, Martin Storsjö wrote:
>> * In the specfile use 'wstr' for arguments which are widechar
>> strings. This allows to print them with the +relay debug channel.
> 
> Ok - can this be used for strings that aren't null terminated as well
> (like the parameter to WindowsCreateString)?
>

No, for such strings you can keep using 'ptr'. Wine sets up an exception handler to catch invalid pointers or non-nullterminated strings, but the output will not really be useful in such a situation anyway.

Btw, if you're also going to implement stubs for combase (and my theory is right, that all the winrt related functions are exported from there), you could also move the api-ms-win-core-winrt implementation in a separate patch.

Regards,
Sebastian



More information about the wine-devel mailing list