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:

and my "audiopolicy.h" header file tells me this:

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


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.

链接地址: http://www.djcxy.com/p/76452.html

上一篇: 记录线程安全(Java +注释)

下一篇: 哪一个是错的? Msdn或Headerfile