Update contrib.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\misc\d_ipccpy.h
18 #if !defined(__D_IPCCPY_H__)
19 #define __D_IPCCPY_H__
21 #ifndef __KERNEL_MODE__
25 _LIT(KIpcCpyLddName,"IpcCpy");
33 class RIpcCpy : public RBusLogicalChannel
51 EControlHardwareChunks
54 #ifndef __KERNEL_MODE__
56 { return DoCreate(KIpcCpyLddName(),TVersion(0,1,1),KNullUnit,NULL,NULL); }
57 inline void IpcCpy(TRequestStatus& aStatus, TDes8& aDest)
58 { DoRequest(ERequestIpcCpy, aStatus, (TAny*)&aDest); }
59 inline void BigRead(TAny* aDest, TInt aSize)
60 { DoControl(EControlBigRead, aDest, (TAny*)aSize); }
61 inline void BigWrite(const TAny* aSrc, TInt aSize)
62 { DoControl(EControlBigWrite, (TAny*)aSrc, (TAny*)aSize); }
63 inline TInt HardwareChunks(TLinAddr* aAddrs,TPtr8& aUserDes)
64 { return DoControl(EControlHardwareChunks,aAddrs,&aUserDes); }