CBasePin::QueryAccept (Windows Embedded CE 6.0)
1/6/2010
Determines whether the pin accepts the format type.
Syntax
HRESULT QueryAccept(
const AM_MEDIA_TYPE* pmt
);
Parameters
- pmt
Pointer to a proposed media type.
Return Value
Returns S_TRUE if the format is accepted; otherwise, returns S_FALSE.
Remarks
This member function implements the IPin::QueryAccept method.
It calls the pure virtual CBasePin::CheckMediaType member function, which the derived class must implement, and maps returned codes from CheckMediaType other than S_OK to S_FALSE.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |