SHChangeNotifyEntry changeentry = new SHChangeNotifyEntry();
changeentry.pIdl = GetPidlFromFolderID(this.Handle, CSIDL.CSIDL_DESKTOP);
changeentry.Recursively = true;
uint notifyid = SHChangeNotifyRegister(
this.Handle,
SHCNF.SHCNF_PATHA ,
SHCNE.SHCNE_ALLEVENTS,
WM_SHNOTIFY,
1,
ref changeentry);
my code is getting crashed at SHChangeNotifyRegister.. i am trying to register a form for file change notification in windows mobile.. i think i am passing incorrect parameters to SHChangeNotifyRegister.. please help me if u know..