Lines Matching refs:refCount
76 UInt32 refCount; field
127 /* This function returns the IUnknown interface so set the refCount to one. */
128 theNewInstance->refCount = 1;
136 // the refCount goes to zero.
192 // is requested, bump the refCount for the instance. NOTE: returning the
197 ((MetadataImporterPluginType *)thisInstance )->refCount += 1;
198 return ((MetadataImporterPluginType*) thisInstance)->refCount;
204 // When an interface is released, decrement the refCount.
205 // If the refCount goes to zero, deallocate the instance.
209 ((MetadataImporterPluginType*)thisInstance)->refCount -= 1;
210 if (((MetadataImporterPluginType*)thisInstance)->refCount == 0){
214 return ((MetadataImporterPluginType*) thisInstance )->refCount;