Microsoft Windows CE 3.0  

IPin::QueryAccept

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Determines if the pin could accept the format type.

HRESULT QueryAccept( const AM_MEDIA_TYPE *
pmt
);

Parameters

pmt
[in] Pointer to a proposed media type.

Return Values

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

Remarks

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