Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which one is wrong? Msdn or Headerfile

I am currently porting the IAudioVolumeDuckNotification to C#. But there is one problem with the declaration of the OnVolumeUnduckNotification method. Msdn tells me this: enter image description here

and my "audiopolicy.h" header file tells me this: enter image description here

As you can see, in the msdn-version there is a second parameter. I am quite confused. Which one is the right one? Which one should I use and where can I report that mistake?

As requested the link to the msdn page: http://msdn.microsoft.com/en-us/library/windows/desktop/dd371012(v=vs.85).aspx

like image 855
Florian Avatar asked Dec 25 '13 21:12

Florian


1 Answers

The SDK is always right, that's what you compile with.

MSDN tends to suffer from cut & paste bugs. Hard to get fixed, the Windows group at Microsoft doesn't take feedback. A liability of having a billion customers.

like image 123
Hans Passant Avatar answered Sep 28 '22 21:09

Hans Passant