HRESULT DeviceGet(DWORD *pdwDeviceID);
Retrieves the device identifier of the audio-output device that is used for a voice-text site.
· Returns NOERROR if successful, or one of these error values:
VTXTERR_INVALIDMODE
VTXTERR_INVALIDPARAM
VTXTERR_OUTOFMEM
pdwDeviceID
[out] Address of a variable that receives the device identifier of the audio-output device currently used by the site.
The device identifier for a site is saved between uses of the site, even if the user shuts down the computer in the meantime.