未分类--Windows API--AssocCreateForClasses

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

AssocCreateForClasses Function

--------------------------------------------------------------------------------

Retrieves an object that implements an IQueryAssociations interface.
检索一个对象实现了IQueryAssociations接口。
Syntax

HRESULT AssocCreateForClasses(         
const ASSOCIATIONELEMENT *rgClasses,
ULONG cClasses,
REFIID riid,
void **ppv
);
Parameters

rgClasses
[in] A pointer to an array of ASSOCIATIONELEMENT structures.
一个指针指向ASSOCIATIONELEMENT结构体数组。
cClasses
[in] The number of elements in the array pointed to by rgClasses.
由rgClasses指向的数组中元素的个数。
riid
[in] The reference identifier of the interface being created.
被创建的接口的引用标识符。
ppv
[out] When this method returns, contains the address of a pointer to the object created.
当这个方法返回时,包含一个指向创建对象的地址。
Return Value

Returns S_OK if successful, or an error value otherwise.
如果成功返回S_OK,否则返回一个错误。
Function Information

Minimum DLL Version Shell32.dll
Custom Implementation No
Header shellapi.h
Import library None
Minimum operating systems Windows Vista


--------------------------------------------------------------------------------

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值