Microsoft DirectX 8.1 (C++) |
Decrements the reference count for the owning filter.
Syntax
HRESULT NonDelegatingRelease(void);
Return Value
Returns an HRESULT value.
Remarks
An allocator is conceptually a separate object from the filter that creates it. However, the image allocator is dependent on the filter that created it to supply it with additional information (such as the media type that it connected with). Therefore, although the allocator looks after its own NonDelegatingQueryInterface function, it delegates all reference counting to the owning filter. So when the allocator is released, for example, it is the filter that owns the allocator that will actually be released by the NonDelegatingRelease function.
See Also