---
name: "DirectSoundFullDuplexCreate"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/DirectSoundFullDuplexCreate"
---

# DirectSoundFullDuplexCreate(3w)

## NAME

**DirectSoundFullDuplexCreate** (DSOUND.10)

## SYNOPSIS

HRESULT DirectSoundFullDuplexCreate\
  (\
   LPCGUID                      *pcGuidCaptureDevice*,\
   LPCGUID                      *pcGuidRenderDevice*,\
   LPCDSCBUFFERDESC             *pcDSCBufferDesc*,\
   LPCDSBUFFERDESC              *pcDSBufferDesc*,\
   HWND                         *hWnd*,\
   DWORD                        *dwLevel*,\
   LPDIRECTSOUNDFULLDUPLEX\*     *ppDSFD*,\
   LPDIRECTSOUNDCAPTUREBUFFER8\* *ppDSCBuffer8*,\
   LPDIRECTSOUNDBUFFER8\*        *ppDSBuffer8*,\
   LPUNKNOWN                    *pUnkOuter*\
  )

## DESCRIPTION

Create and initialize a DirectSoundFullDuplex interface.

## PARAMS

*pcGuidCaptureDevice* **\[In\]**  Address of sound capture device **GUID**.

*pcGuidRenderDevice* **\[In\]**  Address of sound render device **GUID**.

*pcDSCBufferDesc* **\[In\]**  Address of capture buffer description.

*pcDSBufferDesc* **\[In\]**  Address of render buffer description.

*hWnd* **\[In\]**  Handle to application window.

*dwLevel* **\[In\]**  Cooperative level.

*ppDSFD* **\[Out\]**  Address where full duplex interface returned.

*ppDSCBuffer8* **\[0\]**  Address where capture buffer interface returned.

*ppDSBuffer8* **\[0\]**  Address where render buffer interface returned.

*pUnkOuter* **\[In\]**  Must be **NULL**.

## RETURNS

**Success:** **DS\_OK**

**Failure:** **DSERR\_NOAGGREGATION**, **DSERR\_ALLOCATED**, **DSERR\_INVALIDPARAM**, **DSERR\_OUTOFMEMORY** DSERR\_INVALIDCALL **DSERR\_NODRIVER**

## IMPLEMENTATION

Declared in **"dsound.h"**.

Implemented in **"dlls/dsound/duplex.c"**.

Debug channel **"dsound"**.
