Export (0) Print
Expand All

DrtDeleteIpv6UdpTransport function

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

Syntax


HRESULT WINAPI DrtDeleteIpv6UdpTransport(
  _In_  HTRANSPORT hTransport
);

Parameters

hTransport [in]

The DRT transport handle specifying the transport to delete.

Return value

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

Return codeDescription
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]

Header

Drt.h

Library

Drttransport.lib

DLL

Drt.dll

See also

DrtCreateIpv6UdpTransport

 

 

Community Additions

ADD
Show:
© 2015 Microsoft