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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
8 // which accompanies this distribution, and is available
9 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
11 // Initial Contributors:
12 // Nokia Corporation - initial contribution.
17 // EPOC Client interface for accessing Win32 stdin/stdout/stderr
34 class RWin32Stream : public RSessionBase
37 IMPORT_C static void StartServer();
38 IMPORT_C TInt Open(TInt aStream);
39 IMPORT_C void Read(TRequestStatus& aStatus, TDes8& aDes);
40 IMPORT_C void Read(TRequestStatus& aStatus, TDes8& aDes, TInt aLength);
41 IMPORT_C void Write(TRequestStatus& aStatus, const TDesC8& aDes);
42 IMPORT_C void Write(TRequestStatus& aStatus, const TDesC8& aDes, TInt aLength);
43 IMPORT_C void Flush(TRequestStatus& aStatus);
45 TInt CheckEOF(TRequestStatus& aStatus);