RtfwRestartRequired
RtfwRestartRequired returns whether the RTX64 Subsystem, the RT-TCP/IP Stack, or Windows needs to be restarted after a configuration change has been made using the RTX64 Native Framework or the RTX64 Control Panel.
Syntax
bool RtfwRestartRequired( RTFW_RESTART_TYPE * pRestartRequired, unsigned int reserved );
Parameters
pRestartRequired
A pointer to a value that is set to one of the RTFW_RESTART_TYPE enumerators indicating whether the RTX64 Subsystem, the RT-TCP/IP Stack, or Windows needs to be restarted.
reserved
This parameter must be set to zero.
Return Value
This function returns true if successful, otherwise it returns false, sets the last error value, and leaves the memory pointed to by pRestartRequired undefined. Call GetLastError for additional error information.
Possible error codes:
Error Code | Meaning |
---|---|
RT_ERROR_NETWORK_NOT_INSTALLED | The RT-TCP/IP Stack is not installed. |
Requirements
Minimum Required Version | RTX64 3.4 |
Header | RtfwAPI.h |
Library | RtfwAPI.lib |
See Also: