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

Alex Henrie alexhenrie24 at gmail.com
Wed May 30 08:01:26 CDT 2018


On Tue, May 29, 2018 at 8:57 PM Dmitry Timoshkov <dmitry at baikal.ru> wrote:

> Alex Henrie <alexhenrie24 at gmail.com> wrote:

> > On Mon, May 28, 2018 at 1:55 PM Gijs Vermeulen <gijsvrm at gmail.com>
wrote:
> > > +    PWSTR                DependencyDeviceName;
> > > +    PWSTR                HostVolumeName;
> > > +    PWSTR                DependentVolumeName;
> > > +    PWSTR                DependentVolumeRelativePath;
> >
> > 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?

-Alex



More information about the wine-devel mailing list