[This is preliminary documentation and subject to change.]
The MprConfigInterfaceTransportAdd function adds the specified transport to the specified interface configuration on the router.
DWORD MprConfigInterfaceTransportAdd(
HANDLE hMprConfig, // handle to the router configuration
HANDLE hRouterInterface, // handle to the interface configuration
DWORD dwTransportId, // identifier of the transport/router
// manager
LPWSTR lpwsTransportName, // transport name
LPBYTE pInterfaceInfo, // interface information
DWORD dwInterfaceInfoSize, // size of interface information
HANDLE * phRouterIfTransport // handle to transport configuration
);
hMprConfig is NULL.
hRouterInterface is NULL.
phRouterIfTransport is NULL.
In addition to specifying a transport, the dwTransportId parameter also specifies a router manager, since Windows NT router maintains a unique router manager for each transport.
If the specified transport already exists, MprConfigInterfaceTransportAdd does the equivalent of an MprConfigInterfaceTransportSetInfo call using the given parameter values.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in mprapi.h.
Import Library: Link with mprapi.lib.
FormatMessage, MPR_IFTRANSPORT_0, MprConfigInterfaceCreate, MprConfigInterfaceEnum, MprConfigInterfaceGetHandle, MprConfigServerConnect