Microsoft KB Archive/302422

= The API &quot;DirectSoundCreate&quot; Function Stops Responding with a Non-NULL lpGuid Parameter =

Article ID: 302422

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Windows CE 3.0 for the Handheld PC Professional Edition

-



This article was previously published under Q302422



SYMPTOMS
The DirectSound application programming interface (API) DirectSoundCreate function may stop responding (hang) if you specify a sound card device with the lpGuid parameter and there is more than one sound device in the system.

If the lpGuid parameter is NULL, the default sound card device is used, and the DirectSoundCreate function works properly.



CAUSE
This problem can occur if the lookup routine that the DirectSoundCreate function uses to match the lpGuid parameter becomes stuck in an infinite loop.



RESOLUTION
A supported fix is now available from Microsoft as Windows CE 3.0 Core OS QFE 40. To resolve this problem immediately, search for the keyword &quot;QFE&quot; on the following Microsoft Web site:

http://www.microsoft.com/downloads/

The English version of this package should have the following file attributes or later:   Size         File name -  473,432      Wce30qfe40 The English version of this fix should contain the following files, with the listed file attributes or later:   Date        Time       Size      File name     Platform ---  04/13/2001   11:28pm   559,918   Dsounds.lib   i486 (debug) 04/13/2001  11:28pm    77,824   Dsounds.pdb   i486 (debug)

04/11/2001  08:45am   274,212   Dsounds.lib   i486 (retail) 04/11/2001  08:45am   102,400   Dsounds.pdb   i486 (retail)



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: Direct Sound DMX

Keywords: kbbug kbfix kbqfe kbenv kbprogramming KB302422

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.