Compartilhar via


IConnectionManagerImpl::RemoveSourceProtocol (Windows CE 5.0)

Send Feedback

This method removes the specified protocol string from the source protocol information for this ConnectionManager instance.

virtual DWORD RemoveSourceProtocol(  LPCWSTR pszProtocolInfo);

Parameters

  • pszProtocolInfo
    String that contains a single ConnectionManager protocol string, like "http-get:*:audio/mpeg:*". The specified protocol information is removed if the provided string exactly matches an existing protocol information string.

Return Values

The following table shows possible return values for this method.

Value Description
ERROR_AV_POINTER The pszProtocolInfo parameter is NULL.
ERROR_AV_OOM There was not enough memory to add the protocol.
SUCCESS_AV The protocol information was added successfully.

Remarks

For more information about protocol strings, including formatting, see the documentation for the ContentDirectory DCP in 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

IConnectionManagerImpl

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.