parser::GetFirstObject (Windows CE 5.0)
This method accepts DIDL-Lite XML data and returns a pointer to the first object.
bool GetFirstObject( LPCWSTR pszXml, object* pObj);
Parameters
- pszXml
String that contains DIDL-Lite XML data. Retrieved from a method such as IContentDirectory::Search, IContentDirectory::BrowseChildren, IContentDirectory::BrowseMetadata, or from the strCurrentURIMetaData field of the MediaInfo structure. - pObj
On return, pointer to an object that contains the properties of the first DIDL-Lite object in the passed XML data.
Return Values
TRUE if the XML data was accepted and the first object returned correctly. FALSE otherwise.
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
parser (UPnP AV) | IContentDirectory::BrowseChildren | IContentDirectory::BrowseMetadata | IContentDirectory::Search | MediaInfo | object
Send Feedback on this topic to the authors