DrtDeleteIpv6UdpTransport function (drt.h)

The DrtDeleteIpv6UdpTransport function deletes a transport based on the IPv6 UDP protocol.

Syntax

HRESULT DrtDeleteIpv6UdpTransport(
  [in] HDRT_TRANSPORT hTransport
);

Parameters

[in] hTransport

The DRT transport handle specifying the transport to delete.

Return value

This function returns S_OK on success. Other possible values include:

Return code Description
DRT_E_INVALID_TRANSPORT_PROVIDER
hTransport is NULL or invalid.
DRT_E_TRANSPORT_EXECUTING_CALLBACK
The transport provider is currently executing a method.
DRT_E_TRANSPORT_STILL_BOUND
The transport is still bound.
DRT_E_TRANSPORTPROVIDER_IN_USE
All clients have not called Release on the transport.
 
Note  This function may also surface errors returned by underlying calls to PeerPnrpStartup or PeerIdentityGetCryptKey.
 

Requirements

   
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header drt.h
Library Drttransport.lib
DLL Drt.dll

See also

DrtCreateIpv6UdpTransport