DOCERR: Use a Thread ID for CALLBACK_THREAD in WaveInOpen

Last reviewed: May 10, 1996
Article ID: Q134336
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) for Windows NT, versions 3.1 and 3.5

Note: This docerr has been fixed in the Windows NT 4.0 beta docs.

The Microsoft Win32 Software Development Kit (SDK) Multimedia online Help documentation incorrectly states that a thread handle should be used for the dwCallback parameter of the WaveInOpen() function when its fdwOpen parameter is CALLBACK_THREAD. Instead, the dwCallback parameter should be a thread ID. The address of the thread ID is returned as the last parameter of the CreateThread()function, which is used when the thread is created.

This documentation error occurs in the following online Help files:

Microsoft Win32 SDK Multimedia online Help included on July 1995 Microsoft Developer Network compact disc; Search on "Advanced Audio Techniques," "Waveform Audio," and "Waveform Audio Reference," Topic: "WaveInOpen."

Microsoft Win32 SDK Multimedia Reference online Help file included in Microsoft Windows 95 online documentation; Search on "WaveInOpen CALLBACK," Topic: "WaveInOpen."


Additional reference words: 3.10 3.50
KBCategory: kbmm kbsound kbdocerr
KBSubcategory: MMWave


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 10, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.