On Tue, May 29, 2018 at 8:57 PM Dmitry Timoshkov dmitry@baikal.ru wrote:
Alex Henrie alexhenrie24@gmail.com wrote:
On Mon, May 28, 2018 at 1:55 PM Gijs Vermeulen gijsvrm@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