summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2005-11-03 11:53:59 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2005-11-03 11:53:59 (GMT)
commit70b0f37994c80b2ecf30178e140a144d45afcb8b (patch)
treecbda3650576addc11f3653bb42bdef4e139abdc9 /win/tclWinInt.h
parent239e8679aa5bc2c3e8db30277a67a2df86fc893a (diff)
downloadtcl-70b0f37994c80b2ecf30178e140a144d45afcb8b.zip
tcl-70b0f37994c80b2ecf30178e140a144d45afcb8b.tar.gz
tcl-70b0f37994c80b2ecf30178e140a144d45afcb8b.tar.bz2
* win/tclWin32Dll.c: Backported Anton Kovalenko's patch #1256872
* win/tclWinConsole.c: to give unicode console support on * win/tclWinInt.h: suitable systems (eg: NT/XP)
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r--win/tclWinInt.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index 7ff2775..5cefc9d 100644
--- a/win/tclWinInt.h
+++ b/win/tclWinInt.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinInt.h,v 1.20.2.3 2004/05/03 18:01:37 kennykb Exp $
+ * RCS: @(#) $Id: tclWinInt.h,v 1.20.2.4 2005/11/03 11:53:59 patthoyts Exp $
*/
#ifndef _TCLWININT
@@ -111,6 +111,20 @@ typedef struct TclWinProcs {
LPVOID, UINT,
LPVOID, DWORD);
BOOL (WINAPI *getVolumeNameForVMPProc)(CONST TCHAR*, TCHAR*, DWORD);
+
+ /*
+ * Unicode console support. WriteConsole and ReadConsole
+ */
+ BOOL (WINAPI *readConsoleProc)(HANDLE hConsoleInput,
+ LPVOID lpBuffer,
+ DWORD nNumberOfCharsToRead,
+ LPDWORD lpNumberOfCharsRead,
+ LPVOID lpReserved);
+ BOOL (WINAPI *writeConsoleProc)(HANDLE hConsoleOutput,
+ const VOID* lpBuffer,
+ DWORD nNumberOfCharsToWrite,
+ LPDWORD lpNumberOfCharsWritten,
+ LPVOID lpReserved);
} TclWinProcs;
EXTERN TclWinProcs *tclWinProcs;