Share via


parser::GetFirstObject

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method accepts DIDL-Lite XML data and returns a pointer to the first object.

Syntax

bool GetFirstObject(
  LPCWSTR pszXml, 
  object* pObj
);

Parameters

  • pObj
    On return, pointer to an object that contains the properties of the first DIDL-Lite object in the passed XML data.

Return Value

TRUE if the XML data was accepted and the first object returned correctly. FALSE otherwise.

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

parser (UPnP AV)
IContentDirectory::BrowseChildren
IContentDirectory::BrowseMetadata
IContentDirectory::Search
MediaInfo
object (UPnP AV)