Searched refs:ChannelRefCount (Results 1 – 1 of 1) sorted by relevance
18 LONG ChannelRefCount[SAC_MAX_CHANNELS]; variable39 return ChannelRefCount[Index]; in ChannelGetReferenceCount()48 ASSERT(ChannelRefCount[Index] <= MAX_REF_COUNT); in ChannelReferenceByIndex()49 ASSERT(ChannelRefCount[Index] >= 1); in ChannelReferenceByIndex()50 _InterlockedIncrement(&ChannelRefCount[Index]); in ChannelReferenceByIndex()51 ASSERT(ChannelRefCount[Index] <= MAX_REF_COUNT); in ChannelReferenceByIndex()52 ASSERT(ChannelRefCount[Index] >= 2); in ChannelReferenceByIndex()76 _InterlockedDecrement(&ChannelRefCount[Index]); in ChannelDereferenceByIndex()96 _InterlockedExchange(&ChannelRefCount[Index], 0); in ChannelDereferenceToZeroByIndex()104 _InterlockedExchange(&ChannelRefCount[Index], 1); in ChannelReferenceToOneByIndex()[all …]