summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-10-22 13:30:42 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-10-22 13:30:42 +0000
commit3e97726f98fae9a1acdc4dd26f837782047397bb (patch)
tree8b62da09dd6cadc3cfb977fc3a68499b916f30a6 /winsup/cygwin/autoload.cc
parentdf54adb746cf0f3cb92b38abc030db5d52465f51 (diff)
downloadcygnal-3e97726f98fae9a1acdc4dd26f837782047397bb.tar.gz
cygnal-3e97726f98fae9a1acdc4dd26f837782047397bb.tar.bz2
cygnal-3e97726f98fae9a1acdc4dd26f837782047397bb.zip
* autoload.cc (GetSystemWindowsDirectoryW): Define.
* kernel32.cc (GetWindowsDirectoryW): Implement to abstract from running under Terminal Services or not. (GetWindowsDirectoryA): Ditto.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index f1a4abd0c..c86deb991 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -411,6 +411,7 @@ LoadDLLfuncEx (FindFirstVolumeA, 8, kernel32, 1)
LoadDLLfuncEx (FindNextVolumeA, 12, kernel32, 1)
LoadDLLfuncEx (FindVolumeClose, 4, kernel32, 1)
LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1)
+LoadDLLfuncEx (GetSystemWindowsDirectoryW, 8, kernel32, 1)
LoadDLLfuncEx (GetVolumeNameForVolumeMountPointA, 12, kernel32, 1)
LoadDLLfunc (SHGetDesktopFolder, 4, shell32)