CMediaType::IsPartiallySpecified
Microsoft DirectShow 9.0 |
CMediaType::IsPartiallySpecified
The IsPartiallySpecified method determines if the media type is partially defined. A media type is partial if the major type, subtype, or format type is GUID_NULL.
Syntax
BOOL IsPartiallySpecified(void) const;
Return Value
Returns TRUE if the media type is partially specified. Otherwise, returns FALSE.
Remarks
The IPin::Connect method can accept partial media types.
The implementation does not actually test the subtype. If there is a specified format type, the media type is not considered partial, even if the subtype is GUID_NULL.
Requirements
** Header:** Declared in Mtype.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also