Update contrib.
1 // Copyright (c) 1996-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 // File Name: f32test/fileshare/handshareint64bit.cpp
15 // Implementation of client side interface to 64bit file
16 // handle server used by t_file64bit.cpp
21 #include "handshare64bit.h"
23 _LIT(KServerName, "FHServer64Bit");
27 TInt RFileHandleSharer64Bit::Connect()
29 return CreateSession(KServerName, TVersion(1,0,0));
32 TInt RFileHandleSharer64Bit::SetTestDrive(TInt aDrive)
34 return SendReceive(EMsgDrive, TIpcArgs(aDrive));
36 TInt RFileHandleSharer64Bit::GetFileHandleLargeFile2(TInt &aHandle, TFileMode aFileMode)
39 TInt fsh = SendReceive(EMsgGetFileHandleLargeFile,TIpcArgs(&fh, aFileMode));
44 TInt RFileHandleSharer64Bit::PassFileHandleProcessLargeFileClient(TIpcArgs& aIpcArgs)
46 return SendReceive(EMsgPassFileHandleProcessLargeFileClient,aIpcArgs);
50 TInt RFileHandleSharer64Bit::PassFileHandleProcessLargeFileCreator()
52 return (EMsgPassFileHandleProcessLargeFileCreator);
55 TInt RFileHandleSharer64Bit::Exit()
57 return SendReceive(EMsgExit, TIpcArgs(NULL));
60 void RFileHandleSharer64Bit::Sync()
62 SendReceive(EMsgSync, TIpcArgs());