DirectSoundCaptureCreate(3w)

DirectSoundCaptureCreate3w

Usage

HRESULT DirectSoundCaptureCreate
(
LPCGUID lpcGUID,
IDirectSoundCapture** ppDSC,
IUnknown* pUnkOuter
)

Overview

Create and initialize a DirectSoundCapture interface.

Params

lpcGUID [In] Address of the GUID that identifies the sound capture device.

lplpDSC [Out] Address of a variable to receive the interface pointer.

pUnkOuter [In] Must be NULL.

Returns

Success: DS_OK

Failure: DSERR_NOAGGREGATION, DSERR_ALLOCATED, DSERR_INVALIDPARAM, DSERR_OUTOFMEMORY.

Notes

lpcGUID must be one of the values returned from DirectSoundCaptureEnumerate or NULL for the default device or DSDEVID_DefaultCapture or DSDEVID_DefaultVoiceCapture.

DSERR_ALLOCATED is returned for sound devices that do not support full duplex.

Implementation

Declared in "dsound.h".

Implemented in "dlls/dsound/capture.c".

Debug channel "dsound".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.