diff options
author | nijtmans <nijtmans> | 2010-09-13 14:20:38 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-09-13 14:20:38 (GMT) |
commit | 977fd8496d174524a12ac1d1bda9ef02b2194503 (patch) | |
tree | 03d8642b19420af74dc2a6df0008c01cb554ad79 /win/tclWinSerial.c | |
parent | 4b90c100d6369a76746f961863759d9c26d4c3eb (diff) | |
download | tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.zip tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.tar.gz tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.tar.bz2 |
Various clean-ups, converting from tclWinProc->xxxProc directly to Xxx
(no change in functionality)
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r-- | win/tclWinSerial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c index 34bbf9c..2f8cbd9 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -11,7 +11,7 @@ * * Serial functionality implemented by Rolf.Schroedter@dlr.de * - * RCS: @(#) $Id: tclWinSerial.c,v 1.43 2010/05/11 14:47:12 nijtmans Exp $ + * RCS: @(#) $Id: tclWinSerial.c,v 1.44 2010/09/13 14:20:38 nijtmans Exp $ */ #include "tclWinInt.h" @@ -1448,7 +1448,7 @@ TclWinSerialReopen( if (CloseHandle(handle) == FALSE) { return INVALID_HANDLE_VALUE; } - handle = tclWinProcs->createFileProc(name, access, 0, 0, OPEN_EXISTING, + handle = CreateFile(name, access, 0, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0); return handle; } @@ -1682,8 +1682,8 @@ SerialSetOptionProc( } return TCL_ERROR; } - native = tclWinProcs->utf2tchar(value, -1, &ds); - result = tclWinProcs->buildCommDCBProc(native, &dcb); + native = Tcl_WinUtfToTChar(value, -1, &ds); + result = BuildCommDCB(native, &dcb); Tcl_DStringFree(&ds); if (result == FALSE) { |