Share via


MediaQueryEngine_t::Start (Windows Embedded CE 6.0)

1/5/2010

The Start method allocates resources to get MediaQueryEngine to Running state. MQE is fully functional in Running state. This is the stage when the UPnP library is involved. MQE uses asynchronous UPnP find API (CreateAsyncFind) to discover servers. Please consult public UPnP documentsfor information about UPnP APIs.

Syntax

bool Start( void );

Parameters

None.

Return Value

This method returns a bool indicating success/failure of the operation. Possible values include the following:

Value Description

TRUE

The MediaQueryEngine is Running.

FALSE

There was error starting MQE. Check GetLastError() value for more information about the cause for failure.

Remarks

You must call Initialize before calling Start. Start would fail if called on UnInitialized MediaQueryEngine or when MediaQueryEngine is in an Error state.

Requirements

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

See Also

Reference

MediaQueryEngine_t