Error opening Primary Sound Capture Driver :"Bad format

Hi ,everyone
I have a device initialization problem. the error is “bad format”. I use MS vista OS.
when I step into the error, I found the error happened in
juce_win32_DirectSound.cpp file.
the line happened error is ln796.
hr = pDirectSoundCapture->CreateCaptureBuffer();
hr = 0x88780064.
I can not step into the CreateCaptureBuffer();It seems this method can not be stepped into.

any ideas for this problem?