Compartilhar via


IBaseFilter::QueryVendorInfo

 
Microsoft DirectShow 9.0

IBaseFilter::QueryVendorInfo

The QueryVendorInfo method retrieves a string containing vendor information.

Syntax

  HRESULT QueryVendorInfo(
  LPWSTR *pVendorInfo
);

Parameters

pVendorInfo

[out] Address of a variable that receives a pointer to a wide-character string containing the vendor information.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL Method is not supported.
E_POINTER Null pointer argument.

Remarks

This method is optional; filters are not required to support it.

If the method is supported, it uses the CoTaskMemAlloc function to allocate memory for the string. Call the CoTaskMemFree function to free the memory.

Requirements

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

Library: Use Strmiids.lib.

See Also