upnpavcontrolpoint/avcpengineclient/src/upnpavcpenginemsclient.cpp
changeset 32 3785f754ee62
parent 0 7f85d04be362
equal deleted inserted replaced
27:03808033c9a2 32:3785f754ee62
    48         TPtr8 result(reinterpret_cast<TUint8*>(devices), sizeof(TAVDevice)*size, sizeof(TAVDevice)*size);
    48         TPtr8 result(reinterpret_cast<TUint8*>(devices), sizeof(TAVDevice)*size, sizeof(TAVDevice)*size);
    49         SendReceive(EDownloadDeviceList,TIpcArgs(id, &result));
    49         SendReceive(EDownloadDeviceList,TIpcArgs(id, &result));
    50 
    50 
    51         for (TInt i = 0; i < size; i++) 
    51         for (TInt i = 0; i < size; i++) 
    52         	{
    52         	{
    53            	aDeviceList.Append(devices[i]);
    53            	aDeviceList.AppendL(devices[i]);
    54         	}
    54         	}
    55         delete[] devices;
    55         delete[] devices;
    56     	}
    56     	}
    57     return size;
    57     return size;
    58 	}
    58 	}