1 Star 0 Fork 5.3K

Wu.Right / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
IUnknown.md 3.23 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

IUnknown

Overview

Related Modules:

Samgr

Description:

Defines the IUnknown class.

You need to inherit this structure when developing a subclass of the IUnknown interface.

Summary

Data Fields

Variable Name

Description

QueryInterface )(IUnknown *iUnknown, int version, void **target)

int(* 

AddRef )(IUnknown *iUnknown)

int(* 

Release )(IUnknown *iUnknown)

int(* 

Details

Field Documentation

AddRef

int(* IUnknown::AddRef) ([IUnknown](IUnknown.md) *iUnknown)

Description:

Adds the reference count.

QueryInterface

int(* IUnknown::QueryInterface) ([IUnknown](IUnknown.md) *iUnknown, int version, void **target)

Description:

Queries the subclass object of the IUnknown interface of a specified version (downcasting).

Release

int(* IUnknown::Release) ([IUnknown](IUnknown.md) *iUnknown)

Description:

Release the reference to an IUnknown interface.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wx_9846855d06/docs.git
git@gitee.com:wx_9846855d06/docs.git
wx_9846855d06
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891