void GetImei(TDes& aImei)
{
#ifndef __WINS__ //This only works on target machine
TPlpVariantMachineId imei;
PlpVariant::GetMachineIdL(imei);
aImei.Copy(imei);
#else //Return a fake IMEI when working onemulator
_LIT(KEmulatorImei, "000000000000000");
aImei.Copy(KEmulatorImei);
#endif
}
{
#ifndef __WINS__ //This only works on target machine
TPlpVariantMachineId imei;
PlpVariant::GetMachineIdL(imei);
aImei.Copy(imei);
#else //Return a fake IMEI when working onemulator
_LIT(KEmulatorImei, "000000000000000");
aImei.Copy(KEmulatorImei);
#endif
}