Partager via


PHSetValue (Windows Embedded CE 6.0)

1/6/2010

This function sets the new value for a setting.

Syntax

HRESULT  PHSetValue(
    PHSetting   Setting,
    DWORD       Value
);

Parameters

  • Setting
    [in] A PHSetting enumeration value that specifies for what setting to retrieve information.
  • Value
    [in] New 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

See Also

Reference

PhCommon Settings APIs
PhCommon Reference