Audio_SetVolume
This function sets the current volume setting.
DWORD Audio_SetVolume
{
DWORD
dwVolume
}
Parameters
dwVolume
[in] Specifies a new volume setting. The default setting is 0x99999999.
Return Values
If function succeeds, the return value is
E_FUNC_SUCCEED
. If function fails, the return value is
E_FUNC_ERROR
.
Example
DWORD dwResult,dwVolume;
dwVolume = 0x11111111;
dwResult
=
Audio_SetVolume(dwVolume);
if(dwResult != E_FUNC_SUCCEED)
AfxMessageBox(_T("Audio_SetVolume
fail"));
Requirements
OS Versions:
Windows CE 4.2 and later.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT80
Programming Manual
6