Compartilhar via


object (UPnP AV) (Windows CE 5.0)

Send Feedback

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

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

OS Versions: Windows CE 5.0 and later.
Header: Av_upnp.h.
Link Library: Av_upnp.lib.
C++ Namespace: av_upnp::DIDL_Lite.

See Also

UPnP AV Structures | wstring

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.