summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2009-07-01 14:38:05 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2009-07-01 14:38:05 (GMT)
commit910e24fb04f5006fb5f14730497c27c89c1d83fb (patch)
treea9abcd3ce1092bfcf43664342b0cb6085a703ff1 /win/tclWinInt.h
parent0df2c997699d7473522308e26a99742d375548d2 (diff)
downloadtcl-910e24fb04f5006fb5f14730497c27c89c1d83fb.zip
tcl-910e24fb04f5006fb5f14730497c27c89c1d83fb.tar.gz
tcl-910e24fb04f5006fb5f14730497c27c89c1d83fb.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 0843bf1..546cf17 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.30 2008/05/02 10:27:08 dkf Exp $
+ * RCS: @(#) $Id: tclWinInt.h,v 1.31 2009/07/01 14:38:08 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;