共用方式為


IResourceManager::Release Method

Decrements the reference count on the Resource Manager instance. The Resource Manager is destroyed when its reference count goes to 0.

virtual unsigned int Release() =0;

Return Value

The resulting reference count.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

IResourceManager Structure

CreateResourceManager Function

IResourceManager::Reference Method