PHSetVolume (Windows Embedded CE 6.0)
1/6/2010
This function sets the new volume value for a setting.
Syntax
HRESULT PHSetVolume(
PHVolumeSetting Setting,
DWORD Value
);
Parameters
- Setting
[in] A PHVolumeSetting enumeration value that specifies for what setting to retrieve information.
- Value
[in] New volume value for the specified setting.
Return Value
The function returns an HRESULT indicating if the call succeeded or failed. The following table shows additional possible return values.
Value | Description |
---|---|
E_FAIL |
Failure. |
S_OK |
Success. |
E_INVALIDARG |
The function failed to open the specified registry key. The path may be invalid. |
Remarks
Note
This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.
Requirements
Header | settingsapi.hpp |
Library | PhCommon.dll |
Windows Embedded CE | Windows Embedded CE 6.0 and later |