.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetDeviceID 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetDeviceID\fR (DSOUND.9) .SH SYNOPSIS HRESULT GetDeviceID ( LPCGUID \fIpGuidSrc\fR, LPGUID \fIpGuidDest\fR ) .SH DESCRIPTION .PP Retrieves unique identifier of default device specified. .SH PARAMS \fIpGuidSrc\fR \fB[In]\fR Address of device \fBGUID\fR. .PP \fIpGuidDest\fR \fB[Out]\fR Address to receive unique device \fBGUID\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBDS_OK\fR .PP \fBFailure:\fR \fBDSERR_INVALIDPARAM\fR. .SH NOTES .PP \fIpGuidSrc\fR is a valid device \fBGUID\fR or DSDEVID_DefaultPlayback, DSDEVID_DefaultCapture, DSDEVID_DefaultVoicePlayback, or DSDEVID_DefaultVoiceCapture. Returns \fIpGuidSrc\fR if \fIpGuidSrc\fR is a valid device or the device \fBGUID\fR for the specified constants. .SH IMPLEMENTATION .PP Declared in \fB"dsound.h"\fR. .PP Implemented in \fB"dlls/dsound/dsound_main.c"\fR. .PP Debug channel \fB"dsound"\fR.