SHRegSetUSValueA(3w)

NAME

SHRegSetUSValueA (SHLWAPI.@)

SYNOPSIS

LONG SHRegSetUSValueA
 (
  LPCSTR pszSubKey,
  LPCSTR pszValue,
  DWORD  dwType,
  LPVOID pvData,
  DWORD  cbData,
  DWORD  dwFlags
 )

DESCRIPTION

Set a user-specific registry value.

PARAMS

pszSubKey [In] Name of key to set the value in.

pszValue [In] Name of value under pszSubKey to set the value in.

dwType [In] Type of the value.

pvData [In] Data to set as the value.

cbData [In] length of pvData.

dwFlags [In] SHREGSET_ flags from "shlwapi.h".

RETURNS

Success: ERROR_SUCCESS

Failure: An error code from SHRegOpenUSKeyA(3w) or SHRegWriteUSValueA(3w), or ERROR_INVALID_FUNCTION if pvData is NULL.

NOTES

This function opens pszSubKey, sets the value, and then closes the key.

IMPLEMENTATION

Defined in "shlwapi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shlwapi/reg.c".

Debug channel "shell".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout