IContentDirectoryImpl
A version of this page is also available for
4/8/2010
This class derives from the pure virtual IContentDirectory class and provides do-nothing implementations for all methods that correspond to optional actions in the ContentDirectory DCP.
Syntax
class IContentDirectoryImpl : public IContentDirectory
Methods
This class inherits methods defined in the IContentDirectory interface. It defines no additional methods.
Remarks
UPnP AV devices usually provide ContentDirectory functionality by creating a class that derives from this class.
This class provides implementations for all methods that correspond to optional actions in the ContentDirectory DCP. Therefore, custom code only needs to provide implementations for required ContentDirectory methods and any optional methods it wants to implement. Optional methods that are not implemented should not be included in the XML service description document.
The do-nothing implementation for each method in this class returns ERROR_AV_UPNP_INVALID_ACTION, with the exception of IContentDirectory::GetSearchCapabilities and IContentDirectory::GetSortCapabilities. GetSearchCapabilities and GetSortCapabilities set an empty string to indicate that no searching or sorting is supported.
For more information about the ContentDirectory 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
UPnP AV Interface and Implementation Classes
IContentDirectory
IContentDirectory::GetSearchCapabilities
IContentDirectory::GetSortCapabilities