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 "dsound.h". https://source.winehq.org/source/include/dsound.h

Implemented in "dlls/dsound/dsound_main.c". https://source.winehq.org/source/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 Apr 2024.