ClusterRegDeleteValue 函数 (clusapi.h)

群集数据库 密钥中删除命名值。

语法

DWORD ClusterRegDeleteValue(
  [in] HKEY    hKey,
  [in] LPCWSTR lpszValueName
);

参数

[in] hKey

当前打开的密钥的句柄。

[in] lpszValueName

指向以 null 结尾的 Unicode 字符串的指针,该字符串包含要删除的值的名称。

返回值

如果操作成功,函数将返回 ERROR_SUCCESS

如果操作失败,函数将返回 系统错误代码

注解

不要从以下资源 DLL 入口点函数调用 ClusterRegDeleteValue

可以从任何其他资源 DLL 入口点函数或工作线程安全地调用 ClusterRegDeleteValue。 有关详细信息,请参阅 资源 DLL 中对避免的函数调用

要求

要求
最低受支持的客户端 无受支持的版本
最低受支持的服务器 Windows Server 2008 企业版、Windows Server 2008 Datacenter
目标平台 Windows
标头 clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

另请参阅

ClusterRegOpenKey