Поделиться через


GetSetKeyValues (Compact 2013)

3/26/2014

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

See Also

Reference

USB Host Client Driver Functions
REG_VALUE_DESCR