NAME

RegSetValueW  (ADVAPI32.@)

SYNOPSIS

 LSTATUS RegSetValueW
 (
  HKEY    hkey,
  LPCWSTR subkey,
  DWORD   type,
  LPCWSTR data,
  DWORD   count
 )

DESCRIPTION

Sets the data for the default or unnamed value of a reg key.

PARAMS

hkey [In] Handle to an open key.
subkey [In] Name of a subkey of hKey.
type [In] Type of information to store.
data [In] String that contains the data to set for the default value.
count [In] Ignored.

RETURNS

Success: ERROR_SUCCESS

Failure: nonzero error code from Winerror.h

IMPLEMENTATION

Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h

Implemented in "dlls/advapi32/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/registry.c

Debug channel "reg".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.