Microsoft DirectX 9.0

IResourceConsumer Interface

The IResourceConsumer interface provides a callback mechanism for objects using the IResourceManager interface.

An object must implement IResourceConsumer if it uses the IResourceManager interface to request resources from the filter graph manager. The filter graph manager calls methods on IResourceConsumer to notify the object when a resource becomes available, or when the object should release a resource that it acquired.

Applications typically do not use or implement this interface.

In addition to the methods inherited from IUnknown, the IResourceConsumer interface exposes the following methods.

Method Description
AcquireResource Notifies the resource consumer that a resource might be acquired.
ReleaseResource Requests the resource consumer to release the specified resource.

See Also