diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-16 15:32:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-16 15:32:20 (GMT) |
commit | ee2c8b324fa577fbacf55ec66e2f51d8eec04ef0 (patch) | |
tree | f96e1b8929174ca857914cdf986f0a9123c911c4 /win/tclWinInit.c | |
parent | 7795886d4958ae36fecb7eeaf2514ce1dcf960dd (diff) | |
download | tcl-ee2c8b324fa577fbacf55ec66e2f51d8eec04ef0.zip tcl-ee2c8b324fa577fbacf55ec66e2f51d8eec04ef0.tar.gz tcl-ee2c8b324fa577fbacf55ec66e2f51d8eec04ef0.tar.bz2 |
TIP #592 implementation: Stop support for Windows XP, Server 2003, Vista, Server 2008
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r-- | win/tclWinInit.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index a7fb8d0..fe58b4c 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.c @@ -78,11 +78,6 @@ typedef struct { /* - * Windows version dependend functions - */ -TclWinProcs tclWinProcs; - -/* * The following arrays contain the human readable strings for the * processor values. */ @@ -131,7 +126,6 @@ TclpInitPlatform(void) { WSADATA wsaData; WORD wVersionRequested = MAKEWORD(2, 2); - HMODULE handle; tclPlatform = TCL_PLATFORM_WINDOWS; @@ -150,17 +144,6 @@ TclpInitPlatform(void) TclWinInit(GetModuleHandleW(NULL)); #endif - - /* - * Fill available functions depending on windows version - */ - handle = GetModuleHandleW(L"KERNEL32"); - tclWinProcs.cancelSynchronousIo = - (BOOL (WINAPI *)(HANDLE))(void *)GetProcAddress(handle, - "CancelSynchronousIo"); - tclWinProcs.createSymbolicLink = - (BOOLEAN (WINAPI *)(LPCWSTR, LPCWSTR, DWORD))(void *)GetProcAddress(handle, - "CreateSymbolicLinkW"); } /* |