CPNATFWT_PROVIDER_INSTANCE_DISPATCH_TABLE Structure

[This documentation is preliminary and is subject to change.]

The CPNATFWT_PROVIDER_INSTANCE_DISPATCH_TABLE structure is a dispatch table with entry points for calls from the Connectivity Platform (CP) to the Provider.

Syntax

typedef struct _CPNATFWT_PROVIDER_INSTANCE_DISPATCH_TABLE {
  CPNATFWT_PROVIDER_ESTABLISH_SESSION_INDICATION establishSession;
  CPNATFWT_PROVIDER_TERMINATE_SESSION_INDICATION terminateSession;
  CPNATFWT_PROVIDER_TRANSITION_ACTIVE            transitionActive;
  CPNATFWT_PROVIDER_TRANSITION_DORMANT           transitionDormant;
  CPNATFWT_PROVIDER_ADD_TRANSPORT_ID             addTransportId;
  CPNATFWT_PROVIDER_REMOVE_TRANSPORT_ID          removeTransportId;
  CPNATFWT_PROVIDER_REACH_TRANSPORT_ID           reachTransportId;
  CPNATFWT_PROVIDER_SEND_BUFFERS                 sendBuffers;
} CPNATFWT_PROVIDER_INSTANCE_DISPATCH_TABLE;

Members

  • establishSession
    A pointer to the Provider function that implements session establishment.

  • terminateSession
    A pointer to the Provider function that implements session termination .

  • transitionActive
    A pointer to the Provider function that implements the transition to an active state.

  • transitionDormant
    A pointer to the Provider function that implements the transition to a dormant state.

  • addTransportId
    A pointer to the Provider function that implements the addition of a transport ID.

  • removeTransportId
    A pointer to the Provider function that implements the removal of a transport ID.

  • reachTransportId
    A pointer to the Provider function that implements a check if a transport ID can be reached.

  • sendBuffers
    A pointer to the Provider function that implements sending buffers.

Remarks

The CPNATFWT_PROVIDER_INSTANCE_DISPATCH_TABLE structure is used by the Connectivity Platform feature supported on Windows 7 and later.

The Connectivity Platform (CP) provides a mechanism for specialized applications and services to provide custom network traversal of network address translation (NAT) and firewalls on Windows 7 and later. A Provider registers with the Connectivity Platform to provide network traversal for other applications that use standard Windows networking APIs such as Windows Sockets.

The CPNATFWT_PROVIDER_INSTANCE_DISPATCH_TABLE structure is a dispatch table with entry points for calls from the Connectivity Platform to the Provider. This structure is passed to the CPNatfwtCreateProviderInstance function when a Provider registers with CP.

Requirements

Minimum supported client Windows 7
Minimum supported server None supported
Header Iphlpapi.h (include Iphlpapi.h)

See Also

CPNATFWT_PROVIDER_ADD_TRANSPORT_ID
CPNATFWT_PROVIDER_ESTABLISH_SESSION_INDICATION
CPNATFWT_PROVIDER_REACH_TRANSPORT_ID
CPNATFWT_PROVIDER_REMOVE_TRANSPORT_ID
CPNATFWT_PROVIDER_SEND_BUFFERS
CPNATFWT_PROVIDER_TERMINATE_SESSION_INDICATION
CPNATFWT_PROVIDER_TRANSITION_ACTIVE
CPNATFWT_PROVIDER_TRANSITION_DORMANT
CPNatfwtCreateProviderInstance
CPNatfwtDeregisterProviderInstance
CPNatfwtDestroyProviderInstance
CPNatfwtIndicateReceivedBuffers
CPNatfwtRegisterProviderInstance

Send comments about this topic to Microsoft

Build date: 2/3/2009