Partager via


IVirtualService::Release (Windows Embedded CE 6.0)

1/6/2010

This method is called when the service is no longer needed and can be cleaned up.

Syntax

virtual void Release() = 0;

Parameters

None.

Return Value

None.

Remarks

Control points create IAVTransport and IRenderingControl instances using IConnectionManager::PrepareForConnection and IConnectionManager::GetCurrentConnectionInfo (the latter method contains returns a ConnectionInfo structure that contains IAVTransport and IRenderingControl references).

When a control point no longer needs an IAVTransport or IRenderingControl instance, it must call the Release method.

The device implementation of this method should clean up any resources, including the class implementation itself.

Requirements

Header av_upnp.h
Library Av_upnp.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IVirtualService
ConnectionInfo
IAVTransport
IConnectionManager::GetCurrentConnectionInfo
IConnectionManager::PrepareForConnection
IRenderingControl