summaryrefslogtreecommitdiff
path: root/sal/inc/systools
diff options
context:
space:
mode:
authorHennes Rohling <hro@openoffice.org>2001-06-26 15:46:20 +0000
committerHennes Rohling <hro@openoffice.org>2001-06-26 15:46:20 +0000
commit031447a33668b14e8a38f62f0b7d2f5911985987 (patch)
tree543e8e2bd79c5ed25e70b3df1c83c30a5808b60b /sal/inc/systools
parent1979233dd832cb845edf67d90e553e9d0255e4ab (diff)
#88197# Provide UNICODE wrapper for GetDriveTypeW
Diffstat (limited to 'sal/inc/systools')
-rw-r--r--sal/inc/systools/win32/kernel9x.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sal/inc/systools/win32/kernel9x.h b/sal/inc/systools/win32/kernel9x.h
index 5d2fad2024c1..0a2ad2af1bcb 100644
--- a/sal/inc/systools/win32/kernel9x.h
+++ b/sal/inc/systools/win32/kernel9x.h
@@ -2,9 +2,9 @@
*
* $RCSfile: kernel9x.h,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obr $ $Date: 2001-06-07 09:20:42 $
+ * last change: $Author: hro $ $Date: 2001-06-26 16:46:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -150,6 +150,10 @@ extern "C" {
#undef GetEnvironmentVariableW
#endif
+#ifdef GetDriveTypeW
+#undef GetDriveTypeW
+#endif
+
//------------------------------------------------------------------------
// set the compiler directives for the function pointer we declare below
// if we build sal or sal will be used as static library we define extern
@@ -309,6 +313,10 @@ KERNEL9X_API DWORD ( WINAPI * lpfnGetEnvironmentVariableW )(
);
+KERNEL9X_API UINT ( WINAPI * lpfnGetDriveTypeW )(
+ LPCWSTR lpRootPathName // root directory
+);
+
//------------------------------------------------------------------------
// redefine the above undefined macros so that the preprocessor replaces
// all occurrences of this macros with our function pointer
@@ -335,6 +343,7 @@ KERNEL9X_API DWORD ( WINAPI * lpfnGetEnvironmentVariableW )(
#define CreateProcessW lpfnCreateProcessW
#define CreateProcessAsUserW lpfnCreateProcessAsUserW
#define GetEnvironmentVariableW lpfnGetEnvironmentVariableW
+#define GetDriveTypeW lpfnGetDriveTypeW
#ifdef __cplusplus
}