MediaServerDevice::GetContentDirectory (Compact 7)
3/12/2014
This method returns an IContentDirectory pointer that control point code uses to communicate over the network with MediaServer devices.
Syntax
DWORD GetContentDirectory(
IContentDirectory** ppContentDirectory
);
Parameters
- ppContentDirectory
Pointer to a pointer to an IContentDirectory implementation that communicates using UPnP with the ContentDirectory service implementation on the specified MediaServer device.
Return Value
The following table shows possible return values.
Value | Description |
---|---|
ERROR_AV_POINTER |
The ppContentDirectory parameter is NULL. |
ERROR_AV_UPNP_ACTION_FAILED |
The internal content directory proxy implementation could not be initialized. |
SUCCESS_AV |
The internal content directory proxy implementation was initialized and returned successfully. |
Remarks
For more information about UPnP AV control points and devices, see the UPnP Forum AV web site.
Requirements
Header |
av_upnp.h |
Library |
Av_upnp.lib |