IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ extDiskInstallEventCallback()

int extDiskInstallEventCallback ( EXTDISK_CALLBACK  handler)

Install a notification callback function. The external drives B: and D: may be hot-plugable. This means that the drive medium might be removed or inserted while your application is running. In some cases it may be important for you to be notified if a medium is removed or inserted, for example if one of your tasks has set its working directory to the external drive. By default @CHIP-RTOS-LNX will reset the working directory of all tasks that previously had their working directory on a drive that has been removed to A:. However this might not be appropriate. So a reaction on the removal of a hot-pluggable medium might be to set a new valid working directory.

To be notified of insertion and removal events, install a callback function. A maximum of 12 callback functions can be installed.

handlerHandler function that is called on drive events.
zero on success, else failure.
See also

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:49 by Doxygen 1.8.13