summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2005-11-03 01:16:07 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2005-11-03 01:16:07 (GMT)
commit169a78358af41a6e77a814a0a73f663542c51a6f (patch)
treef66ff8975eeb927aaabd8d0c8e7a6bf2ea2285c2 /win/tclWinInt.h
parent2ac3a08a98a293de62ed6ae01aa7a7d139660207 (diff)
downloadtcl-169a78358af41a6e77a814a0a73f663542c51a6f.zip
tcl-169a78358af41a6e77a814a0a73f663542c51a6f.tar.gz
tcl-169a78358af41a6e77a814a0a73f663542c51a6f.tar.bz2
* win/tclWin32Dll.c: Applied patch #1256872 to provide unicode
* win/tclWinConsole.c: support in the console on suitable systems. * win/tclWinInt.h: Patch by Anton Kovalenko
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r--win/tclWinInt.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index d7f4a70..40aa67c 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.28 2004/11/03 00:26:59 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinInt.h,v 1.29 2005/11/03 01:16:07 patthoyts Exp $
*/
#ifndef _TCLWININT
@@ -127,6 +127,23 @@ typedef struct TclWinProcs {
LPDWORD PrivilegeSetLength,
LPDWORD GrantedAccess,
LPBOOL AccessStatus);
+ /*
+ * 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;
MODULE_SCOPE TclWinProcs *tclWinProcs;