网站首页  词典首页

请输入您要查询的函数:

 

术语 shsettemporarypropertyforitem
释义 SHSetTemporaryPropertyForItem
语法:
HRESULT SHSetTemporaryPropertyForItem( IShellItem *psi,
REFPROPERTYKEY propkey,
REFPROPVARIANT propvar
);
SHSetTemporaryPropertyForItem功能
设置一个指定的项目临时财产。临时属性是保存在一个读/写,而不是写入该项目他们回到商店,只在该IShellItem对象的生命周期属性。
参数
防扩散安全倡议
[in]一个指向该项目的临时属性被设置。
propkey
[in]参考的PROPERTYKEY标识临时属性被设置。
propvar
[in]参考一PROPVARIANT包含临时属性的值。
返回值
返回S_OK如果成功,或其他错误值。
备注
阿临时值只能阅读SHGetTemporaryPropertyForItem或者通过GPS_TEMPORARY的IShellItem2::GetPropertyStore。
功能信息
最低DLL版本 Shell32.dll
自定义ImplementationNo
Headershobjidl.h
import libraryshell32.lib
最低支持操作系统 Vista
==英文原文==SHSetTemporaryPropertyForItem Function
Sets a temporary property for the specified item. A temporary property is kept in a read/write store that holds properties only for the lifetime of the IShellItem object, instead of writing them back into the item.
Syntax
HRESULT SHSetTemporaryPropertyForItem( IShellItem *psi,
REFPROPERTYKEY propkey,
REFPROPVARIANT propvar
);
Parameters
psi
[in] A pointer to the item on which the temporary property is to be set.
propkey
[in] Reference to the PROPERTYKEY that identifies the temporary property that is being set.
propvar
[in] Reference to a PROPVARIANT that contains the value of the temporary property.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
A temporary value can only be read with SHGetTemporaryPropertyForItem or by passing GPS_TEMPORARY to IShellItem2::GetPropertyStore .
Function Information
Minimum DLL VersionShell32.dll
Custom ImplementationNo
Headershobjidl.h
Import libraryshell32.lib
Minimum operating systemsWindows Vista
==原始网址==http://msdn.microsoft.com/en-us/library/bb762251(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:21:15