ResUtilSetUnknownProperties 函数 (resapi.h)
语法
DWORD ResUtilSetUnknownProperties(
[in] HKEY hkeyClusterKey,
[in] const PRESUTIL_PROPERTY_ITEM pPropertyTable,
[in] const PVOID pInPropertyList,
[in] DWORD cbInPropertyListSize
);
参数
[in] hkeyClusterKey
群集数据库 密钥标识要设置的属性的位置。
[in] pPropertyTable
指向 属性表 的指针,该属性表指定不应由此函数设置的属性。
[in] pInPropertyList
指向 属性列表的指针。 设置在此列表中显示且未显示在 pInPropertyList 中的任何属性。
[in] cbInPropertyListSize
指向 pInPropertyList 指向的输入缓冲区的大小(以字节为单位)的指针。
返回值
如果操作成功,函数将返回 ERROR_SUCCESS。
如果操作失败,函数将返回 系统错误代码。
注解
ResUtilSetUnknownProperties 仅设置 pInPropertyList 中列出的未在 pPropertyTable 中列出的属性。
使用 ResUtilAddUnknownProperties 创建属性列表,使用 ResUtilGetAllProperties 检索 未知属性。
不要从以下资源 DLL 入口点函数调用 ResUtilSetUnknownProperties :
可以从任何其他资源 DLL 入口点函数或工作线程安全地调用 ResUtilSetUnknownProperties。 有关详细信息,请参阅 资源 DLL 中对避免的函数调用。要求
要求 | 值 |
---|---|
最低受支持的客户端 | 无受支持的版本 |
最低受支持的服务器 | Windows Server 2008 企业版、Windows Server 2008 Datacenter |
目标平台 | Windows |
标头 | resapi.h |
Library | ResUtils.lib |
DLL | ResUtils.dll |