Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure represents a DIDL-Lite object, as specified in detail in the ContentDirectory documentation referenced in UPnP AV DCP Documentation.

Syntax

		
struct object
		
{
		
  // constructor not shown
		
  bool			bContainer;
		
  wstring		 strID;
		
  wstring		 strParentID;
		
  wstring		 strTitle;
		
  wstring		 strClass;
		
  bool			bRestricted;
		
  // GetProperty declarations not shown
		
  // private members not shown
		
};
	

Members

bContainer

Contains true if the object is a container, that is, part of the DIDL-Lite object.container hierarchy. Contains false if the object is an item, that is, part of the DIDL-Lite object.item hierarchy.

strID

Object identifier. Unique in the ContentDirectory service instance.

strParentID

The object identifier (ID) of this object's parent. The root container has a parent ID of -1.

strTitle

Name of the object.

strClass

DIDL-Lite class of the object. For example, object.container, object.item.audioItem, and so on.

bRestricted

Contains true if only the ContentDirectory instance can modify this object. Contains false if control points can modify this object.

Remarks

The data members of this class contain required properties of every DIDL-Lite object. To retrieve optional properties, use object::GetProperty.

The object class is defined in the av_upnp::DIDL_Lite C++ namespace and so is usually refererred to using the code av_upnp::DIDL_Lite::object, or using the av alias, as av::DIDL_Lite::object.

For more information about the DIDL-Lite schema defined by the UPnP AV DCP, see the ContentDirectory documentation referenced in 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