NI System Configuration API Reference for LabWindows™/CVI™

NISysCfgSaveSystemChanges

  • Updated2023-02-21
  • 1 minute(s) read

NISysCfgStatus NISysCfgSaveSystemChanges( NISysCfgSessionHandle sessionHandle, NISysCfgBool * changesRequireRestart, char ** detailedResult );

Purpose

Saves changes made to systems.

Parameters

Input
Name Type Description
sessionHandle NISysCfgSessionHandle A handle returned from NISysCfgInitializeSession that specifies the system.
Output
Name Type Description
changesRequireRestart NISysCfgBool * Specifies whether the changes require a reboot. If TRUE, call NISysCfgRestart.
detailedResult char ** A string containing results of any errors that may have occurred during execution. You must call NISysCfgFreeDetailedString to free that string when you are done with it.

Return Value

Name Type Description
returnValue NISysCfgStatus The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. Refer to Status Codes or nisyscfg_errors.h for details regarding error codes.