userlibandfileserver/fileserver/sfile/sf_local.cpp
changeset 299 b5a01337d018
parent 176 af6ec97d9189
--- a/userlibandfileserver/fileserver/sfile/sf_local.cpp	Tue Oct 26 12:49:20 2010 +0100
+++ b/userlibandfileserver/fileserver/sfile/sf_local.cpp	Mon Nov 01 20:11:36 2010 +0000
@@ -500,11 +500,14 @@
 #ifdef SYMBIAN_F32_ENHANCED_CHANGE_NOTIFICATION	
 		if(FsNotificationManager::IsInitialised())
 			{
+		    CFsNotificationInfo* notificationInfo = CFsNotificationInfo::Allocate(EFsDismountFileSystem,aDrive);
 			__PRINT3(_L("LocalDrives::CompleteDriveNotifications() Initialised=%d, Count=%d, Drive=%d"),FsNotificationManager::IsInitialised(),FsNotificationManager::Count(), aDrive);
 			TBuf<2> driveDes;
 			driveDes.Append((TChar)aDrive+(TChar)'A');
 			driveDes.Append((TChar)':');
-			FsNotificationManager::HandleChange(NULL,driveDes,TFsNotification::EMediaChange);
+			notificationInfo->SetSourceName(driveDes);
+			FsNotificationManager::HandleChange(*notificationInfo);
+			CFsNotificationInfo::Free(notificationInfo);
 			}
 #endif //SYMBIAN_F32_ENHANCED_CHANGE_NOTIFICATION