16.7. OS Updating API
BHT_SystemModify
Description
Update the BHT OS.
Syntax
DWORD BHT_SystemModify (
DWORD dwCtrlCode,
TCHAR * pwchSysParam,
DWORD dwLen,
DWORD *
pdwLenReturned
Parameters
pwszFileName
[in] Pointer filename that points a NULL-appended character string containing the OS reconfiguration
filename.
dwMode
[in] Reboot mode after turning the power off
dwMode
SYSMDFY_POWEROFF Turn the power off. (Cold-boot the BHT at the next power on)
SYSMDFY_REBOOT
Return value
Error code
ERROR_SUCCESS
ERROR_FILE_NOT_FOUND
ERROR_INVALID_PARAMETER Parameter error.
ERROR_BAD_FORMAT
)
Perform a cold boot.
Successful completion
Specified file or device not found. (OS reconfiguration file not
found.)
The OS update file is incorrect.
131
Specification
Meaning