Update contrib.
4 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
5 // All rights reserved.
6 // This component and the accompanying materials are made available
7 // under the terms of "Eclipse Public License v1.0"
8 // which accompanies this distribution, and is available
9 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
11 // Initial Contributors:
12 // Nokia Corporation - initial contribution.
17 // EPOC Client interface for accessing Win32 stdin/stdout/stderr
32 class RWin32Stream : public RSessionBase
35 IMPORT_C static void StartServer();
36 IMPORT_C TInt Open(TInt aStream);
37 IMPORT_C void Read(TRequestStatus& aStatus, TDes8& aDes);
38 IMPORT_C void Read(TRequestStatus& aStatus, TDes8& aDes, TInt aLength);
39 IMPORT_C void Write(TRequestStatus& aStatus, const TDesC8& aDes);
40 IMPORT_C void Write(TRequestStatus& aStatus, const TDesC8& aDes, TInt aLength);
41 IMPORT_C void Flush(TRequestStatus& aStatus);
43 TInt CheckEOF(TRequestStatus& aStatus);