Partager via


IBaseFilter::QueryFilterInfo

 
Microsoft DirectShow 9.0

IBaseFilter::QueryFilterInfo

The QueryFilterInfo method retrieves information about the filter.

Syntax

  HRESULT QueryFilterInfo(
  FILTER_INFO *pInfo
);

Parameters

pInfo

[out] Pointer to a FILTER_INFO structure.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success
E_POINTER Null pointer argument

Remarks

This method fills the FILTER_INFO structure with the filter information. On return, if the pGraph member of the FILTER_INFO structure is non-NULL, the IFilterGraph interface has an outstanding reference count. Be sure to release the interface when you are done.

Requirements

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

Library: Use Strmiids.lib.

See Also