Microsoft DirectX 8.0 (Visual Basic) |
object.CreateCaptureBuffer( _ bufferDesc As DSCBUFFERDESC _ ) As DirectSoundCaptureBuffer8
Returns a DirectSoundCaptureBuffer8 object.
If the method fails, an error is raised and Err.Number may be set to one of the following error values.
DSERR_INVALIDPARAM |
DSERR_BADFORMAT |
DSERR_GENERIC |
DSERR_NODRIVER |
DSERR_OUTOFMEMORY |
DSERR_UNINITIALIZED |
On Microsoft® Windows® 95, Windows® 98, and Windows® 2000, each capture device supports a single buffer.