Release
1.Release英文解释音标 Phonetic symbol
[ri'li:s]
词性及解释 Part of speech and defination
n. 释放, 发泄, 豁免, 发行, 释放证书
vt. 释放, 解除, 放松, 豁免, 免除, 发布, 放弃, 让与
n. 发布
【计】 版本, 发布
【经】 释放, 公布
2.DirectX中的release函数:英文解释:
IUnknown::Release Decreases the reference count of the interface by 1.
ULONG Release();
Parameters:
None
Return Values:
Returns the new reference count. This value is for diagnostic and testing purposes only.
Remarks:The object that exports the interface deallocates itself when its total reference count reaches 0. Use the IUnknown::AddRef method to increase the interface's reference count by 1.
Applications must call this method to release only those interfaces that were explicitly created in a previous call to IUnknown::AddRef,IUnknown::QueryInterface, or a creation function, such as Direct3DCreate9.
Requirements:
Header: Declared in Unknwn.h.
中文解释:
接口的引用数量递减1
返回新的引用数。 此数值紧用于诊断和测试。
当继承接口而来的对象的总引用数量达到0时,他会释放自己。使用IUnknown::AddRef 函数可以按1递增接口的引用数目。
应用程序必须调用此方法释放这些接口,这些接口包括之前调用 IUnknown::AddRef IUnknown::QueryInterface产生的,也包括通过一个产生函数比如Direct3DCreate9,产生的。
注:引自DirectX sdk文档(翻译不太准确,参考)。