Partager via


MediaItem_t::IsValid (Windows Embedded CE 6.0)

1/5/2010

The IsValid method tells if the MediaItem_t object is valid. A MediaItem_t object is valid if it has a non-null implementation object associated with it.

Syntax

bool IsValid ( none );

Parameters

None.

Return Value

This method returns a bool indicating if the object is valid. Possible values are:

Value Description

TRUE

The MediaItem_t is valid.

VALUE

The MediaItem_t object is not valid. Check GetLastError() value for more information about the cause behind the failure.

Requirements

Header mediaqueryengine.hpp
Library MQELib.lib
Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later

See Also

Reference

MediaItem_t