The API "DirectSoundCreate" Function Stops Responding with a Non-NULL lpGuid Parameter (302422)



The information in this article applies to:

  • Microsoft Windows CE 3.0 Professional Edition for the Handheld PC

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 "QFE" on the following Microsoft Web site: 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.

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbbug kbenv kbfix kbProgramming kbQFE KB302422