GetDeviceID.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

GetDeviceID (DSOUND.9)

SYNOPSIS

HRESULT GetDeviceID
 (
  LPCGUID pGuidSrc,
  LPGUID  pGuidDest
 )

DESCRIPTION

Retrieves unique identifier of default device specified.

PARAMS

pGuidSrc [In] Address of device GUID.

pGuidDest [Out] Address to receive unique device GUID.

RETURNS

Success: DS_OK

Failure: DSERR_INVALIDPARAM.

NOTES

pGuidSrc is a valid device GUID or DSDEVID_DefaultPlayback, DSDEVID_DefaultCapture, DSDEVID_DefaultVoicePlayback, or DSDEVID_DefaultVoiceCapture. Returns pGuidSrc if pGuidSrc is a valid device or the device GUID for the specified constants.

IMPLEMENTATION

Defined in "dsound.h".

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

Debug channel "dsound".