网站首页  词典首页

请输入您要查询的函数:

 

术语 shcreatedefaultpropertiesop
释义 SHCreateDefaultPropertiesOp
语法:
HRESULT SHCreateDefaultPropertiesOp( IShellItem *psi,
IFileOperation **ppFileOp
);
SHCreateDefaultPropertiesOp功能
创建一个文件操作,设置在壳牌项目还没有已经确定的默认属性。
参数
防扩散安全倡议
一个源壳项的指针。见IShellItem。
ppFileOp
[内]的IFileOperation接口指针的地址。
返回值
返回S_OK如果成功,或其他错误值。
备注
属性列表设置默认值来自下的该项目的文件关联的ProgID SetDefaultsFor注册表项。该清单为前缀道具:和包含属性的规范名称,设置默认值,例如,道具:System.Author; System.Document.DateCreated。这个清单System.Author System.Document.DateCreated,可能的属性和System.Photo.DateTaken。如果SetDefaultsFor项不存在上的ProgID,此函数使用默认上找到HKEY_CLASSES_ROOT的SetDefaultsFor进入\\ *。
功能信息
最低DLL版本 Shell32.dll
自定义ImplementationNo
Headershobjidl.h
import libraryNone
最低支持操作系统 Vista
==英文原文==SHCreateDefaultPropertiesOp Function
Creates a file operation that sets the default properties on the Shell item that have not already been set.
Syntax
HRESULT SHCreateDefaultPropertiesOp( IShellItem *psi,
IFileOperation **ppFileOp
);
Parameters
psi
A pointer to the source shell item. See IShellItem .
ppFileOp
[out] The address of the IFileOperation interface pointer.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The list of properties to set a default value comes from the SetDefaultsFor registry entry under the ProgID for the file association of the item. The list is prefixed by prop: and contains the canonical names of the properties to set the default value, for example, prop:System.Author;System.Document.DateCreated. The possible properties for this list are System.Author, System.Document.DateCreated, and System.Photo.DateTaken. If the SetDefaultsFor entry does not exist on the ProgID, this function uses the default found on the SetDefaultsFor entry of HKEY_CLASSES_ROOT\\* .
Function Information
Minimum DLL VersionShell32.dll
Custom ImplementationNo
Headershobjidl.h
Import libraryNone
Minimum operating systemsWindows Vista
==原始网址==http://msdn.microsoft.com/en-us/library/bb762129(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:20:29