|
FX_MEDIA my_media;
UINT status;
FX_LOCAL_PATH my_previous_local_path;
/* Set the local path to \abc\def\ghi. */
status = fx_directory_local_path_set (&my_media,&local_path,"\\abc\\def\\ghi");
/* If status equals FX_SUCCESS, the default directory for this thread
is \abc\def\ghi. All subsequent file operations that do not explicitly
specify a path will default to this directory. Note that the character
"\" serves as an escape character in a string. To represent the
character "\", use the construct "\\".*/
我的疑问是 为什么线程内用这种方式切换目录之后 使用entry_find 这俩接口遍历文件列表不成功呢?应该怎么理解这个函数,是线程内切换默认路径的函数么?
|
|