Partager via


PHGetSetting (Windows Embedded CE 6.0)

1/6/2010

This function gets the current value for a setting.

Syntax

DWORD  PHGetSetting(
    PHSetting   Setting
);

Parameters

  • Setting
    [in] A PHSetting enumeration value that specifies for what setting to retrieve information.

Return Value

The function returns either the requested value for the setting or zero, depending on whether the call succeeded or failed. The call may have failed in opening the registry key for the requested setting.

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