RtfwrlyEnableInterface

RtfwrlyEnableInterface enables or disables Network Relay functionality in a network interface.

Syntax

Copy
bool RtfwrlyEnableInterface(
    [in] TCHAR * pName,
    [in] bool Enable
);

Parameters

[in] pName

A pointer to the name of an existing Network Relay interface. This value is not case sensitive.

[in] Enable

True enables Network Relay functionality on the interface specified by the pName parameter. False disables Network Relay functionality on the specified interface.

Return Value

If the function succeeds, it returns true. If the function fails, it returns false.

Remarks

RtfwrlyEnableInterface causes the enabled interface’s configuration to be re-validated, which can cause various errors, depending on the configuration data for this and other interfaces.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtfwrlyApi.h

RtfwrlyApi.lib