PT-90 Mobile Computer SDK Programming Manual
9
Audio Related Functions
Audio_GetVolume
To query the current audio volume level setting.
DWORD
Audio_GetVolume
{
LPDWORD
lpdwVolume
}
Parameters
lpdwVolume
[out] The current volume level setting.
Returned Values
If this action succeeds, the returned value is
. If this action fails, the returned value is
Example
DWORD dwResult, dwVolume;
dwResult = Audio_GetVolume(&dwVolume);
if(dwResult != E_FUNC_SUCCEED)
AfxMessageBox(_T("Audio_GetVolume fail"));
else
{
CString strTemp;
strTemp.Format(_T("Volume:
%d"),dwVolume);
AfxMessageBox(strTemp);
}
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90