Partager via


GetSetKeyValues (Windows Embedded CE 6.0)

1/6/2010

This function gets or sets values under the HKEY_LOCAL_MACHINE\KeyName registry key.

Syntax

BOOL GetSetKeyValues(
  LPCTSTR KeyName,
  PREG_VALUE_DESCR ValDesc,
  BOOL bSet,
  BOOL bOverwrite
);

Parameters

  • KeyName
    [in] Registry path under HKEY_LOCAL_MACHINE.
  • ValDesc
    [in] Pointer to a registry value descriptor array, REG_VALUE_DESCR. The last array entry must be NULL.
  • bSet
    [in] Set to TRUE to get values from the registry. Set to FALSE to set values in the registry.
  • bOverwrite
    [in] Set to TRUE to overwrite the key if the key already exists.

Return Value

Returns TRUE if successful. Otherwise, returns FALSE.

Requirements

Header usbclient.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

USB Host Client Driver Functions
REG_VALUE_DESCR