Monitor File System on pocket pc

  • Thread starter Thread starter Shiva
  • Start date Start date
S

Shiva

I want to monitor the filesystem on my pocket pc.
Can i run a background process which monitor the file system or is
there some other way.

Thanks,
Shiva
 
For Windows Mobile you can use the SHChangeNotifyRegister API method, this
isn't supported on generic CE devices. Once registered this sends messages
to a window handle of your choice for the specific changes you have
registered for. For managed code the OpenNETCF SDF has a wrapper class
around this - FileSystemWatcher.

Peter
 
On Windows CE 4.0 and higher, you can use FindFirstChangeNotification. No
Windows Mobile required!

--
Michael Salamone [eMVP]
Entrek Software, Inc.
www.entrek.com
 
Back
Top