Lines Matching refs:refCount
52 UInt32 refCount;
107 /* This function returns the IUnknown interface so set the refCount to one. */
108 theNewInstance->refCount = 1;
116 // the refCount goes to zero.
172 // is requested, bump the refCount for the instance. NOTE: returning the
177 ((QuickLookGeneratorPluginType *)thisInstance )->refCount += 1;
178 return ((QuickLookGeneratorPluginType*) thisInstance)->refCount;
184 // When an interface is released, decrement the refCount.
185 // If the refCount goes to zero, deallocate the instance.
189 ((QuickLookGeneratorPluginType*)thisInstance)->refCount -= 1;
190 if (((QuickLookGeneratorPluginType*)thisInstance)->refCount == 0){
194 return ((QuickLookGeneratorPluginType*) thisInstance )->refCount;