summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2009-07-01 14:05:19 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2009-07-01 14:05:19 (GMT)
commit32696239facf495e5bcf0d662143edb3009aef9e (patch)
treec20dca5e50b580b0e63ba33977a4558339a631bc /win/tclWinInt.h
parent3234624adfe748f3d9e906e52cd9935faa1a913a (diff)
downloadtcl-32696239facf495e5bcf0d662143edb3009aef9e.zip
tcl-32696239facf495e5bcf0d662143edb3009aef9e.tar.gz
tcl-32696239facf495e5bcf0d662143edb3009aef9e.tar.bz2
Handle the GetUserName API call appropriately for wide/narrow versions. [Bug 2806622]
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r--win/tclWinInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index 40aa67c..f8471d8 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.29 2005/11/03 01:16:07 patthoyts Exp $
+ * RCS: @(#) $Id: tclWinInt.h,v 1.29.10.1 2009/07/01 14:05:19 patthoyts Exp $
*/
#ifndef _TCLWININT
@@ -144,6 +144,7 @@ typedef struct TclWinProcs {
LPDWORD lpNumberOfCharsWritten,
LPVOID lpReserved
);
+ BOOL (WINAPI *getUserName)(LPTSTR lpBuffer, LPDWORD lpnSize);
} TclWinProcs;
MODULE_SCOPE TclWinProcs *tclWinProcs;