Francois Gouget wrote:
>
> For HDRAWDIB they use a typedef which is not how they do it for all
> the other handles. Anyway, if they do it this way it means I should
> probably leave it as is :-(
OK. I'll change that in my patches then. Thanks.
>
> I guess this is what happened. They forgot to split it to A/W when
> they switched to Win32. So after they had to keep it with for
> compatibility. But what type should they give it: LPCSTR or LPCWSTR. In
> fact their doc says it automatically detects which case they are in and
> call the proper A/W function. This is why they have put an LPVOID:
> because it can be either LPCSTR or LPCWSTR.
And I'll add a comment to that effect. Where did you get that doc from?
I can't find it on the ms website.
Thanks,
Bradley