NISysCfgSaveResourceChanges
- Updated2023-02-21
- 1 minute(s) read
NISysCfgStatus NISysCfgSaveResourceChanges( NISysCfgResourceHandle resourceHandle, NISysCfgBool * changesRequireRestart, char ** detailedResult );
Purpose
Writes and saves property changes on a device.
Parameters
| Input | ||
| Name | Type | Description |
| resourceHandle | NISysCfgResourceHandle | The resource object handle returned from NISysCfgFindHardware. |
| 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. |