DirectSoundFullDuplexCreate.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "dsound.h".

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

Debug channel "dsound".