Share via


IMediaObjectImpl::CheckTypesSet

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method determines whether all of the nonoptional streams have media types.

Syntax

bool CheckTypesSet(void);

Parameters

None.

Return Value

Returns TRUE if all of the object's nonoptional streams have media types. Otherwise, it returns FALSE.

Remarks

Call this method after any operation that changes the media type on a stream. This method sets a private flag within the class. Some IMediaObjectImpl methods test this flag to determine whether certain operations are permitted. These methods generally return DMO_E_TYPE_NOT_SET if the flag is FALSE.

The only two methods in IMediaObject that change the media type on a stream are IMediaObject::SetInputType and IMediaObject::SetOutputType. The class template implements both of these methods.

Requirements

Header dmoimpl.h
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DMO Reference
DMO Base Class Reference
IMediaObjectImpl Class Template
IMediaObject
IMediaObject::SetInputType
IMediaObject::SetOutputType