次の方法で共有


IPin::QueryAccept (Compact 2013)

3/26/2014

This method determines if the pin could accept the format type.

Syntax

HRESULT QueryAccept(
  const AM_MEDIA_TYPE* pmt
);

Parameters

  • pmt
    [in] Pointer to a proposed media type.

Return Value

Returns S_OK if the format is acceptable; otherwise, returns S_FALSE.

Remarks

This method is implemented in the base classes by CBasePin::QueryAccept.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IPin Interface