网站首页  词典首页

请输入您要查询的函数:

 

术语 shcreateitemwithparent
释义 SHCreateItemWithParent
语法:
HRESULT SHCreateItemWithParent( PCIDLIST_ABSOLUTE pidlParent,
IShellFolder *psfParent,
PCUITEMID_CHILD pidl,
REFIID riid,
void **ppvItem
);
SHCreateItemWithParent功能
创建一个壳牌的项目,给予父文件夹和一名儿童项目的ID。
参数
pidlParent
[in]的参数的psfParent.This父文件夹IDList可以为NULL,如果psfParent是指定的。
psfParent
[in]一个指针IShellFolder接口,指定由pidl.This参数指定的子项壳数据源可以是NULL,如果pidlParent是指定的。
的PIDL
[in]的儿童项目的ID相对于父文件夹指定psfParent或pidlParent。
riid
编号[in]对一个接口的引用。
ppvItem
[内]当此函数返回时,包含了接口指针riid请求。这通常是IShellItem或IShellItem2。
返回值
返回S_OK如果成功,或其他错误值。
功能信息
最低DLL版本 Shell32.dll
自定义ImplementationNo
Headershobjidl.h
import libraryNone
最低支持操作系统 Vista
==英文原文==SHCreateItemWithParent Function
Create a Shell item, given a parent folder and a child item ID.
Syntax
HRESULT SHCreateItemWithParent( PCIDLIST_ABSOLUTE pidlParent,
IShellFolder *psfParent,
PCUITEMID_CHILD pidl,
REFIID riid,
void **ppvItem
);
Parameters
pidlParent
[in] The IDList of the parent folder of the psfParent.This parameter can be NULL, if psfParent is specified.
psfParent
[in] A pointer to IShellFolder interface that specifies the shell data source of the child item specified by the pidl.This parameter can be NULL, if pidlParent is specified.
pidl
[in] A child item ID relative to its parent folder specified by psfParent or pidlParent.
riid
[in] A reference to an interface ID.
ppvItem
[out] When this function returns, contains the interface pointer requested in riid. This will typically be IShellItem or IShellItem2 .
Return Value
Returns S_OK if successful, or an error value otherwise.
Function Information
Minimum DLL VersionShell32.dll
Custom ImplementationNo
Headershobjidl.h
Import libraryNone
Minimum operating systemsWindows Vista
==原始网址==http://msdn.microsoft.com/en-us/library/bb762137(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 11:22:18