[This is preliminary documentation and subject to change.]
The MprConfigTransportSetInfo function changes the configuration for the specified transport in the specified router configuration.
DWORD MprConfigTransportSetInfo(
HANDLE hMprConfig, // handle to the router configuration
HANDLE hRouterTransport, // handle to the transport configuration
LPBYTE pGlobalInfo, // global information for the transport
DWORD dwGlobalInfoSize, // size of global information
LPBYTE pClientInterfaceInfo, // interface information for
// client routers
DWORD dwClientInterfaceInfoSize, // size of interface information
LPWSTR lpwsDLLPath // name of router manager DLL
);
This parameter is optional; the caller may specify NULL for this parameter.
This parameter is optional; the caller may specify NULL for this parameter.
Use this function to set the transport's global information, default interface information, or the name of the router manager DLL for the transport.
The function attempts to set the items in the order in which they appear in the parameter list:
If the function is unable to set any one of the items, it will return immediately without attempting to set the remaining items.
If the pGlobalInfo, pClientInterfaceInfo, and lpwsDLLPath parameters are all NULL, the function will do nothing returning a value of NO_ERROR.
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, MprConfigServerConnect, MprConfigTransportCreate, MprConfigTransportGetHandle, MprConfigTransportEnum