I'd like to copy all files in a directory from my windows mobile device to PC. There's no API for that. Also there is no API to list all files in a directory of embedded device.
I think I can list all files in a directory via (RAPI) CeFindFirstFile and CeFindNextFile functions. 
Could you help me how I can? By the way I should do it in C#
 
                        
You are correct that it's a call to
CeFindFirstFilefollowed byCeFindNextFileuntil it returns nothing. For a working C# example, this Codeplex project wraps those calls in theRAPI.EnumFiles()method.