Share via


IContentDirectoryImpl (Windows CE 5.0)

Send Feedback

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.

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

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

See Also

UPnP AV Interface and Implementation Classes | IContentDirectory | IContentDirectory::GetSearchCapabilities | IContentDirectory::GetSortCapabilities

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.