MprConfigTransportDelete

[This is preliminary documentation and subject to change.]

The MprConfigTransportDelete function removes the specified transport from the list of transports present in the specified router configuration.

DWORD  MprConfigTransportDelete(
  HANDLE hMprConfig,         // handle to the router configuration
  HANDLE hRouterTransport    // handle to the transport configuration
);

Parameters

hMprConfig
Handle to the router configuration from which to remove the transport. Obtain this handle by calling MprConfigServerConnect.
hRouterTransport
Handle to the configuration for the transport being deleted. Obtain this handle by calling MprConfigTransportCreate or MprConfigTransportGetHandle.

Return Values

NO_ERROR
Success
ERROR_INVALID_PARAMETER
The hMprConfig parameter is NULL, or the hRouterTransport parameter is NULL, or both are NULL.
ERROR_NOT_ENOUGH_MEMORY
Insufficient resources to complete the operation.
Other
Use FormatMessage to retrieve the system error message corresponding to the error code returned.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.
  Import Library: Link with mprapi.lib.

See Also

FormatMessage, MprConfigServerConnect, MprConfigTransportCreate, MprConfigTransportGetHandle