Partager via


CBasePin::QueryPinInfo (Compact 2013)

3/26/2014

Retrieves information about the pin.

Syntax

HRESULT QueryPinInfo(
  PIN_INFO* pInfo
);

Parameters

  • pInfo
    Pointer to a PIN_INFO structure.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IPin::QueryPinInfo method.

By default, the member function fills in the PIN_INFO structure with the IBaseFilter interface of its owning filter, the pin name from m_pName, and the pin direction from m_dir.

The IBaseFilter interface passed out by this member function is reference counted, and so must be released when the caller has finished with it.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBasePin Class