FSDev_Refresh()
CPU_BOOLEAN FSDev_Refresh (CPU_CHAR *name_dev,
FS_ERR *p_err);
File |
Called from |
Code enabled by |
fs_dev.c |
Application |
N/A |
Refresh a device.Arguments
name_dev
Device name.
p_err
Pointer to variable that will receive the return error code from this function.
Or device access error (see section B-4 “Device Error Codes” on page 428).
Returned Value
DEF_YES, if the device has not changed.
DEF_NO, if the device has not changed.
Notes/Warnings
If device has changed, all volumes open on the device must be refreshed and all files closed and reopened.
A device status change may be caused by
A device was connected, but no longer is.
A device was not connected, but now is.
A different device is connected.