IResourceConsumer::ReleaseResource

 
Microsoft DirectShow 9.0

IResourceConsumer::ReleaseResource

The ReleaseResource method requests the resource consumer to release the specified resource.

Syntax

  HRESULT ReleaseResource(
  LONG idResource
);

Parameters

idResource

[in] Resource identifier to be released.

Return Value

Returns S_OK if the consumer has released it and requires it again when it becomes available, or S_FALSE if the consumer has not released it but will use IResourceManager::NotifyRelease when it does.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also