PlayMode

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

These constants indicate how media is being returned by the transport. For example, tracks might be playing in sequential order (normal), be shuffled (shuffle), and so on.

Syntax

const LPCWSTR
  Normal              = L"NORMAL",
  Shuffle             = L"SHUFFLE",
  RepeatOne           = L"REPEAT_ONE",
  RepeatAll           = L"REPEAT_ALL",
  Random              = L"RANDOM",
  Direct1             = L"DIRECT_1",
  Intro               = L"INTRO";

Remarks

The strings represented by these constants are valid values for the AVTransport service's CurrentPlayMode state variable.

You can set the current play mode using IAVTransport::SetPlayMode. You can retrieve the current play mode as part of the TransportSettings structure using IAVTransport::GetTransportSettings.

For more information about the state variables and valid values defined by the UPnP AV DCP, see UPnP AV DCP Documentation.

Requirements

Header av_upnp.h
Library Av_upnp.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IAVTransport::GetTransportSettings
IAVTransport::SetPlayMode
TransportSettings

Concepts

AV String Constants