Serial Framework C++ Edition

◆ ChangeDir()

int ChangeDir ( const tstring &  Name)

Changes current directory to the child directory.

Parameters
NameThe child directory name. Use ".." to go one level up. Use empty name to go to the root directory.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

When operation completed the OnChangeDirComplete event fires.