[This is preliminary documentation and subject to change.]
The MprAdminInterfaceTransportAdd function adds a transport (for example, IP or IPX) to an specified interface.
DWORD MprAdminInterfaceTransportAdd(
MPR_SERVER_HANDLE hMprServer, // handle to the router
HANDLE hInterface, // handle to the interface
DWORD dwTransportlId, // transport/router manager ID
LPBYTE pInterfaceInfo, // interface information
DWORD dwInterfaceInfoSize // size of interface information
);
Note that the dwTransportId parameter also specifies a unique router manager, since Windows NT router uses a different router manager for each transport.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in mprapi.h.
Import Library: Link with mprapi.lib.
MprAdminInterfaceCreate, MprAdminInterfaceTransportRemove, MprAdminServerConnect