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

Declared in "include/mmsystem.h". gitlab.winehq.org/wine/wine/blob/master/include/mmsystem.h

Implemented in "dlls/dsound/dsound_main.c". gitlab.winehq.org/wine/wine/blob/master/dlls/dsound/dsound_main.c

Debug channel "dsound".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.