[PATCH 1/3] include: Add virtdisk.h.

Dmitry Timoshkov dmitry at baikal.ru
Wed May 30 21:19:03 CDT 2018


Alex Henrie <alexhenrie24 at gmail.com> wrote:

> > > WCHAR * is generally preferred over PWSTR.
> 
> > In the public headers it's strongly advised to follow the PSDK types,
> > otherwise compiling with Wine headers may either lead to unpredictable
> > debug information in PE builds or warnings in C++.
> 
> Why would the compiler warn about using versus not using a typedef? Can you
> provide a minimal C++ program that would trigger such a warning?

Probably not in this particular case, but it's still stands that following
the PSDK types should be the best way of defining things in a public header.

-- 
Dmitry.



More information about the wine-devel mailing list