The MprAdminInterfaceTransportSetInfo function sets information for a transport running on a specified interface.
DWORD MprAdminInterfaceTransportSetInfo( MPR_SERVER_HANDLE hMprServer, // handle to router HANDLE hInterface, // handle to interface DWORD dwTransportId, // identifier for the transport LPBYTE pInterfaceInfo, // interface information DWORD dwInterfaceInfoSize // size of interface information );
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the following error codes.
Value | Meaning |
---|---|
ERROR_ACCESS_DENIED | The calling application does not have sufficient privileges. |
ERROR_INVALID_HANDLE | The hInterface value is invalid. |
ERROR_INVALID_PARAMETER | The pInterfaceInfo parameter is NULL. |
ERROR_NO_SUCH_INTERFACE | The specified transport is not running on the specified interface. |
ERROR_UNKNOWN_PROTOCOL_ID | The dwTransportId value does not match any installed transport. |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Mprapi.h.
Library: Use Mprapi.lib.
Router Management Reference, Router Administration Functions, MprAdminInterfaceCreate, MprAdminInterfaceTransportGetInfo, MprAdminServerConnect