.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH DirectSoundCaptureCreate 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBDirectSoundCaptureCreate\fR (DSOUND.6) .SH SYNOPSIS HRESULT DirectSoundCaptureCreate ( LPCGUID \fIlpcGUID\fR, IDirectSoundCapture** \fIppDSC\fR, IUnknown* \fIpUnkOuter\fR ) .SH DESCRIPTION .PP Create and initialize a DirectSoundCapture interface. .SH PARAMS \fIlpcGUID\fR \fB[In]\fR Address of the \fBGUID\fR that identifies the sound capture device. .PP lplpDSC \fB[Out]\fR Address of a variable to receive the interface pointer. .PP \fIpUnkOuter\fR \fB[In]\fR Must be \fBNULL\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBDS_OK\fR .PP \fBFailure:\fR \fBDSERR_NOAGGREGATION\fR, \fBDSERR_ALLOCATED\fR, \fBDSERR_INVALIDPARAM\fR, \fBDSERR_OUTOFMEMORY\fR. .SH NOTES .PP \fIlpcGUID\fR must be one of the values returned from DirectSoundCaptureEnumerate or \fBNULL\fR for the default device or DSDEVID_DefaultCapture or DSDEVID_DefaultVoiceCapture. .PP \fBDSERR_ALLOCATED\fR is returned for sound devices that do not support full duplex. .SH IMPLEMENTATION .PP Declared in \fB"dsound.h"\fR. .PP Implemented in \fB"dlls/dsound/capture.c"\fR. .PP Debug channel \fB"dsound"\fR.