Subject: Patch to Win32 API Headers
From: Craig Lanning <[email-masked]>
To: [email-masked]
Cc: [email-masked], [email-masked]
Date: Tue, 18 Jan 2000 23:59:59 -0500

Below is a patch to the Win32 headers.

Craig Lanning

diff -up include-orig/commctrl.h include/commctrl.h
--- include-orig/commctrl.h	Fri Jan 14 00:37:52 2000
+++ include/commctrl.h	Tue Jan 18 21:32:20 2000
@@ -748,6 +748,11 @@ extern "C" {
 #define TCS_OWNERDRAWFIXED	0x2000
 #define TCS_TOOLTIPS	0x4000
 #define TCS_FOCUSNEVER	0x8000
+#if (_WIN32_IE >= 0x0300)
+#define TCS_BOTTOM 2
+#define TCS_RIGHT 2
+#define TCS_VERTICAL 128
+#endif
 #define TCIF_TEXT	1
 #define TCIF_IMAGE	2
 #define TCIF_RTLREADING	4

diff -up include-orig/shellapi.h include/shellapi.h
--- include-orig/shellapi.h	Fri Jan 14 00:38:20 2000
+++ include/shellapi.h	Tue Jan 18 21:53:50 2000
@@ -227,6 +227,7 @@ typedef SHFILEINFOW SHFILEINFO;
 #define ShellExecute ShellExecuteW
 #define ShellExecuteEx ShellExecuteExW
 #define SHFileOperation SHFileOperationW
+#define SHGetFileInfo SHGetFileInfoW
 #else
 typedef NOTIFYICONDATAA NOTIFYICONDATA,*PNOTIFYICONDATA;
 typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO;
@@ -242,6 +243,7 @@ typedef SHFILEINFOA SHFILEINFO;
 #define ShellExecute ShellExecuteA
 #define ShellExecuteEx ShellExecuteExA
 #define SHFileOperation SHFileOperationA
+#define SHGetFileInfo SHGetFileInfoA
 #endif
 #ifdef __cplusplus
 }

diff -up include-orig/winnls.h include/winnls.h
--- include-orig/winnls.h	Fri Jan 14 00:38:26 2000
+++ include/winnls.h	Tue Jan 18 21:51:50 2000
@@ -396,6 +396,7 @@ BOOL WINAPI IsValidCodePage(UINT);
 int WINAPI LCMapStringA(LCID,DWORD,LPCSTR,int,LPSTR,int);
 int WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,int,LPWSTR,int);
 int WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,int,LPWSTR,int);
+BOOL WINAPI IsValidLocale(LCID,DWORD);
 BOOL WINAPI SetLocaleInfoA(LCID,LCTYPE,LPCSTR);
 BOOL WINAPI SetLocaleInfoW(LCID,LCTYPE,LPCWSTR);
 BOOL WINAPI SetThreadLocale(LCID);

--
Want to unsubscribe from this list?
Send a message to [email-masked]