[This is preliminary documentation and subject to change.]
The MprConfigTransportGetInfo function retrieves the configuration for the specified transport from the router.
DWORD MprConfigTransportGetInfo(
HANDLE hMprConfig, // handle to the router configuration
HANDLE hRouterTransport, // handle to the transport configuration
LPBYTE * ppGlobalInfo, // global information for the transport
LPDWORD lpdwGlobalInfoSize, // size of global information
LPBYTE * ppClientInterfaceInfo, // interface information for client
// routers
LPDWORD lpdwClientInterfaceInfoSize, // size of interface information
LPWSTR * lplpwsDLLPath // name of router manager DLL
);
This parameter is optional. If the caller specifies NULL for this parameter, the function will not retrieve the global information.
This parameter is optional; the caller may specify NULL for this parameter. However, if ppGlobalInfo is not NULL, this parameter cannot be NULL.
This parameter is optional. If the caller specifies NULL for this parameter, the function will not retrieve the interface information.
This parameter is optional; the caller may specify NULL for this parameter. However, if ppClientInterfaceInfo, is not NULL, this parameter cannot NULL.
This parameter is optional. If the caller specifies NULL for this parameter, the function will not retrieve the name of the router manager DLL.
hMprConfig is NULL
hRouterTransport is NULL
ppGlobalInfo is not NULL, but lpdwGlobalInfoSize is NULL.
ppClientInterfaceInfo is not NULL, but lpdwClientInterfaceInfo is NULL.
If the pGlobalInfo, pClientInterfaceInfo, and lpwsDLLPath parameters are all NULL, the function will do nothing, and return 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.
MprConfigBufferFree, MprConfigServerConnect, MprConfigTransportCreate, MprConfigTransportGetHandle, MprConfigTransportEnum